What steps will reproduce the problem?
1. Install AFKWarning
2. Remove the LDB Plugin from the Bazooka bar, disabling it
3. Restart the game
I then got a constant stream of errors because
AFKWarning.LDBObjText is nil, and strlen blows up. I was able to work around it by making sure that AFKWarning.Settings.profile.BrokerIcon.ShowIdleTime was off, but I am not sure that the code above reading
AFKWarning.LDBObj.text doesn't indicate the real bug -- a missing
. to refer to the LDB text itself...
It would also be ideal if the LDB code disabled itself to do no work when the LDB plugin was disabled, which also would likely have avoided this problem.
|slippycheeze||Dec 27, 2013 at 00:33 UTC||Create|