CandyUI

CandyUI

7.9k Downloads

Old Code found

ChargeIn opened this issue ยท 1 comments

commented

Hey,
currently trying to fix the resource bar problem and found something interesting. Still new to wildstar coding so not sure if it's rlly wrong, but i try my best ;].

so Candybar updates his class ressource with the event : (e.g. esper)
Apollo.RegisterEventHandler("VarChange_FrameCount", "OnEsperUpdateTimer", self)

Depending on this post :
https://forums.wildstar-online.com/forums/index.php?/topic/153666-drop-161-fixes-for-addons-not-updated/

The Var System was removed in the last year.

Fix: If we take a look at Zods live version of wildstar:
https://github.com/Zod-/Wildstar-Carbine-Addons/blob/master/Live/ClassResources/ClassResources.lua#L99
they use:
Apollo.RegisterEventHandler("NextFrame", "OnEsperUpdateTimer", self)

I looked up the other modules aswell :
Nameplates: line 222 same again
Unitframe: line 118 same again

CandyBar has the same Event used in line 290

commented

So is tested now if you just replace the all lines with nextFrame all resource Bar are working again ๐Ÿ‘