Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Picter: Join us at Loyalty-scape.com! [link]
      Today at 12:47:35 AM
    • sedveka: bet pi
      June 20, 2018, 11:01:28 PM
    • sedveka: all join my server
      June 20, 2018, 11:01:19 PM
    • Ozank: im not gay but my boyfriend might be
      June 20, 2018, 12:28:57 PM
    • Bitsybop: and single, dtf hmu
      June 19, 2018, 02:12:12 PM
    • Travas: ur gay
      June 19, 2018, 12:44:57 AM
    • dennis7744: just so you know im master owner
      June 18, 2018, 08:49:41 AM
    • dennis7744: mopar is done
      June 18, 2018, 08:49:17 AM
    • dennis7744: il give you the response from the staff
      June 18, 2018, 08:49:10 AM
    • FightMexoxo: lol ofc not lazy asses
      June 17, 2018, 08:34:40 PM
    • FightMexoxo: banks*
      June 17, 2018, 08:27:11 PM
    • FightMexoxo: wtf happened to mopar? we all want it back and haven't got an update or response and if there are corp's everywhere.... despawn them and restore many people's bans
      June 17, 2018, 08:27:06 PM
    • FightMexoxo: why does it load up dawntained?
      June 17, 2018, 04:36:10 AM
    • rip cimanin: i did that
      June 17, 2018, 04:17:09 AM
    • FightMexoxo: What happened to Mopar?
      June 17, 2018, 03:38:53 AM
    • ipod4560: dawntaind blows, bring back mopar and my accounts!
      June 17, 2018, 01:39:36 AM
    • mona lisa: Amish you
      June 17, 2018, 01:20:03 AM
    • Cole1497: yall really asking for staff feedback like this site hasnt been dead for 5 years
      June 16, 2018, 11:48:17 AM
    • Shane1337:[link] UnleashedPk Good server
      June 13, 2018, 06:45:00 PM
    • Shane1337:[link]
      June 13, 2018, 06:44:45 PM

    Author Topic: RS Cache Downloader  (Read 37768 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinesini

    • Member
    • ****
    • *
    • *
    • Posts: 5,785
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #40 on: January 07, 2012, 05:44:50 PM »
    I've updated this again to work with the newest protocol.

    Ew...there's a handshake key now?

    Something like that, yes.

    Have you tested just sending a fake handshake key or has that been proven not to work?

    The server will reject the handshake if you send the wrong one.

    But the handshake keys given from the parameter in the webpage can be reused after you have it. So that must prove that they are generated off an algorithm or are cached as a 'valid' key.

    So I can actually test this theory I am just going to dump as many keys as I can and see if they eventually repeat.
    « Last Edit: January 07, 2012, 05:47:24 PM by sinisoul »
    RS2Ad banner

    Offlinejaruanna

    • Member
    • ****
    • Posts: 536
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #41 on: January 07, 2012, 05:59:36 PM »
    you now have to do a model grabber  :D
    RS2Ad banner

    Offlinesini

    • Member
    • ****
    • *
    • *
    • Posts: 5,785
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #42 on: January 19, 2012, 08:04:14 PM »
    Like to point out something that really hasn't been discussed (I believe) is the structure of the JS5 request:

    Code: [Select]
    uint8   <- Request Opcode
    uint40  <- Request Data

    All requests are 6 bytes in length and the only request to take advantage of the 40 bit integer is opcodes 0/1 (request opcodes).

    Little tid bit.

    Code: [Select]
    #Wrapper class for a JS5 request
    class JS5Request
     
      #Initializes the request
      def initialize(opcode, data = 0)
        @opcode = opcode
        @data = data
      end
         
      #Gets the opcode for this request
      def get_opcode()
        @opcode
      end
     
      #Gets the data for this request
      def get_data()
        @data
      end
     
      #Gets the string created by the buffer
      def to_s()
        (@buffer = OutputBuffer::new(6)
          @buffer.put_byte(@opcode)
          @buffer.put_int40(@data)
        ) unless @buffer
        @buffer.to_s
      end
    end

    #Creates a new JS5 request for files
    def create_file_request(index, file, priority = true)
      JS5Request::new(priority ? 1 : 0, (index << 32) | (file & 0xFFFFFFFF))
    end

    #Create the request constants
    CONNECT_REQUEST = JS5Request::new(6)
    DISCONNECT_REQUEST = JS5Request::new(7)
    ONLINE_STATUS = JS5Request::new(2)
    OFFLINE_STATUS = JS5Request::new(3)
    « Last Edit: January 19, 2012, 08:07:30 PM by sinisoul »
    RS2Ad banner

    OfflineFridder

    • Member
    • ****
    • Posts: 5,107
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #43 on: January 19, 2012, 08:50:41 PM »
    Megaupload link is dead. Trolololo.
    what the fudge is this shit

    Offlineim here

    • Member
    • **
    • Posts: 33
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #44 on: January 20, 2012, 08:28:11 AM »
    sorry but is this for smiler ihave server port open all ok and the because of cache client says connect to update server?

    if yes please any one till me how do iuse this ? :P thx

    OfflineCoonHunter

    • Member
    • ****
    • Posts: 6,338
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #45 on: January 20, 2012, 08:46:46 AM »
    You will need to make your client able to read the newer cache. Its not something you can just put into your client and expect it to work.
    I use the term 'Coon' in short for Raccoon, not a black person. IF I was insinuating on insulting a black person in such that I hunt them, there are MANY nicknames I can think of, but the simplest would be "AfricanHunter" or of the

    OfflineNative^

    • Member
    • ****
    • Posts: 1,781
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #46 on: January 20, 2012, 09:20:16 AM »
    Megaupload link is dead. Trolololo.
    fudge SOPA. Lol.
    quitted

    OfflineFridder

    • Member
    • ****
    • Posts: 5,107
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #47 on: January 20, 2012, 04:30:41 PM »
    Megaupload link is dead. Trolololo.
    fudge SOPA. Lol.

    It has nothing to do with SOPA :o
    what the fudge is this shit

    OfflineMethod

    • Member
    • ***
    • *
    • Posts: 168
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #48 on: January 20, 2012, 09:07:53 PM »
    Like to point out something that really hasn't been discussed (I believe) is the structure of the JS5 request:

    Why are you pointing it out? The packet structure is already reflected in the tool, and there's not much to discuss about it.
    :-)

    Offlinesini

    • Member
    • ****
    • *
    • *
    • Posts: 5,785
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #49 on: January 20, 2012, 09:10:15 PM »
    Like to point out something that really hasn't been discussed (I believe) is the structure of the JS5 request:

    Why are you pointing it out? The packet structure is already reflected in the tool, and there's not much to discuss about it.

    Slight technicality.

    OfflineMethod

    • Member
    • ***
    • *
    • Posts: 168
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #50 on: January 20, 2012, 09:17:34 PM »
    Like to point out something that really hasn't been discussed (I believe) is the structure of the JS5 request:

    Why are you pointing it out? The packet structure is already reflected in the tool, and there's not much to discuss about it.

    Slight technicality.

    The tool emulates the protocol correctly, to the best of my knowledge, and this thread doesn't seek to document the protocol, so I'm not sure why you'd post it here. Am I missing something?
    :-)

    Offlinesini

    • Member
    • ****
    • *
    • *
    • Posts: 5,785
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #51 on: January 20, 2012, 09:19:40 PM »
    Like to point out something that really hasn't been discussed (I believe) is the structure of the JS5 request:

    Why are you pointing it out? The packet structure is already reflected in the tool, and there's not much to discuss about it.

    Slight technicality.

    The tool emulates the protocol correctly, to the best of my knowledge, and this thread doesn't seek to document the protocol, so I'm not sure why you'd post it here. Am I missing something?

    Bah! Then update your R-S thread. Or make the thread here (unless it exists). Not bashing on your work but it is nice to inform people and discuss as to why they would use a 40 bit value.

    OfflineMethod

    • Member
    • ***
    • *
    • Posts: 168
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #52 on: February 17, 2012, 06:42:20 PM »
    I've updated this again so that it supports archives with more than 65535 files.
    :-)

    OfflineBrandon Codes

    • Member
    • **
    • Posts: 84
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #53 on: February 18, 2012, 03:03:43 PM »
    Does the cache save to the 'data' folder?
    > Promises amazing content
    > Doesn't deliver
    > Adds the trade of virtual goods for currency
    Lol, and you guys say people don't learn from Jagex.  :rolleyes:

    OfflineDavidi2

    • Member
    • ****
    • *
    • Posts: 23,272
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #54 on: February 18, 2012, 04:27:54 PM »
    Method, would you mind if I moved this to Private Server Client Hacking and stickied it? I'm not sure if it'd be a permanent sticky but it's a helpful tool, and definitely more useful to client hacking than servers.

    OfflineMethod

    • Member
    • ***
    • *
    • Posts: 168
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #55 on: February 18, 2012, 04:42:04 PM »
    Does the cache save to the 'data' folder?
    Try it and see!

    Method, would you mind if I moved this to Private Server Client Hacking and stickied it? I'm not sure if it'd be a permanent sticky but it's a helpful tool, and definitely more useful to client hacking than servers.
    That sounds fine to me.
    « Last Edit: February 18, 2012, 04:53:32 PM by Method »
    :-)

    OfflineMoparisthebest

    • Global Moderator
    • *****
    • *
    • Posts: 17,146
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #56 on: February 22, 2012, 09:55:53 PM »
    This looks like very nice work, and some people have requested that I run this so as to archive cache versions for everyone at https://www.moparisthebest.com/rs/ , would that be alright with you?  Also, I don't see any license details, do you have a license or are you just releasing it to the public domain?  I'd like to just make a few changes so that, since I already download and parse the parameters in my script, that I can just send this program that info so it doesn't have to do it again, and of course share the source code like everything else related to that script.

    Lastly, if I make those changes so that it optionally takes command line arguments in replacement of getting the information itself, would you use that code to update for future versions so I don't have to re-do my changes every update?  A patch would probably do most of it for me, but I'm just curious. :)
    forum.moparisthebest.com
    You can have my gun when you pry it from my cold, dead hands.
    Linux users, we do it in the open.

    OfflineRiiPiiNFtW

    • Member
    • ****
    • Posts: 5,791
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #57 on: February 22, 2012, 10:14:06 PM »
    This looks like very nice work, and some people have requested that I run this so as to archive cache versions for everyone at https://www.moparisthebest.com/rs/ , would that be alright with you?  Also, I don't see any license details, do you have a license or are you just releasing it to the public domain?  I'd like to just make a few changes so that, since I already download and parse the parameters in my script, that I can just send this program that info so it doesn't have to do it again, and of course share the source code like everything else related to that script.

    Lastly, if I make those changes so that it optionally takes command line arguments in replacement of getting the information itself, would you use that code to update for future versions so I don't have to re-do my changes every update?  A patch would probably do most of it for me, but I'm just curious. :)
    Someone made da boss happy.

    OfflineMethod

    • Member
    • ***
    • *
    • Posts: 168
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #58 on: February 22, 2012, 10:56:54 PM »
    This looks like very nice work, and some people have requested that I run this so as to archive cache versions for everyone at https://www.moparisthebest.com/rs/ , would that be alright with you?

    You're welcome to use it, as is everyone who downloads it.

    Also, I don't see any license details, do you have a license or are you just releasing it to the public domain?

    Neither.

    I'd like to just make a few changes so that, since I already download and parse the parameters in my script, that I can just send this program that info so it doesn't have to do it again, and of course share the source code like everything else related to that script. Lastly, if I make those changes so that it optionally takes command line arguments in replacement of getting the information itself, would you use that code to update for future versions so I don't have to re-do my changes every update?  A patch would probably do most of it for me, but I'm just curious. :)

    You'd be on your own to implement this functionality.
    :-)

    OfflineMoparisthebest

    • Global Moderator
    • *****
    • *
    • Posts: 17,146
    • Thanks: +0/-0
      • View Profile
    Re: RS Cache Downloader
    « Reply #59 on: February 22, 2012, 11:21:33 PM »
    Also, I don't see any license details, do you have a license or are you just releasing it to the public domain?
    Neither.
    I think it has to be one or the other, you either release it into the public domain (anyone can do whatever they want with it, modify, re-release, sell, etc etc), or you release it under a particular license.  It lets whoever uses it (like me) know what they can and can't do.

    I'd like to just make a few changes so that, since I already download and parse the parameters in my script, that I can just send this program that info so it doesn't have to do it again, and of course share the source code like everything else related to that script. Lastly, if I make those changes so that it optionally takes command line arguments in replacement of getting the information itself, would you use that code to update for future versions so I don't have to re-do my changes every update?  A patch would probably do most of it for me, but I'm just curious. :)
    You'd be on your own to implement this functionality.
    Of course, I wasn't asking you to do it.  Just asking if you might be willing to roll my changes into your program after I am done, of course assuming you like the implementation and such.
    forum.moparisthebest.com
    You can have my gun when you pry it from my cold, dead hands.
    Linux users, we do it in the open.

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal