IS ACR
From LFS Manual
Jump to navigationJump to searchIntroduction
The Admin Command Report packet is sent by LFS when a player types a command that is reserved for server admins.
| Type | Name | Description |
|---|---|---|
| byte | Size | 12, 16, 20... 72 depending on Text |
| byte | Type | ISP_ACR |
| byte | ReqI | 0 |
| byte | Zero | |
| byte | UCID | connection's unique id (0 = host) |
| byte | Admin | set if user is an admin |
| byte | Result | 1 - processed / 2 - rejected / 3 - unknown command |
| byte | Sp3 | |
| char | Text[64] | 4, 8, 12... 64 characters - last byte is zero |
Packet Details
Size
The size of the packet varies from 12 to 72 bytes, depending on Text.
Type
The packet type from the ISP_ enumeration, always ISP_ACR.
ReqI
ReqI is always equal to zero.
UCID
The player's unique connection ID (0 is the host).
Admin
Whether the player is a server admin (1) or not (0).
Result
How the command was processed:
- 1: processed
- 2: rejected
- 3: unknown command
Text
The text sent by the player.