-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frequent Error :( #27
Comments
Thanks for the report, a fix was submitted in #26 and v2.31.5 has been pushed containing it. It should be available at your AddOn site of choice shortly! |
I'll close this now since the issue seems solved (I haven't been able to personally verify it since I can only test solo on the PTR though). If there's still issues feel free to re-open! |
it came back, only after killing or aggro'ng mobs..
Locals: |
I can't seem to be able to reproduce it when running around testing on mobs outside Orgrimmar, both if I aggro them by attacking them first, or letting them hit me first. Which version of WoW is this on (retail/wrath/classic era) and which version of the AddOn? |
Retail and v2.31.6. Yeah sometimes it triggers the error, not always. |
If you're able, can you add a line to the On line 338 in function KT:IsInGroup(unit)
if not unit then return false end
if unit == self.PlayerName or unit == self.PlayerGUID then return true end
print("DEBUG: IsInGroup - unit == " .. tostring(unit))
return IsGUIDInGroup(unit)
end And the next time you see this error can you tell me what it's written to the chat? |
Will do that as soon I get back on, am on road atm, will keep ya posted |
I was NOT able to re-produce it until I entered Dream Emerald, then killed a world boss and Superbloom, got
|
Hm, looks like it might be getting called with an empty string instead of a GUID or even To test, you can modify the function again so it looks like this: function KT:IsInGroup(unit)
if not unit or unit == "" then return false end
if unit == self.PlayerName or unit == self.PlayerGUID then return true end
print("DEBUG: IsInGroup - unit == '" .. tostring(unit) .. "'")
return IsGUIDInGroup(unit)
end And try to reproduce again. (I also added some single quotes around the tostring value, so we can see if the empty string possibly contains spaces if the added check still doesn't work.) The interesting question is why the GUIDs inside CLEU can sometimes be empty strings. |
i thought of the same thing.. i tweaked the code to this before I saw your post
so I can catch if anything that may slip thru, so far so good, will keep ya posted (edited to add quote) |
so far, with the new line, i haven't gotten error as of the late. This would be good to go! |
Nice, thanks for testing it out! I'll see to getting the change in and pushing out a new version. |
@vandiel01 v2.31.7 has now been pushed and should be up on the AddOn sites shortly! |
9x KillTrack/KillTrack.lua:337: Usage: IsGUIDInGroup(guid[, groupType])
[string "=[C]"]: in function
IsGUIDInGroup' [string "@KillTrack/KillTrack.lua"]:337: in function
IsInGroup'[string "@KillTrack/KillTrack.lua"]:228: in function
?' [string "@KillTrack/KillTrack.lua"]:116: in function
OnEvent'[string "@KillTrack/KillTrack.lua"]:737: in function <KillTrack/KillTrack.lua:737>
Locals:
(*temporary) = ""
The text was updated successfully, but these errors were encountered: