From 67721e658c45d744d420b750fe997025cf05564b Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Sun, 24 Sep 2023 00:30:29 -0400 Subject: [PATCH] Update Packet Commands --- Packet-Commands.md | 31 +++++++++++++++++++++++++++++++ Packet-types.md | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 Packet-Commands.md delete mode 100644 Packet-types.md diff --git a/Packet-Commands.md b/Packet-Commands.md new file mode 100644 index 0000000..fa1f502 --- /dev/null +++ b/Packet-Commands.md @@ -0,0 +1,31 @@ +| ID | S | C | Short Name | Description | +| --- | --- | --- | --- | --- | +| 0x01 | ✗ | ✗ | LONGLOC | Used for long movement and z-coordinate movement. | +| 0x02 | ? | ? | STATE | | +| 0x03 | ✗ | ✗ | PROP | Old-style property list. | +| 0x04 | ✗ | ✗ | SHORTLOC | Movement deltas, not along z-axis. | +| 0x05 | ? | ? | ROOMCHNG | Indication of user changing rooms, includes new location within room | +| 0x06 | ✗ | ✗ | SESSINIT | Used by client to log in to a server, and server to acknowledge and provider more information. Uses old-style property list | +| 0x07 | ✗ | ✗ | SESSEXIT | Used by client to log off of a server, and server to acknowledge. Uses old-style property list. | +| 0x08 | ✗ | | APPINIT | Usage unknown, does not seem to be sent by client. Modifies a state machine upon being received by client. Uses new-style property list. | +| 0x0A | | ✗ | PROPREQ | Sent on connection to request properties (e.g. server type and protocol). May include a list of properties to request, but that functionality seems to be unused. | +| 0x0B | ✗ | | DISAPPR | Indicate a Drone should disappear. | +| 0x0C | ✗ | | APPRACTR | Indicate a Drone should appear at a room (indicated with a u16), at x, y, z, dir. | +| 0x0D | ✗ | | REGOBJID | Associate a long Object ID with a short Object ID, to save bandwidth. These associations seem to be per connection. The object ID in the packet frame is not used for this, and is 0xFF (target connection). | +| 0x0E | ✗ | ✗ | TEXT | Used for chat. Includes an ObjID in the data itself, the ObjID in the packet frame is ignored. | +| 0x0F | ✗ | ✗ | PROPSET | Usually sent from client to server, although there is support for it to be sent server to client as a NOOP. This packet indicates a property change (e.g. avatar or sleep). It also can be sent for shared state, which can affect the objid it gets sent with. The packet format includes a string marked as "fromUser" but usually empty. | +| 0x10 | ✗ | | PROPUPD | Update properties on the given ObjID (with a new-style property list). | +| 0x11 | ✗ | ✗ | WHISPER | Whispering. Includes a sender ID, and uses frame's ObjID for destination. | +| 0x12 | ✗ | ✗ | TELEPORT | New position and room of user (or self). | +| 0x14 | | ✗ | ROOMIDRQ | Request numeric room ID for room name. | +| 0x15 | ✗ | | ROOMID | Associate room name with numeric room ID. | +| 0x16 | | ✗ | SUBSCRIB | Subscribe to a rooms' drone activity. | +| 0x17 | | ✗ | UNSUBSCR | Unsubscribe to a rooms' drone activity. | +| 0x18 | | ✗ | SUB-DIST | | +| 0x19 | ✗ | | REDIRECT | Redirect current RoomServer to new address. Superseded by REDIRID. | +| 0x1A | ✗ | | REDIRID | Redirect room to new ID and RoomServer | +| 0x1B | | ✗ | FINGREQ | | +| 0x1C | ✗ | | FINGREP | | +| 0x1D | | ✗ | BUDDYLISTUPDATE | Add or remove a buddy from buddy list. | +| 0x1E | ✗ | | BUDDYLISTNOTIFY | Notify if Buddy went online or offline. | +| 0x1F | | ✗ | CHANNEL | Change dimensions. | \ No newline at end of file diff --git a/Packet-types.md b/Packet-types.md deleted file mode 100644 index 4176e31..0000000 --- a/Packet-types.md +++ /dev/null @@ -1,31 +0,0 @@ -| ID | S | C | Short Name | Description | -| --- | --- | --- | --- | --- | -| 0x01 (01) | ✗ | ✗ | LONGLOC | Used for long movement and z-coordinate movement. | -| 0x02 (02) | ? | ? | STATE | | -| 0x03 (03) | ✗ | ✗ | PROP | Old-style property list. | -| 0x04 (04) | ✗ | ✗ | SHORTLOC | Movement deltas, not along z-axis. | -| 0x05 (05) | ? | ? | ROOMCHNG | Indication of user changing rooms, includes new location within room | -| 0x06 (06) | ✗ | ✗ | SESSINIT | Used by client to log in to a server, and server to acknowledge and provider more information. Uses old-style property list | -| 0x07 (07) | ✗ | ✗ | SESSEXIT | Used by client to log off of a server, and server to acknowledge. Uses old-style property list. | -| 0x08 (08) | ✗ | | APPINIT | Usage unknown, does not seem to be sent by client. Modifies a state machine upon being received by client. Uses new-style property list. | -| 0x0A (10) | | ✗ | PROPREQ | Sent on connection to request properties (e.g. server type and protocol). May include a list of properties to request, but that functionality seems to be unused. | -| 0x0B (11) | ✗ | | DISAPPR | Indicate a Drone should disappear. | -| 0x0C (12) | ✗ | | APPRACTR | Indicate a Drone should appear at a room (indicated with a u16), at x, y, z, dir. | -| 0x0D (13) | ✗ | | REGOBJID | Associate a long Object ID with a short Object ID, to save bandwidth. These associations seem to be per connection. The object ID in the packet frame is not used for this, and is 0xFF (target connection). | -| 0x0E (14) | ✗ | ✗ | TEXT | Used for chat. Includes an ObjID in the data itself, the ObjID in the packet frame is ignored. | -| 0x0F (15) | ✗ | ✗ | PROPSET | Usually sent from client to server, although there is support for it to be sent server to client as a NOOP. This packet indicates a property change (e.g. avatar or sleep). It also can be sent for shared state, which can affect the objid it gets sent with. The packet format includes a string marked as "fromUser" but usually empty. | -| 0x10 (16) | ✗ | | PROPUPD | Update properties on the given ObjID (with a new-style property list). | -| 0x11 (17) | ✗ | ✗ | WHISPER | Whispering. Includes a sender ID, and uses frame's ObjID for destination. | -| 0x12 (18) | ✗ | ✗ | TELEPORT | Sent to server for teleporting, sent from server for drones teleporting (includes entering and leaving). | -| 0x14 (20) | | ✗ | ROOMIDRQ | Request numeric room ID for room name (e.g. "GroundZero#ChatElevator\"). | -| 0x15 (21) | ✗ | | ROOMID | Associate room name with numeric room ID. | -| 0x16 (22) | | ✗ | SUBSCRIB | Subscribe to a room (with numeric room ID) at a location and a distance. | -| 0x17 (23) | | ✗ | UNSUBSCR | Unsubscribe from a room. | -| 0x18 (24) | | ✗ | SUB-DIST | Subscribe to a room at a distance? Mostly after having moved, but I'm unclear on this. It is in use, as is SUBSCRIB. | -| 0x19 (25) | ✗ | | REDIRECT | No-op. | -| 0x1A (26) | ✗ | | REDIRID | Reassign room ID<->room name mapping and point to a different RoomServer? | -| 0x1B (27) | ? | ? | FINGREQ | Unused. | -| 0x1C (28) | ? | ? | FINGREP | Unused. | -| 0x1D (29) | | ✗ | BUDDYLISTUPDATE | Add or remove a buddy from buddy list. | -| 0x1E (30) | ✗ | | BUDDYLISTNOTIFY | Buddy came online or offline. | -| 0x1F (31) | | ✗ | CHANNEL | Change channels (dimensions?). | \ No newline at end of file