Quantcast Account name from Character name? - ESOUI
Thread Tools Display Modes
09/11/17, 08:03 PM   #1
Phinix
 
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 133
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?
  Reply With Quote
09/11/17, 09:29 PM   #2
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 316
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.
  Reply With Quote
09/12/17, 02:36 AM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 971
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
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
  Reply With Quote
09/12/17, 01:47 PM   #4
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 111
Originally Posted by Phinix View Post
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
__________________
Addons : TradesMan - Crafting Writ Assistant
  Reply With Quote
09/12/17, 01:50 PM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 971
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.
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
  Reply With Quote
09/12/17, 01:54 PM   #6
Argusus
AddOn Author - Click to view addons
Join Date: Sep 2014
Posts: 111
Originally Posted by Ayantir View Post
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..
__________________
Addons : TradesMan - Crafting Writ Assistant
  Reply With Quote
09/13/17, 01:11 AM   #7
Phinix
 
Phinix's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 133
Insightful stuff guys, thanks!
  Reply With Quote
09/15/17, 01:31 AM   #8
Marazota
Join Date: Sep 2015
Posts: 17
is changing online status also considering like social request?
  Reply With Quote
10/11/17, 10:19 PM   #9
Hoft
 
Hoft's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 15
"Group Loot Notifier" have function that returns @AccName from PlayerName
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Account name from Character name?

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