Thread: The final solution to all RS communication: RSBuffer

Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 135
  1. #1 The final solution to all RS communication: RSBuffer 
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    26
    Posts
    2,002
    Thanks given
    774
    Thanks received
    1,342
    Rep Power
    124
    I decided that I'd write up for you guys a legal, more safe, and easy-to-use way of communicating via the RuneScape protocol.

    It's called the RSBuffer, and it's beautiful. It takes care of encryption for you, and provides a "getDecryption()" (and encryption should you need it) method that allows you to call "nextInt()" to get the next key to decrypt incoming packet opcodes. It starts out with a very low memory footprint (128 bytes) and will increase it's own size automatically when necessary. Unlike the current "stream.java", it is legal - it isn't ripped from a deob, I wrote this from scratch. It also uses more familiar naming conventions, like "int" instead of "dword". It also returns it's own instance for every "put" method so you can have method chaining, like so:

    Code:
    rsBuffer.createOpcode(10).putShort(5).put(14);
    Naming Convention Changes
    Here are the data-type naming convention changes so you guys know how to put this into your server.
    byte -> byte
    word -> short
    dword -> int
    qword -> long
    BigEndian -> LE
    Frame -> Packet
    So, "writeWordBigEndianA" would be, in RSBuffer, "putLEShortA".

    This took me a few hours to write up for you guys (it's 1,409 lines - 30kb - of code), so I'd appreciate some thanks of course, but I'd appreciate it more if I saw it being used in your servers. It's legal, it's safer (wont crash your server unexpectedly), it's more familiar with the data-type naming conventions, and it's faster.

    It also contains way more put/get methods than the wL stream has, or even ones that the client deobs have - just in-case you guys would ever need the extra methods (adding your own packets, etc). On top of all of that, it's 100% javadoc documented.

    (note 12-16-2009 I had to fix some bugs, here is revision 2)
    RSBuffer Source: [Only registered and activated users can see links. ]
    RSBuffer Documentation (zip): [Only registered and activated users can see links. ] and [Only registered and activated users can see links. ]

    Good luck developing!
    -Blake
    Rest in peace Impulser!
     


  2. #2  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    11
    Posts
    7,520
    Thanks given
    1,746
    Thanks received
    2,794
    Rep Power
    5000
    Fucking epic! Nice work blake, never cease to impress me.
    [Only registered and activated users can see links. ]
     

  3. #3  
    Registered Member

    Join Date
    Nov 2007
    Age
    23
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    :O
    Looks great! Ill test it out in a few
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
     

  4. #4  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,749
    Thanks given
    354
    Thanks received
    1,366
    Rep Power
    3032
    i love when ppl dont know what this is for
     

  5. #5  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    912
    Thanks given
    22
    Thanks received
    14
    Rep Power
    37
    this looks like a delta rip lol nice job repped
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    MSN: [email protected]
     

  6. #6  
    Registered Member
    Join Date
    Feb 2007
    Posts
    308
    Thanks given
    0
    Thanks received
    1
    Rep Power
    72
    Quote Originally Posted by akeid View Post
    this looks like a delta rip lol nice job repped
    You sir are a fucking idiot.
    [Only registered and activated users can see links. ] - The ultimate source of technical RuneScape information.
     

  7. #7  
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    25
    Posts
    1,359
    Thanks given
    14
    Thanks received
    92
    Rep Power
    238
    Quote Originally Posted by akeid View Post
    this looks like a delta rip lol nice job repped
    Lol you have just made THE day...

    This is far to complicated for deltascape.

    Nice work blake.
    Visit Rune Miracle [Only registered and activated users can see links. ]
     

  8. #8  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,537
    Thanks given
    49
    Thanks received
    103
    Rep Power
    602
    YES! You're the best! Adding in to shard now!
    [/CENTER]
     

  9. #9  
    Registered Member
    GwasDdos's Avatar
    Join Date
    Jul 2009
    Posts
    326
    Thanks given
    10
    Thanks received
    4
    Rep Power
    234
    Quote Originally Posted by Chachi View Post
    YES! You're the best! Adding in to shard now!
    You sound exited.
     

  10. #10  
    damnant quod non intellegunt

    Mr Chainsaw's Avatar
    Join Date
    Sep 2006
    Age
    25
    Posts
    4,052
    Thanks given
    827
    Thanks received
    1,277
    Rep Power
    4664
    Much love babe.
    [Only registered and activated users can see links. ]

     

Page 1 of 14 12311 ... LastLast

Thread Information
Users Browsing this Thread

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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •