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
    31
    Posts
    2,012
    Thanks given
    818
    Thanks received
    1,361
    Rep Power
    329
    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: http://pastebin.com/f324e8e6f
    RSBuffer Documentation (zip): http://**********/v/QUCYPGVZ and http://www.megaupload.com/?d=RFNQ4ZSI

    Good luck developing!
    -Blake
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
     


  2. #2  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Fucking epic! Nice work blake, never cease to impress me.
    Attached image
     

  3. #3  
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    :O
    Looks great! Ill test it out in a few
     

  4. #4  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,746
    Thanks given
    354
    Thanks received
    1,370
    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
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    this looks like a delta rip lol nice job repped
     

  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.
    RuneWiki - The ultimate source of technical RuneScape information.
     

  7. #7  
    Registered Member
    craig903's Avatar
    Join Date
    Sep 2007
    Age
    30
    Posts
    1,357
    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 Here
     

  8. #8  
    Registered Member
    Chachi's Avatar
    Join Date
    Sep 2008
    Posts
    1,536
    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
    30
    Posts
    4,058
    Thanks given
    827
    Thanks received
    1,277
    Rep Power
    4664
    Much love babe.
     

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)


User Tag List

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