ForgeUI / ForgeUI

WildStar UI overhaul
http://forgeui.github.io
MIT License
33 stars 16 forks source link

NeedGreed - Error on login #163

Closed Flupperich closed 9 years ago

Flupperich commented 9 years ago

Getting this error message from time to time, most often after just logging in

...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:143: attempt to index a nil value stack trace: ...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:143: in function <...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:142>

Toludin commented 9 years ago

I guess we need to increase the PlayerNameCheckTimer counter then (line 80). It's an error when we try to grab the player's name, but that value hasn't initialized yet.

adamjedlicka commented 9 years ago

I would check if GameLib.GetPlayerUnit() is nil and if yes start the PlayerNameCheckTimer again. Doesn't need to be propper fix. In v0.5 this is solved by proper timing of ForgeUI addons loading.

BTW welcome back @Toludin :)

Toludin commented 9 years ago

:-)

Yup that would probably be a smarter way to handle the race condition.

adamjedlicka commented 9 years ago

FIxed in v0.4.6a