Questie comms on master
drejjmit opened this issue ยท 3 comments
Bug description
ID: 1
Error occured in: Global
Count: 1
Message: ...face\AddOns\Questie\Modules\Network\QuestieComms.lua line 264:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
...face\AddOns\Questie\Modules\Network\QuestieComms.lua:264: PopulateQuestDataPacketV2()
...face\AddOns\Questie\Modules\Network\QuestieComms.lua:453:
...face\AddOns\Questie\Modules\Network\QuestieComms.lua:451
...face\AddOns\Questie\Modules\Network\QuestieComms.lua:466:
...face\AddOns\Questie\Modules\Network\QuestieComms.lua:465
Locals:
Getting this error quite often on master.
Not getting it on release version.
Questie version
master
If I remember correctly @AeroScripts already found the issue and a solution for it. It has something to do with changing the default state of .Objectives
to be an empty table instead of nil
.
Looking at the code that wouldn't fix it right?
The code is basically looking for the ID related to the questIndex (say for example a mobId for a slayquest)
If it's an empty table it would either still get the nil issue or be an empty value which would create a desync potential.
The table has to be populated before the message is sent which is isn't currently, or am i wrong?
It's been fixed with TBC fixes. @AeroScripts