Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Player_GetName(<iPlayerIndex>)

Description
Returns the name of the player in wide string (userdata??) format.
Note: this appears to be unusable for anything except ATI_AddWString().

Example

Arguments
<iPlayerIndex>: the index number of the player.

Scope


Related Pages:
 Comments [Hide comments/form]
Could you explain the differences between the two formats and cite an example?
-- MiKail (2004-03-26 00:49:49)
Look up "unicode" and "wide string" on the web..:)..to be honest, i don't fully understand the format myself.
-- 206.186.13.152 (2004-03-26 02:59:07)
Unicode uses two bytes to store a single character, instead of just one.

The standard for unicode characters can be found at the Unicode website.
-- ThoughtProcess (2004-03-29 01:16:58)
So do you think it's possible to decrypt these names and find the actual name, with the unicode reference? I'm still not sure what the userdata format means either..isn't it a pointer that contains the location of the actual (wide-string) variable? Wouldn't we have to retireve the variable first, before attempting to decrypt it? Just curious..i'm a total newb to all this.
-- TamerLane (2004-03-29 16:56:06)
Just use tostring(Player_GetName(i))
-- ThoughtProcess (2004-03-29 21:34:39)
So "userdata(8): 04C23638" is the unicode format for the player name? Or is it the memory location where the actual variable is stored?
-- TamerLane (2004-03-30 03:26:03)
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty