Thread: RS Cache Downloader

Page 1 of 16 12311 ... LastLast
Results 1 to 10 of 157
  1. #1 RS Cache Downloader 
    Renown Programmer

    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,399
    Thanks
    0
    Thanked 784 Times in 316 Posts
    Rep Power
    2224
    RS Cache Downloader (RSCD)

    Update November 28th, 2012: Updated the protocol and fixed a logic error.
    Update October 25th, 2012: Updated the protocol.
    Update February 17th, 2012: Added support for a larger range of files.
    Update January 7th, 2012: Modified the protocol to be consistent with the newest clients.
    Update November 15th, 2011: Updated the protocol to be consistent with the current client. Currently, the tool assumes that the minor version number will always be 1. If this isn't the case, it will fail to identify the correct client version. Please let me know if this happens so that I can address this issue.
    Update August 31st, 2011: Updated the ReferenceTable class to mirror the functionality in the newest client.
    Update December 22nd, 2010: Made a small change to the ReferenceTable class that fixed an issue I created when rewriting it. Also, a change was made in CacheDownloader to allow for the downloading of the contents of index 35 when it's finally used.
    Update December 6th, 2010: Made a small update to the ReferenceTable class to eliminate the use of null Entry objects.
    Update December 4th, 2010: Uploaded the files again, since they were removed for some reason. I've replaced the Whirlpool class and rewritten the ReferenceTable class also.
    Update November 26th, 2010: Fixed a bug that was introduced during testing that caused the program to stop after a timeout instead of reconnecting.
    Update November 25th, 2010: Updated it to work with the latest clients (629+) and replaced CacheIndex with FileStore. Thanks light232 for some sample code using the FileChannel class.
    Update August 25th, 2010: Updated it to work with the latest clients (615+)
    Update August 20th, 2010: Added the capability to update from a previous cache instead of downloading the entire cache again.

    Overview

    This is a tool I recently updated and rewrote that will request and download the cache from the RS servers just like the client does. However, this manages to download the entire cache much faster than the client, since the client does this passively as it is running the game. From my tests, it is able to download the entire cache in just under thirty minutes.

    I've tried to document what each class and method are responsible for, with the exception of the class that hashes the data using the Whirlpool algorithm. If you have any questions, comments, or improvements you'd like me to be aware of, feel free to post in this thread. Enjoy!

    Download

    MediaFire
    Last edited by Method; 10-25-2012 at 09:19 PM.
    Reply With Quote  
     


  2. #2  
    Donator


    Join Date
    Sep 2007
    Age
    21
    Posts
    918
    Thanks
    48
    Thanked 106 Times in 54 Posts
    Rep Power
    81
    Thanks. I'll try this out.

    EDIT: Nice work. It works great!
    Providing Java Programming Support Since 2011
    Skype: travis.mccorkle
    Reply With Quote  
     

  3. #3  
    Registered Member
    Teemuzz's Avatar
    Join Date
    Oct 2009
    Posts
    2,470
    Thanks
    902
    Thanked 278 Times in 176 Posts
    Rep Power
    349
    good job method.
    now i must do a thread which checks if rs updated
    I'm not back. I'm just fucking bored.

    Quote Originally Posted by paradoxl View Post
    This is bullshit!! i did ::tele (2nd picture's coord) and meat(spin).com opened up on my screen! then my realiable norton anti virtus said i have 28 trojans!.
    Freelancing for Andy Since may 2011♥
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Aug 2009
    Posts
    1,713
    Thanks
    96
    Thanked 198 Times in 113 Posts
    Rep Power
    78
    Quote Originally Posted by kissanpaska View Post
    good job method.
    now i must do a thread which checks if rs updated
    And then run it 24/7? lol noty
    removed
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jul 2009
    Age
    16
    Posts
    3,628
    Thanks
    549
    Thanked 695 Times in 366 Posts
    Rep Power
    0
    nice job method
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2010
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    1
    Wow,good job!
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Oct 2008
    Age
    18
    Posts
    1,992
    Thanks
    50
    Thanked 599 Times in 234 Posts
    Rep Power
    623
    Good job, thanked!
    Reply With Quote  
     

  8. #8  
    Sub
    Sub is offline
    sυввч
    Sub's Avatar
    Join Date
    Aug 2007
    Age
    13
    Posts
    4,052
    Thanks
    463
    Thanked 253 Times in 184 Posts
    Rep Power
    2400
    very interesting
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,918
    Thanks
    7
    Thanked 238 Times in 118 Posts
    Rep Power
    407
    Method do you by any chance know the 525 NPCDef class in the client?
    Reply With Quote  
     

  10. #10  
    Renown Programmer

    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,399
    Thanks
    0
    Thanked 784 Times in 316 Posts
    Rep Power
    2224
    Quote Originally Posted by bando View Post
    Method do you by any chance know the 525 NPCDef class in the client?
    No, I don't know it (and don't see how that's relevant at all).
    Reply With Quote  
     

  11. Thankful user:



Page 1 of 16 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
  •