Thread: Finding server->client packets in OSRS (and perhaps different clients too)

Results 1 to 10 of 10
  1. #1 Finding server->client packets in OSRS (and perhaps different clients too) 
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Here's a simple list I wrote for personal use a while back, and has always been working ever since.

    Code:
    Music packet:
    Cs2 instruction 3201 = setmusic, call reference.
    
    Logout packet:
    Call hierarchy on currentSong (found through music packet), 1 method clears it. Not hard to find.
    
    Map region packet:
    Search for "m" (incl quotes) and look for 'for inside for loop'.
    
    1-byte config:
    CS2 instr 1 pushes config. Call hierarchy to find.
    
    4-byte config: 
    Same as above, look for differing stream method.
    
    Clan packet:
    Cs2 instr 3625 pushes clan name, call hierarchy to find packet.
    
    Play sound:
    Cs2 instr 3200 plays a song. Call hierarchy the field being set.
    
    Receive pm:
    Instruction 3100 sends game message. That method takes an integer as message type. Type 6 = receive pm.
    
    Projectile packet:
    Search for '>> 4 & 7' without quotes. Class with most results: open it. There are a few packets processed here all related with objects. The one with a lot of data methods, where 2 fields have *4 is the projectile packet.
    
    Item container update packet:
    Search for '< -70000' without quotes, yields 2 results in packetparser. Those 2 are item container updating packets.
    
    Send pm packet:
    Same as receive, but search for the integer parameter valued 7.
    
    Component visibility packet:
    Cs2 instr 1504 pushes component visibility. Call hierarchy to find the packet.
    
    Player on component:
    The method getHeadModel is called by cs2 instruction 1202. call hierarchy on the method to find the packet.
    
    Npc on component
    Cs2 instruction 1201 sets the media value on a component. Call hierarchy and find the references in the packetparser. The one you are looking for is where it checks if the mediaType is NOT equals to 2. This happens in the packet parsing part and will not be hard to determine.
    
    Set component text:
    Cs2 instruction 1602 pushes the component text. Call hierarchy to find the packet.
    
    Run energy packet:
    Cs2 instruction 3321 pushes the run energy, call hierarchy to find the packet.
    
    Ignore list:
    Cs2 instruction 3622 pushes a string from your ignore list onto the stack, call hierarchy on that string and you'll find the list.
    
    Component scroll position:
    Cs2 instruction 1604 pushes the scroll position, call hierarchy and you will find the packet.
    
    Cs2 script packet:
    Find what calls the cs2 interpreting method.
    
    Skill packet:
    Cs2 instruction 3307 pushes skill xp, call hierarchy to find the packet.
    
    Clanchat message:
    Same as pm packets, but find where the int param is 9.
    
    Classpath check packet:
    search for 'new Field[' without quotes.
    
    Game message:
    search for ':tradereq:', without quotes.
    
    Friends list:
    Cs2 instruction 3601 pushes a string from friends list, call hierarchy to find the friends packet.
    
    Animate component:
    Cs2 instruction 1110 sets a component's animation, call hierarchy on the field that is changed to find the packet.
    Don't ask me what a packet is or what an interpreter is. Before you are trying to comprehend what I wrote make sure you know what a CS2 script is, what interpreting means, how to find the interpreter class (*cough* 'event_opbase' *cough*) and how to find the packet parsing class. You're better off if you know how the call hierarchy method works too.

    Have fun
    xxxxxxx
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Reply With Quote  
     

  4. #3  
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Yes, thank you for the useless link. Added to my favorites.
    xxxxxxx
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Quote Originally Posted by Velocity View Post
    Yes, thank you for the useless link. Added to my favorites.
    its not useless post youre information there so ppl would read it
    Reply With Quote  
     

  7. #5  
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    Quote Originally Posted by natsu View Post
    It's not a useless post. Your information is there so people would read it
    Yeah you're just plain stupid, as I supposed when you posted the link. Look through the wiki. Do you fucking see any of this information there? No you don't. Get out.
    xxxxxxx
    Reply With Quote  
     

  8. Thankful user:


  9. #6  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Quote Originally Posted by Velocity View Post
    Yeah you're just plain stupid, as I supposed when you posted the link. Look through the wiki. Do you fucking see any of this information there? No you don't. Get out.
    317 Protocol - Runescape Private Server Wiki
    474 Protocol - Runescape Private Server Wiki
    Reply With Quote  
     

  10. #7  
    Banned

    Join Date
    May 2012
    Posts
    1,018
    Thanks given
    52
    Thanks received
    237
    Rep Power
    0
    Quote Originally Posted by Velocity View Post
    Yeah you're just plain stupid, as I supposed when you posted the link. Look through the wiki. Do you fucking see any of this information there? No you don't. Get out.

    What he was trying to say is for YOU to post it there so it would be available to everyone. Not that you leaked from there.
    Reply With Quote  
     

  11. Thankful user:


  12. #8  
    Registered Member
    Velocity's Avatar
    Join Date
    Jan 2009
    Age
    28
    Posts
    2,028
    Thanks given
    1,013
    Thanks received
    2,376
    Rep Power
    4112
    What is your fucking point idiot? You're really making yourself look worse than you've already did with the first link. Am I posting packet ids? No. Am I posting how to find packets based on methods in the client? Yes. What does your link show? Packet ids. What does my information show? How to find the packets if they have changed. Now get out and stop making yourself look so goddamn retarded.

    Quote Originally Posted by Agile View Post
    What he was trying to say is for YOU to post it there so it would be available to everyone. Not that you leaked from there.
    If he was, he should've told that, but why would I? This is a forum where people gather information more than that ruined wikia. I mean, look... http://rsps.wikia.com/wiki/Tyluur

    It would've made a difference if his first post was properly written, as his sentence made zero sense at all.
    xxxxxxx
    Reply With Quote  
     

  13. Thankful user:


  14. #9  
    Banned

    Join Date
    Oct 2011
    Posts
    2,689
    Thanks given
    1,235
    Thanks received
    673
    Rep Power
    0
    Thanks for this Velocity will for sure come in handy in the future when I decide to convert my #317 framework and try a OSrs server

    Thanked + Repped.
    Reply With Quote  
     

  15. #10  
    Donator


    Join Date
    Jul 2011
    Posts
    570
    Thanks given
    135
    Thanks received
    142
    Rep Power
    291
    Quote Originally Posted by Velocity View Post
    Here's a simple list I wrote for personal use a while back, and has always been working ever since.

    Code:
    Music packet:
    Cs2 instruction 3201 = setmusic, call reference.
    
    Logout packet:
    Call hierarchy on currentSong (found through music packet), 1 method clears it. Not hard to find.
    
    Map region packet:
    Search for "m" (incl quotes) and look for 'for inside for loop'.
    
    1-byte config:
    CS2 instr 1 pushes config. Call hierarchy to find.
    
    4-byte config: 
    Same as above, look for differing stream method.
    
    Clan packet:
    Cs2 instr 3625 pushes clan name, call hierarchy to find packet.
    
    Play sound:
    Cs2 instr 3200 plays a song. Call hierarchy the field being set.
    
    Receive pm:
    Instruction 3100 sends game message. That method takes an integer as message type. Type 6 = receive pm.
    
    Projectile packet:
    Search for '>> 4 & 7' without quotes. Class with most results: open it. There are a few packets processed here all related with objects. The one with a lot of data methods, where 2 fields have *4 is the projectile packet.
    
    Item container update packet:
    Search for '< -70000' without quotes, yields 2 results in packetparser. Those 2 are item container updating packets.
    
    Send pm packet:
    Same as receive, but search for the integer parameter valued 7.
    
    Component visibility packet:
    Cs2 instr 1504 pushes component visibility. Call hierarchy to find the packet.
    
    Player on component:
    The method getHeadModel is called by cs2 instruction 1202. call hierarchy on the method to find the packet.
    
    Npc on component
    Cs2 instruction 1201 sets the media value on a component. Call hierarchy and find the references in the packetparser. The one you are looking for is where it checks if the mediaType is NOT equals to 2. This happens in the packet parsing part and will not be hard to determine.
    
    Set component text:
    Cs2 instruction 1602 pushes the component text. Call hierarchy to find the packet.
    
    Run energy packet:
    Cs2 instruction 3321 pushes the run energy, call hierarchy to find the packet.
    
    Ignore list:
    Cs2 instruction 3622 pushes a string from your ignore list onto the stack, call hierarchy on that string and you'll find the list.
    
    Component scroll position:
    Cs2 instruction 1604 pushes the scroll position, call hierarchy and you will find the packet.
    
    Cs2 script packet:
    Find what calls the cs2 interpreting method.
    
    Skill packet:
    Cs2 instruction 3307 pushes skill xp, call hierarchy to find the packet.
    
    Clanchat message:
    Same as pm packets, but find where the int param is 9.
    
    Classpath check packet:
    search for 'new Field[' without quotes.
    
    Game message:
    search for ':tradereq:', without quotes.
    
    Friends list:
    Cs2 instruction 3601 pushes a string from friends list, call hierarchy to find the friends packet.
    
    Animate component:
    Cs2 instruction 1110 sets a component's animation, call hierarchy on the field that is changed to find the packet.
    Don't ask me what a packet is or what an interpreter is. Before you are trying to comprehend what I wrote make sure you know what a CS2 script is, what interpreting means, how to find the interpreter class (*cough* 'event_opbase' *cough*) and how to find the packet parsing class. You're better off if you know how the call hierarchy method works too.

    Have fun
    Even though this thread is old it helped me find 20ish packets in the 120 client. Thanks a lot Velocity.
    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. Replies: 7
    Last Post: 05-20-2013, 12:22 PM
  2. Replies: 1
    Last Post: 05-20-2013, 02:13 AM
  3. Replies: 5
    Last Post: 05-03-2013, 04:06 AM
  4. Finding packets in the 569 client.
    By Discardedx2 in forum Help
    Replies: 1
    Last Post: 11-06-2009, 05:24 PM
  5. Replies: 9
    Last Post: 03-03-2009, 05:59 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
  •