Open Lezbaby opened 4 years ago
@fiskee Message: ...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: attempt to perform arithmetic on field 'PosX' (a nil value) Time: Fri Jan 3 08:52:04 2020 Count: 477 Stack: ...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: attempt to perform arithmetic on field 'PosX' (a nil value)
...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: in function GetDistance' ...erface\AddOns\DoMeWhen-Classic\Classes\Unit\Unit.lua:42: in function
Update'
...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:117: in function <...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:105>
...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:175: in function `UpdateOM'
Interface\AddOns\DoMeWhen-Classic\Core.lua:75: in function <Interface\AddOns\DoMeWhen-Classic\Core.lua:66>
Locals:
I had similar issues, changing line 159 in ObjectManager.lua from
local _, updated, added, removed = GetObjectCount(true)
To
local _, updated, added, removed = GetObjectCount(true, "dmwc")
Worked for me. This was suggested by reliasn.
Looks like fisker pushed the change
im still getting the error @fiskee im using GMR if it matters. without it tried for 5 min not long but nothing happend.
Message: ...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: attempt to perform arithmetic on field 'PosX' (a nil value) Time: Wed Jan 1 20:56:41 2020 Count: 11365 Stack: ...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: attempt to perform arithmetic on field 'PosX' (a nil value)
...ce\AddOns\DoMeWhen-Classic\Classes\Unit\Position.lua:9: in function
GetDistance' ...erface\AddOns\DoMeWhen-Classic\Classes\Unit\Unit.lua:40: in function
Update' ...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:110: in function <...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:99> ...ace\AddOns\DoMeWhen-Classic\System\ObjectManager.lua:166: in function `UpdateOM' Interface\AddOns\DoMeWhen-Classic\Core.lua:75: in function <Interface\AddOns\DoMeWhen-Classic\Core.lua:66>Locals: