question for you on your combat log code...
local _, _, sourceGUID, sourceName, _, destGUID, destName, _ = select(1, ...)
lets say you're from Vekil'nash grouped with 4 other people.... one of whom is a guildie of yours called "Dogbreath" and another one is from another realm... "Catbreath" from Frostmourne
clearly each will have their own GUID... clearly a massive fluke if they happen to be the same one
but my question is: destName and sourceName... what format are they in?
"Dogbreath" & "Catbreath-Frostmourne"?
or "Dogbreath" & "Catbreath"?
or "Dogbreath-Vekil'nash" & "Catbreath-Frostmourne"?
while we're discussing GUIDs... I see that you can pull GUIDs out of combat logs... and from the code posted it looks like the 12th argument of chat events seem to be GUIDs too (although I can't find it mentioned in documentation... is this new?)
Anyway Q1: if I have a Guid can I look up a player?
Practical example... I have a friend called "John" with a GUID (partial) of 1234567
I would like to check when I log in if name(GUID(1234567)) == "John" and if not then it looks like John has had a namechange. (witness protection?)
I don't mind if it's only run on online characters
Q2: if I have a player can I look up a Guid without waiting for a chat event or combatlog event?