Available Opcodes

circle-info

We provide support for Arcusv2. Any previous versions of Arcus are no longer supported by Development.

Initialization

Opcode: 0x01

Our Agent will connect to your Arcus port and send this initialization packet. You must reply with an Acknowledged packet when everything is ok. If something is wrong, e.g. an invalid password, you must close the connection.

Schema:

{
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "initialization",
  "type": "object",
  "title": "Initialization payload Schema",
  "required": [
    "password"
  ],
  "properties": {
    "password": {
      "$id": "#/properties/password",
      "type": "string",
      "title": "Management password",
      "default": "",
      "examples": [
        ""
      ],
      "pattern": "^(.*)$"
    }
  }
}

Body example:

Acknowledged

Opcode: 0x10

Let the our Agent know that the packet has been received correctly.

Unknown Opcode

Opcode: 0x02

The requested opcode is not implemented. Informs the caller that it does not support this opcode.

Soft Stop

Opcode: 0x30

Send a request to stop itself when the round is over, or when the game server is empty, with a maximum timeout value defined in the body. It will force close after that timeout period.

Schema:

Body example:

Allocated

Opcode: 0x60

Inform the application that it has been allocated by an external source, for example a matchmaking system.

Meta Data

Opcode: 0x40

Receive new metadata directly.

Schema:

Body example:

Server Information Request

Opcode: 0x20

Request server information from the game server. Mandatory values are:

  • current players

  • max players

  • server name

  • map

  • mode

  • version.

Server Information Response Opcode: 0x21 Description: Response to the server information request packet that tells the current players, max players, server name, map, mode, version of that moment.

Schema:

Body example:

Custom Command

Opcode: 0x50

For any use case where a specific function call needs to be called we can send this request packet to let the software know that he need to perform that custom command.

opcode: this is just an identifier that you can use to identify what kind of custom command you receive and how to parse the data that has been provided. data: anything you want to pass through.

Schema:

Last updated

Was this helpful?