Jump to content
Sign in to follow this  
Gorstavich

ExhaustionTick code question

Recommended Posts

Evening all,

Not being a pro at this I appear to be missing something in regards to the ExhaustionTick code.  Everything I have found so far seems to play nicely in that it refers to the current width of either the MainMenuBar, MainMenuExpBar, or the MainMenuBarMaxLevelBar... but based off of the screenshot below, I guess the rested/exhausted tick system doesn't.  I'm crawling through the MainMenuBar.lua code now, but it just isn't clicking.  Might someone have banged their head on this in the past and be able to point me?

scrapUIbug.jpg

Share this post


Link to post
Share on other sites

Erm.  Urg.  What the heck even...

Went out mining and killed a feisty critter that was biting my ankle and the bar updated to what I would expect, basically fixing itself.  I am perplexed.

Going to see if I can deliberately duplicate the issue, and then see if by forcing an ExhaustionTick update in the background it resolves itself. 

Update:  Loitered in Orgrimmar for a minute and issue occurred again.  Tried calling on ExhaustionTick_Update() but nothing is happening as it's looking for an event.  Also tried ExhaustionTick_Update("UPDATE_EXHAUSTION") but I don't know if that would actually trigger it, or if it did trigger, that isn't the quick fix.

Confusion continues...

Edited by Gorstavich
Updated Information

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×