Brusalk / EventHorizon_Continued

EventHorizon_Continued for Legion+
MIT License
19 stars 15 forks source link

I found another error while building configs! #94

Open Cluuey opened 6 years ago

Cluuey commented 6 years ago

I almost forgot this one.

I was trying to find what the spellid was for a debuff as it was different from the spell, so I moved my mouse over the debuff and got an error.


EventHorizon\EventHorizon-1.9.22-beta.lua:4164: in function <EventHorizon\EventHorizon.lua:4152>
EventHorizon\EventHorizon-1.9.22-beta.lua:4199: in function <EventHorizon\EventHorizon.lua:4197>
[C]: in function `SetUnitDebuff'
[string "*:OnEnter"]:2: in function <[string "*:OnEnter"]:1>

Locals:
InCombatSkipped
Cluuey commented 6 years ago

It should be pretty easy to replicate.

The spell I was trying to track requires two bars due to the one buff/debuff per bar limitation, so I just didn't track one part of it. :-(

The spell applies a debuff, has a cooldown and if the target dies while the debuff is active the player gets a buff. We can only track one or the other, so I tracked the debuff as if you've taken the talent and you're using it you should be aware that you get a buff. It's not idea but it doesn't warrant another bar.

Cluuey commented 6 years ago

I'm still getting this with 1.9.22-beta. The first error is from the default Blizzard frame and the second from the IceHUD frame.


EventHorizon\EventHorizon-1.9.24-beta.lua:4157: in function <EventHorizon\EventHorizon.lua:4145>
EventHorizon\EventHorizon-1.9.24-beta.lua:4192: in function <EventHorizon\EventHorizon.lua:4190>
[C]: ?
[C]: in function `SetUnitDebuff'
[string "*:OnEnter"]:2: in function <[string "*:OnEnter"]:1>

Locals:
InCombatSkipped

3x EventHorizon\EventHorizon-1.9.24-beta.lua:4157: attempt to concatenate local 'id' (a boolean value)
EventHorizon\EventHorizon-1.9.24-beta.lua:4157: in function <EventHorizon\EventHorizon.lua:4145>
EventHorizon\EventHorizon-1.9.24-beta.lua:4192: in function <EventHorizon\EventHorizon.lua:4190>
[C]: ?
[C]: in function `SetUnitDebuff'
IceHUD\modules\TargetInfo.lua:1763: in function `BuffOnEnter'
IceHUD\modules\TargetInfo.lua:1264: in function <IceHUD\modules\TargetInfo.lua:1264>

Locals:
InCombatSkipped```