Page tree
Skip to end of metadata
Go to start of metadata

This page conatins all BinaryPacket.Command-IDs.

Universe → Proxy

CodeNameDataDescription
First PacketLogin requestBaseAddress contains the universe id.The universe wants to take over the universe slot.
0x09Player Scores UpdateBaseAddress contains the player id. Data contains the 4 scores as 24 bit uint.The proxy has to supply every player in the universe with the score object.
0x0APlayer RemovedBaseAddress contains the player id.When this packet is sent, the player has been finally removed from the universe. The session contains the original session the Proxy → Universe packet showed.
0x80Heartbeat EventNothing.Will be broadcasted to all users.
0x88Event: New UnitUnit Dependend.Will be sent when a new unit has been created.
0x89Event: Updated UnitUnit Dependend.Will be sent when a unit is already known, but updated.
0x90Event: Deleted UnitThe Name.Will be sent when a unit has left the attention area of the player.
0xC0Event: Controllable CreateID in SubAddress. Name, Position, Movement, Direction, ScannerStatus, Energy, etc.Will be pushed, whenever a controllable cas been created.
0xC1Event: Controllable Structural UpdateID in SubAddress. Maximum Hull, Maximum this, that, etc.Will be pushed, whenever a structural (=change of maximum values) controllable update is relevant.
0xC2Event: Controllable DeletedID in SubAddress.Will be pushed, whenever a controllable das been unregistered.
0xC3Event: Controllable UpdateID in SubAddress. Position, Movement, Direction, ScannerStatus, Energy, etc.Will be pushed, whenever a status controllable update is relevant.

Proxy → Universe

CodeNameDataDescription
0x0APlayer RemovedBaseAddress contains the player id.This only stats the player part process. If the player still has ships around or anything else is preventing the player from beeing dropped the universe may keep the player instance. See 0x0A in Universe → Proxy.
0x0BNew PlayerBaseAddress contains the player id.This is the Join command which doesn't require a further Join confirmation. (Fire and forget.)
0x60Query UnitBaseAddress contains the player id, SubAddress contains the galaxy, Content contains a string naming the unit.Queries an unit in xml format.
0x61Create/Update UnitBaseAddress contains the player id, SubAddress contains the galaxy, Content contains a string specifying the xml representation.Creates or updates an unit in xml format.
0x62Delete UnitBaseAddress contains the player id, SubAddress contains the galaxy, Content contains a string naming the unit.Deletes the specified unit.
0x63Check Unit XMLBaseAddress contains the player id, content contains a string specifying the xml representation.Reformulates Unit XML.
0x84Start ViewingBaseAddress contains the player id, SubAddress contains galaxy.Starts the admin-live-view of a galaxy.
0x85Stop ViewingBaseAddress contains the player id, SubAddress contains galaxy.Stopps the admin-liev-view of a galaxy.
0x68Query RegionsBaseAddress contains the player id, SubAddress contains the galaxy,Enumerates all Regions of the universe.
0x69Update RegionBaseAddress contains the player id, SubAddress contains the galaxy. Content: See Code.Updates one region slot.
0x6ADelete RegionBaseAddress contains the player id, SubAddress contains the galaxy, Helper contains the Region-ID.Deletes one region slot.
0xB0Register ShipData contains the name.Registers a new ship.
0xB1Unregister ShipSubAddress contains the ID.De-Registers a existing ship. (await Controllable.Close)
0xB2Continue ShipSubAddress contains the ID.Respawns a ship after death or when newly registered.
0xB4Set ThrustersSubAddress contains the ID. Data contains the float to set.Adds or Removes this value from the rotation.
0xB5Set EngineSubAddress contains the ID. Data contains the float to set.Sets the Engine Value.

Universe → Proxy in case Session is Used

Whenever the Session field is used the proxy will forward the packet to the player specified in the BaseAddress field due to the given callback function. Additionally the proxy keeps track of all opened and forwarded sessions to the universe. The session will be cancelled by sending an exception to the connector, when the universe goes offline.

Additionally, when the command 0xFF is set the response counts as an exception. The same rules as from the binary player protocol apply.

UnitIDs

  • 0x08: Sun. No extra parameters.
  • No labels