RECENT NEWS
📢 𝟑𝟎% Discount for all ads only this month ❄️

317 Client -> Server Packet list

Elysian Spirit Shield
power_settings_new
Seen 3 weeks ago
Mithril Warrior (26/30)
Mithril Warrior
0
0
0
26 Posts
Posts
0
Warning level
0
Likes
0
Dislikes
Joined: 2022-04-24

Hi all,

Here is a list of all client -> server packets with correct sizings and data type formats given. I tried finding an accurate list on the internet (because I'm brand new to RSPS and am pretty interested in learning more) and a lot of the lists I found gotten many things wrong or simply don't have every single packet, so I've made one myself, for reference not only for myself, but you guys too .
If I can, I'll try list the possible values at some point and maybe descriptions once I can validate them myself / get 100% confirmation from you guys.

For now, here is a list of descriptions: https://rsps.fandom.com/wiki/317_Pro...Connect_Status

If the packet is variable, all possible combinations for one instance
will be in "(data type)" and separated by "/". i.e., (BYTE, SHORT) / (BYTE). If it's just (DATA_TYPE), then there's some kind of if statement on it solely.
If it does not have "(data TYPE)", then it's guaranteed

For fixed data, they're written in a linear fashion, same as the client.

The table headers are as follows:

  • PACKET_ID,
  • PAYLOAD_IN_BYTES,
  • SIZING,
  • DATA_FORMAT

The datatypes used by the client are as follows:

  • BYTE,
  • BYTES,
  • TRIBYTE,
  • LESHORT,
  • LESHORTA,
  • SHORT,
  • SHORTA,
  • INT,
  • LONG,
  • JSTRING

I couldn't find any others and the naming convention I used is Major's.

If anything is wrong, let me know please so I can correct it.

Adjusted to accomodate packet 36 movement anti-cheat, big thanks to Father for figuring the clause to send this! Basically, if you click over 92 tiles from your current tile, it'll prefix the block 98, 164 or 248 (the movement packets) with this packet!

Code:
0    00 - FIXED - NOTHING
3    01 - FIXED - BYTE
4    NA - VARIABLE BYTE - BYTE, BYTE(S), BYTE(S), REVERSEDATAA
14   08 - FIXED - SHORTA, SHORT, SHORT, LESHORT
16   06 - FIXED - SHORTA, LESHORTA, LESHORTA
17   02 - FIXED - LESHORTA
18   02 - FIXED - LESHORTA
21   02 - FIXED - SHORT
23   06 - FIXED - LESHORT, LESHORT, LESHORT
25   12 - FIXED - LESHORT, LESHORTA, SHORT, SHORTA, LESHORTA, SHORT
35   08 - FIXED - LESHORT, SHORTA, SHORTA, LESHORT
36   04 - FIXED - INT (This packet is only ever associated with 164, 248 and 98)
39   02 - FIXED - LESHORT
40   02 - FIXED - SHORT
41   06 - FIXED - SHORT, SHORTA, SHORTA
43   06 - FIXED - LESHORT, SHORTA, SHORTA
45   NA - VARIABLE BYTE - (SHORT) / (TRIBYTE) / (INT)
53   12 - FIXED - SHORT, SHORTA, LESHORTA, SHORT, LESHORT, SHORT
57   08 - FIXED - SHORTA, SHORTA, LESHORT, SHORTA
60   08 - FIXED - LONG
70   06 - FIXED - LESHORT, SHORT, LESHORTA
72   02 - FIXED - SHORTA
73   02 - FIXED - LESHORT
74   08 - FIXED - LONG
75   06 - FIXED - LESHORTA, LESHORT, SHORTA
77   NA - VARIABLE BYTE - BYTE, BYTE, BYTE, (SHORT), BYTE, BYTE, BYTE, SHORT, SHORT
78   00 - NOTHING - MAY BE WRONG
79   06 - FIXED - LESHORT, SHORT, SHORTA
85   01 - FIXED - BYTE
86   04 - FIXED - SHORT, SHORTA
87   04 - FIXED - SHORTA, SHORT, SHORTA
95   03 - FIXED - BYTE, BYTE, BYTE
98   NA - VARIABLE BYTE - BYTE, LESHORT, (BYTES), LESHORT, NBYTE (please note, the anti-cheat packet 36 can be prefixed to this packet!!)
101  13 - FIXED - BYTE, 7X BYTE, 5X BYTE
103  NA - VARIABLE BYTE - JSTRING
117  06 - FIXED - LESHORTA, LESHORTA, LESHORT
120  01 - FIXED - BYTE
121  00 - NOTHING
122  06 - FIXED - LESHORTA, SHORTA, LESHORT
126  NA - VARIABLE BYTE - LONG, (CODEC)
128  02 - FIXED - SHORT
129  06 - FIXED - SHORTA, SHORT, SHORTA
130  00 - NOTHING
131  02 - FIXED - LESHORTA, SHORTA
132  02 - FIXED - LESHORTA, SHORT, SHORTA
133  08 - FIXED - LONG
135  06 - FIXED - LESHORT, SHORTA, LESHORT
136  00 - NOTHING
139  02 - FIXED - SHORT
145  02 - FIXED - SHORTA, SHORTA, SHORTA
148  00 - NOTHING
150  CA - NOTHING - MAY BE MORE THOUGH... 
152  01 - FIXED - BYTE
153  02 - FIXED - LESHORT
155  02 - FIXED - LESHORT
156  06 - FIXED - SHORTA, LESHORT, LESHORTA
164  NA - VARIABLE BYTE - BYTE, LESHORT, (BYTES), LESHORT, NBYTE (please note, the anti-cheat packet 36 can be prefixed to this packet!!)
165  NA - VARIABLE BYTE - BYTE, BYTE, SHORT, BYTE, SHORT, BYTE, SHORT, BYTE, (SHORT), (BYTE)
181  08 - FIXED - LESHORT, SHORT, LESHORT, SHORTA
183  03 - FIXED - TRIBYTE
185  02 - FIXED - SHORT
188  08 - FIXED - LONG
189  01 - FIXED - BYTE
192  12 - FIXED - SHORT, LESHORT, LESHORTA, LESHORT, LESHORTA, SHORT
200  02 - FIXED - SHORT
202  00 - NOTHING - MAY BE WRONG
208  04 - FIXED - INT
210  04 - FIXED - INT
214  07 - FIXED - LESHORTA, NBYTE, LETSHORTA, LESHORT
215  08 - FIXED - LONG
218  10 - FIXED - LONG, BYTE, BYTE
226  NA - VARIABLE BYTE - SHORT, BYTE, SHORT, BYTE, (SHORT), BYTE, SHORT, SHORT, SHORT, SHORT
228  06 - FIXED - SHORTA, SHORTA, SHORT
230  01 - FIXED - BYTE
234  06 - FIXED - LESHORTA, SHORTA, LESHORTA
236  06 - FIXED - LESHORT, SHORT, LESHORT
237  10 - FIXED - SHORT, SHORTA, SHORT, SHORTA
238  01 - FIXED - BYTE
240  04 - FIXED - INT
246  NA - VARIABLE BYTE - (BYTE), BYTE, SHORT, BYTE, BYTE, SHORT, (SHORT), (SHORT), BYTE
248  NA - VARIABLE BYTE - BYTE, LESHORT, (BYTES), LESHORT, NBYTE (please note, the anti-cheat packet 36 can be prefixed to this packet!!)
249  04 - FIXED - SHORTA, LESHORT
252  06 - FIXED - LESHORTA, LESHORT, SHORTA
253  06 - FIXED - LESHORT, LESHORTA, SHORTA
00
  • Like
Reactions: