• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages

    Revision 13 as of 2013-07-31 02:31:13

    Clear message

    currentDateTime

    Usage:

    player.currentDateTime

    Example:

    player.currentDateTime

    Description goes here.

    currentTime

    Usage:

    player.currentTime

    Example:

    player.currentTime

    this is not actually currentTime... this is time of last login (in UNIX timestamp format), identical to following:

    playerInfo.lastLoginTime

    Usage:

    player.playerInfo.lastLoginTime

    Example:

    player.playerInfo.lastLoginTime

    time of last login in UNIX timestamp format... (note it is very nearly identical to time in player.currentTime - difference will be a few milliseconds - possibly the difference between local PC clock time and server time)

    playerInfo.createrTime

    Usage:

    player.playerInfo.createrTime

    Example:

    player.playerInfo.createrTime

    date the account was created, in UNIX timestamp format.

    playerInfo.office

    Usage:

    player.playerInfo.office

    Example:

    player.playerInfo.office

    This will return a string containing current player office/ rank eg "Civilian", "Lieutenant","Captain","Major","Colonel","General"

    playerInfo.castleCount

    Usage:

    player.playerInfo.castleCount

    Example:

    player.playerInfo.castleCount

    returns count of player's castles

    playerInfo.honor

    Usage:

    player.playerInfo.honor

    Example:

    player.playerInfo.honor

    returns player's honor points

    playerInfo.levelId

    Usage:

    player.playerInfo.levelId

    Example:

    player.playerInfo.levelId

    returns a number which represents ??? idk ask Rom.

    playerInfo.medal

    Usage:

    player.playerInfo.medal

    Example:

    player.playerInfo.medal

    returns number of cents on account

    playerInfo.sex

    Usage:

    player.playerInfo.sex

    Example:

    player.playerInfo.sex

    returns a boolean value indicating player sex. (0=Male, 1=Female)

    playerInfo.accountName

    Usage:

    player.playerInfo.accountName

    Example:

    player.playerInfo.accountName

    returns string containing login email address.

    playerInfo.faceUrl

    Usage:

    player.playerInfo.faceUrl

    Example:

    player.playerInfo.faceUrl

    returns string containing path to player avatar icon picture.

    playerInfo.id

    Usage:

    player.playerInfo.id

    Example:

    player.playerInfo.id

    returns number indicating player's internal ID on game database.

    playerInfo.allianceLevel

    Usage:

    player.playerInfo.allianceLevel

    Example:

    player.playerInfo.allianceLevel

    returns string containing player's position in alliance (or NULL if unallied) eg. "Member","Officer","Presbyter","Vice Host" or "Host".

    playerInfo.bdenyotherplayer

    Usage:

    player.playerInfo.bdenyotherplayer

    Example:

    player.playerInfo.bdenyotherplayer

    no clue what this one means.

    playerInfo.population

    Usage:

    player.playerInfo.population

    Example:

    player.playerInfo.population

    returns number which indicates player's total population for all cities.

    playerInfo.flag

    Usage:

    player.playerInfo.flag

    Example:

    player.playerInfo.flag

    returns string containing player's flag.

    playerInfo.prestige

    Usage:

    player.playerInfo.prestige

    Example:

    player.playerInfo.prestige

    returns number containing player's prestige

    playerInfo.userName

    Usage:

    player.playerInfo.userName

    Example:

    player.playerInfo.userName

    Returns string containing player's lord name.

    playerInfo.userId

    Usage:

    player.playerInfo.userId

    Example:

    player.playerInfo.userId

    returns yet another internal Id number for the player on the game server.

    playerInfo.titleId

    Usage:

    player.playerInfo.titleId

    Example:

    player.playerInfo.titleId

    returns a number from 0-9 indicating player's current title.

    example to return player's title in string format:

    titleName=["

    playerInfo.ranking

    Usage:

    m_context.Player.playerInfo.ranking

    Example:

    m_context.Player.playerInfo.ranking

    Description goes here.

    playerInfo.alliance

    Usage:

    m_context.Player.playerInfo.alliance

    Example:

    m_context.Player.playerInfo.alliance

    Description goes here.


    ScriptObjects