GatherLite

GatherLite

1M Downloads

LUA Error when opening Chest

Aergernis opened this issue ยท 3 comments

commented

Hi,
when opening a chest i get the following LUA error:

1x GatherLite\methods.lua:143: attempt to perform arithmetic on local 'coin' (a nil value) GatherLite\methods.lua:143: in function foundNode'
GatherLite\events.lua:86: in function `OnLootOpened'
GatherLite\events.lua:140: in function <GatherLite\events.lua:130>

Locals:
x = 0.252887
y = 0.487170
mapID = 1420
loot =

{
}
coin = nil
count = 4
(for index) = 1
(for limit) = 4
(for step) = 1
i = 1
lIcon = 133789
lName = "30 Kupfer"
lQuantity = 0
lQuality = nil
locked = 0
isQuestItem = false
slotType = 2
lLink = nil
i = 1
j = 9
val = "30"
(*temporary) = 1
(*temporary) = 9
(*temporary) = "30"
(*temporary) = 1
(*temporary) = 1
(*temporary) = 9
(*temporary) = "30"
(*temporary) = "attempt to perform arithmetic on local 'coin' (a nil value)"
HBD =
{
mapData =
{
}
GetAllMapIDs = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:312
UpdateCurrentPosition = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:241
callbacks =
{
}
GetPlayerZone = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:516
transforms =
{
}
GetLocalizedMap = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:296
eventFrame = {
}
GetPlayerZonePosition = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:524
GetPlayerWorldPosition = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:504
GetZoneDistance = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:448
GetUnitWorldPosition = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:492
GetWorldCoordinatesFromZone = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:324
GetWorldDistance = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:434
GetWorldCoordinatesFromAzerothWorldMap = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:339
GetZoneSize = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:303
worldMapData =
{
}
UnregisterCallback = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
GetZoneCoordinatesFromWorld = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:356
RegisterCallback = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
TranslateZoneCoordinates = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:411
GetWorldVector = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:469
GetAzerothWorldMapCoordinatesFromWorld = defined @ClassicCodex\lib\HereBeDragons\HereBeDragons-2.0.lua:375
}
GatherLite =
{
spellIDs =
{
}
drawWorldmap = defined @GatherLite\methods.lua:286
findSpell = defined @GatherLite\methods.lua:63
updateMiniMapPosition = defined @GatherLite\settings.lua:280
tablelength = defined @GatherLite\methods.lua:20
createWorldmapNode = defined @GatherLite\methods.lua:443
debug = defined @GatherLite\methods.lua:13
tooltip = GatherLiteTooltip {
}
RegisterCallback = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
gatherSpellRanges =
{
}
nodes =
{
}
insertDatabaseNode = defined @GatherLite\methods.lua:205
hideTooltip = defined @GatherLite\GatherLite.lua:64
TimeSinceLastUpdate = 0.101000
UpdateInterval = 1
ParseSentData = defined @GatherLite\methods.lua:509
needMapUpdate = false
IsNodeInRange = defined @GatherLite\methods.lua:97
callbacks =
{
}
removeWorldmapNodes = defined @GatherLite\methods.lua:505
frames =
{
}
minimap = GatherLite_M`

commented

Thank you, ill look into this.

commented

it's with german client if it's helpfull

commented

this should be fixed now.