WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Check if an Alt is deleted or not (https://www.wowinterface.com/forums/showthread.php?t=52861)

syncrow 11-04-15 11:07 PM

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.

semlar 11-05-15 12:16 AM

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.

syncrow 11-05-15 12:27 AM

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)

semlar 11-05-15 12:31 AM

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.


All times are GMT -6. The time now is 02:42 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI