xCT+ Combat Text

xCT+ Combat Text

977k Downloads

LUA errors on DK - GetRuneCooldown

cheesy-italian opened this issue ยท 2 comments

commented

Ran a dungeon on my DK and was getting spammed with error sounds. After checking BugSack, this is the LUA error that is the most prevalent:

28x xCT+/modules/combattext.lua:871: bad argument #1 to 'GetRuneCooldown' (outside of expected range 0 to 4294967295 - Usage: local startTime, duration, isRuneReady = GetRuneCooldown(runeIndex)) [string "=[C]"]: in function GetRuneCooldown'
[string "@xct+/modules/combattext.lua"]:871: in function `?'
[string "@xct+/modules/combattext.lua"]:565: in function <xCT+/modules/combattext.lua:540>

Locals:
(*temporary) = -2099757263
(*temporary) = "outside of expected range 0 to 4294967295 - Usage: local startTime, duration, isRuneReady = GetRuneCooldown(runeIndex)"`

This didn't happen last time I played the toon, which was about 3 weeks ago. Not sure if there is something else going on that might be conflicting with this but I have been using xCT+ for a little while now and this if the first time this has happened.
Wow_wgAzp1W7Nc

commented

(Hopefully) fixed on my version: https://github.com/RedAces/xCT/tree/master
Ive created a PR.

commented

Looks good, thank you @RedAces, I'll hopefully make a new version this weekend.