Thread Tools Display Modes
11-04-15, 11:07 PM   #1
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
Check if an Alt is deleted or not

Hi, there!

Is it possible to check wether a player character exists any longer.

As far as i know:
- Creating a character generates a unique GUID which is server related.
- After deleting the character the GUID always exists.

Tryed to catch unique PlayerGUIDs and use GetPlayerInfoByGUID() but there seems to be no related information about player chars' demise.
__________________

Last edited by syncrow : 11-05-15 at 01:24 AM.
  Reply With Quote
11-05-15, 12:16 AM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
If it's for your faction you could attempt to add them as a friend and watch for a "player not found" system message.

More context as to why you want to know if the character exists might help someone come up with an alternative.
  Reply With Quote
11-05-15, 12:27 AM   #3
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
I cached broker information and don't want/have to manually delete characters in the list if they do not exists anymore (want to avoid menu option)
__________________
  Reply With Quote
11-05-15, 12:31 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
If you're just checking whether your own alts still exist then you should be able to use the friend method, you can suppress any messages so the player won't see them, but you might want to minimize how often you check.

You could also presumably use the ignore list for the same test, having the added bonus of working for the opposite faction, if someone has some need for that.

Last edited by semlar : 11-05-15 at 12:42 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Check if an Alt is deleted or not

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off