As a tester for Bayi on his BEQL quest mod, we are getting a lot of reports about a specific error. I have here reproduced the error:
Error occured in: Global
Message: ...terface\AddOns\beql\Libs\Quixote-1.0\Quixote-1.0.lua line 363:
attempt to index local 'oldgoal' (a nil value)
All of the reports list the same block of code:
Revision: $Revision: 55571 $
Author(s): Kemayo (email@example.com)
Description: Abstracts out questlog handling.
Dependencies: AceLibrary, AceEvent-2.0, AceComm-2.0 (optional), Deformat-2.0
License: LGPL v2.1
-have we changed any leaderboards?
for l, goal in pairs(quest.leaderboard) do
local oldgoal = oldquest.leaderboard[l]
if goal.numGot ~= 0 and oldgoal.description == goal.description and oldgoal.numGot ~= goal.numGot then
self:TriggerEvent("Quixote_Leaderboard_Update", name, id, l, goal.description, oldgoal.numGot, goal.numGot, goal.numNeeded, goal.type)
(sorry i do not know how to post code)
This error fires when changing zones.
If someone could please help BEQL users by explaining how this could be fixed i for one would be very grateful.
Further examples can be found http://beql.freeforums.org/viewtopic.php?t=18&start=0&postdays=0&postorder=asc&highlight=