eCastingBar TBC

eCastingBar TBC

114k Downloads

Cast bar "fill up" not smooth

Eric-Johnston opened this issue ยท 7 comments

commented

Hey there, so when you're casting a spell and the bar is "filling up" it seems to do it in chunks, instead of it being smooth and fluid. Is this intended?

commented

From what I tested it's only the Texture/StatusBar part that aren't smooth. The Spark has no issue.

commented

I think the issue comes from timestamps being stored in seconds instead of milliseconds which causes a precision issue when given to barStatusBar min and max (probably doesn't keep the values with full precision).

I fixed it by changing the barStatusBar min and max values system to 0 to 1 (% progress) instead of timestamps (startTime to endTime) and adapting the rest to that.

commented

Is that fix already pushed? I downloaded the newest Version and also have this problem.

commented

I'm trying to contact the owner, I can't modify the files myself

commented

@Zwyk You can maybe fork it and pull a request !

commented

@dutrieux I got in contact with Zwyk, @InTrustABC Zwyk's gonna be giving a helping hand and an update should be put out soon

commented

@Zwyk's code is added to the master branch now, cast bar lag is fixed.