damage meter issue related to Pet OwnerName and OwnerID
View Single Post
07-15-13, 02:28 PM
An Onyxian Warder
Join Date: Sep 2007
Originally Posted by
arg4, if i'm correct relates to the sourceGUID
sourceGUID is already defined, arg4 is referring to the fourth argument after "targetRaidFlag" in the parameters that the CLEU event contains. What arg4 happens to be depends on the subEvent.
The error isn't being caused by an incorrect value for flag, it's being caused by this little line inside of _RelevantPet..
edit: It's expecting guid to be a number, not a string. I don't know if this was changed at some point, but it's certainly not a number today.
Try changing it to
or tonumber(strsub(guid or '00000', 5, 5) or 0, 16) % 8 == 4
which is basically pulling the fifth character out of the guid (which identifies the unit type) and checks if it's 4 (
which identifies it as a pet
Last edited by semlar : 07-15-13 at
View Public Profile
Send a private message to semlar
Find More Posts by semlar