fiskee / DoMeWhen-Classic

GNU General Public License v3.0
31 stars 28 forks source link

no idea #15

Open Lezbaby opened 4 years ago

Lezbaby commented 4 years ago

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 functionUpdate' ...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:

Lezbaby commented 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 functionUpdate' ...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:

Jon310 commented 4 years ago

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.

CuteOne commented 4 years ago

Looks like fisker pushed the change

Lezbaby commented 4 years ago

im still getting the error @fiskee im using GMR if it matters. without it tried for 5 min not long but nothing happend.