Thread: 317 Client -> Server Packet list

Results 1 to 5 of 5
  1. #1 317 Client -> Server Packet list 
    Registered Member
    Join Date
    Sep 2019
    Posts
    29
    Thanks given
    2
    Thanks received
    8
    Rep Power
    65
    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
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Im an albatraoz

    Nand0's Avatar
    Join Date
    Feb 2010
    Age
    30
    Posts
    859
    Thanks given
    217
    Thanks received
    121
    Discord
    View profile
    Rep Power
    142
    Wow thanks i've been having some difficulties finding excatly something like this






    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Registered Member
    Join Date
    Sep 2019
    Posts
    29
    Thanks given
    2
    Thanks received
    8
    Rep Power
    65
    Quote Originally Posted by Nand0 View Post
    Wow thanks i've been having some difficulties finding excatly something like this
    No problem!
    Reply With Quote  
     

  6. #4  
    Day
    Day is offline
    Extreme Donator

    Day's Avatar
    Join Date
    Dec 2014
    Posts
    118
    Thanks given
    22
    Thanks received
    132
    Discord
    View profile
    Rep Power
    1236
    thank you for this! very helpful
    Reply With Quote  
     

  7. #5  
    Programmer
    Elysian's Avatar
    Join Date
    Dec 2018
    Posts
    71
    Thanks given
    0
    Thanks received
    17
    Discord
    View profile
    Rep Power
    45
    I can think of various scenarios where something like this would be very useful!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. 317 Client Help + Server
    By Classic in forum Help
    Replies: 3
    Last Post: 04-20-2017, 09:47 PM
  2. Replies: 0
    Last Post: 01-27-2016, 06:46 PM
  3. Making Client to Server packets?
    By Herewizard in forum Help
    Replies: 0
    Last Post: 05-08-2014, 10:28 PM
  4. [317]UltimatePk[317] #4 on Server Top List!
    By k y z o n i in forum Advertise
    Replies: 5
    Last Post: 07-08-2010, 11:41 PM
  5. Client to Server Packet list
    By Laxika in forum Configuration
    Replies: 8
    Last Post: 05-31-2008, 12:46 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •