ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Account name from Character name? (https://www.esoui.com/forums/showthread.php?t=7355)

Phinix 09/11/17 08:03 PM

Account name from Character name?
 
Am I missing a really obvious way to look up the @account name using a string containing a valid character name only?

Rhyono 09/11/17 09:29 PM

As far as I know, it isn't possible. GetUnitDisplayName('reticleover') works if you're looking at the person but I don't know of any other way.

Ayantir 09/12/17 02:36 AM

GetDisplayName() returns the current player displayname
GetUnitDisplayName() return the unit display name , current user, group member, target
GetFriendInfo() returns the friend player displayname
GetIgnoredInfo() returns the ignored player displayname
GetGuildMemberInfo() returns the guildmate player displayname

+ EVENT_CHAT_MESSAGE_CHANNEL : returns the chatter displayname

Argusus 09/12/17 01:47 PM

Quote:

Originally Posted by Phinix (Post 32595)
Am I missing a really obvious way to look up the @account name using a string containing a valid character name only?

Hey Phinix! I have a method that I use in one of my addons Tradesman to lookup an account name based on a character name. I can post the code later or you can just look at the source. Basically it involves adding a callback to ignoring a player based on their character name and retrieving the @accountid based on the event triggered and then removing them from your ignore list.. I believe it was Garkin that gave me help with that several years back.. Message me if you have any questions

Ayantir 09/12/17 01:50 PM

We can't do that for heavy usage, please avoid it.

There is only 1 social request authorized per 3 seconds for the whole game, think to others.

Argusus 09/12/17 01:54 PM

Quote:

Originally Posted by Ayantir (Post 32611)
We can't do that for heavy usage, please avoid it.

There is only 1 social request authorized per 3 seconds for the whole game, think to others.

Fair enough, I didn't think about that..

Phinix 09/13/17 01:11 AM

Insightful stuff guys, thanks! :)

Marazota 09/15/17 01:31 AM

is changing online status also considering like social request?

Hoft 10/11/17 10:19 PM

"Group Loot Notifier" have function that returns @AccName from PlayerName


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

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