Thread Tools Display Modes
02/12/17, 05:15 AM   #1
DeanGrey
 
DeanGrey's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 22
Any existing way to find out my character id?

I'm sure there is but I am looking for hastle free. "Joviex's Addon Settings Transfer (Update)" isn't updated and since the change it now shows this...



I imagine if I choose to transfer the right character id's that I could still keep the addon working. I don't know a quick way to find out whos is whos though.
  Reply With Quote
02/12/17, 05:21 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
You can list all characters on the current account with these two functions:
Code:
* GetNumCharacters()
** _Returns:_ *integer* _numCharacters_

* GetCharacterInfo(*luaindex* _index_)
** _Returns:_ *string* _name_, *[Gender|#Gender]* _gender_, *integer* _level_, *integer* _classId_, *integer* _raceId_, *[Alliance|#Alliance]* _alliance_, *string* _id_, *integer* _uniqueCharacterId_

Last edited by Baertram : 02/15/22 at 06:04 AM.
  Reply With Quote
02/14/22, 10:21 PM   #3
Messajah
AddOn Author - Click to view addons
Join Date: Feb 2022
Posts: 11
The correct answer is GetCurrentCharacterId() which returns a string with your long character ID (the thing that's stored in all addon SavedVars databases). This thread is the top result in search engines so this info had to be added.

Code:
GetCurrentCharacterId()
If you just want to see your own ID in chat, type this:

Code:
/script d(GetCurrentCharacterId())

Last edited by Messajah : 02/15/22 at 10:41 AM.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Any existing way to find out my character id?

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