Thread Tools Display Modes
05/28/18, 08:46 AM   #1
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
[fixed] PlayerProgressBar error

I got this after a battle to destroy a mage & a pearl (name escapes me at the moment) in Tor-Hame-Khard.

EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:807: operator < is not supported for number < nil
stack traceback:
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:807: in function 'PlayerProgressBar:AnimateFillIncrease'
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:799: in function 'PlayerProgressBar:OnWaitBeforeFillComplete'
EsoUI/Ingame/PlayerProgressBar/PlayerProgressBar.lua:395: in function 'func'
EsoUI/Libraries/Globals/globalapi.lua:195: in function '(anonymous)'
 
05/28/18, 09:21 AM   #2
Kyoma
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 125
Chip! Fix ur addon!!
 
05/29/18, 08:24 AM   #3
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
This bug has been known for a year, but we've never had a repro. We keep adding logging to track it down but no luck so far. A repro would be very helpful.
 
05/29/18, 11:35 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,566
I'm pretty sure it is a timing issue where ClearIncreaseData is called right before AnimateFillIncrease. In general it looks like the progress bar class is very fragile to calls happening in an unexpected order. For example when I call PLAYER_PROGRESS_BAR:Hide() manually before ShowIncrease(), it will throw nil errors.

Maybe just add one of your internalasserts in front of the while loop and change the condition to also check if finalStop is nil, in order to avoid an error from popping up?
 
05/30/18, 07:55 AM   #5
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
Yeah, it's easy to reproduce manually, it's hard to find a case in the actual logic that would cause that though.
 

ESOUI » Developer Discussions » Bug Reports » [fixed] PlayerProgressBar error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off