What is the difference between "Clientid" and "Entityid"?

Discussion in 'Empyrion API' started by Kenny_66, Apr 7, 2019.

  1. Kenny_66

    Kenny_66 Lieutenant

    Joined:
    May 3, 2018
    Messages:
    19
    Likes Received:
    0
    When receiving the IdList from Event_Player_List we receive a List<> of class Id.

    When receiving PlayerInfo from Event_Player_Info we receive an int clientid and an int entityid.

    I know Entityid is the player's model id in the game and is persistent between logins, but will obviously change after a wipe. What is the Clientid? Is it used for anything relevant to what I would be doing in a mod?

    Thanks.
     
    #1
    Last edited: Apr 7, 2019
  2. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    ClientID is used for
    Request_ConsoleCommand > Remoteex

    Like if you want to plot coordinates on a player's map you do
    Request_ConsoleCommand > Remoteex > Marker
    Request_ConsoleCommand is an API call
    Remoteex is a telnet command
    Marker is an in-game console command
     
    #2
  3. Kenny_66

    Kenny_66 Lieutenant

    Joined:
    May 3, 2018
    Messages:
    19
    Likes Received:
    0
    Ok, so internal to the game the clientid is just their position in the currently logged in list.

    Thanks.
     
    #3

Share This Page