robot rage survivors rr2 rearmed |
| | Original RobotRage 2 Training mode working | |
| | Author | Message |
---|
pionner Reborn
Posts : 167
| Subject: Original RobotRage 2 Training mode working Sun Jan 27, 2019 11:25 pm | |
| Some of you might know, but I wanted to let you all know, that some time ago @Karthor from out Discord server managed to force original client to connect to his "server", that allowed him to enter training mode. The "server" only responds with what the client expects, in other words it's dumb as a rock, just echoing what the real server would say. The main issue with doing anything with this client are bots checksums (probably MD5) that block us from changing anything on any bot. It's probably some combination of the data below, however I couldn't break it, and I don't want to spend any more time on it (still A LOT of work on Reborn left). - Code:
-
[#checksum: "1b2bed513d3f0ca0b975b7fd2f237ef5", #status: 0, #propertylist:[#robotDescription: [#ram: [], #torn: [], #hjul: [], #motor: [], #batteri: [], #vapen: [], #wpnPos: [], #special: [], #ammunition: []], #inventory: [], #money: 671, #space: 100, #spaceleft: 10, #maxSpeed: 40, #pansar: 0, #info1: 441, #saveMap: 0, #soldweapons: [#v1]],#Friendslist:[],#RobotName:"DaFDestructor",#Score:0,#UserLibName:"",#GameStats:[#win:0,#lose:0,#draw:0]] You can play with it here: old.robotrage.proand also download whole thing to your PC: old.robotrage.pro/dl.zipAlso tried to decompile/unpack DCRs with tool called offzip, to maybe get some insight what's used to generate the hash, however I didn't really get anything useful from it, other than some config file. Have fun | |
| | | jork He Who Wants it Brung
Posts : 2161
| Subject: Re: Original RobotRage 2 Training mode working Mon Jan 28, 2019 2:23 pm | |
| Does the code always resets to the one provided here? I have some old checksums randomly saved, but I need to edit the propertylist, can you potentially add this to the server? EDIT: Ok, here is what I got - Code:
-
"[#checksum: "b37327ac4c4d3fc0673958cf39c2cc82", #status: 0, #propertylist:[#robotDescription: [#ram: [#r2], #torn: [#t3], #hjul: [#h4], #motor: [#mb1], #batteri: [#b3, #b3], #vapen: [#v35, v31, v37], #wpnPos: [#f, #b, #s], #special: [], #ammunition: []], #inventory: [#v7, #v7, #v17, #b1, #h5, #v14, #v23, #b2, #b2, #v6, #t1, #v8, #r1, #v16, #v33, #v1, #mb3, #h1, #v15, #v26, #v21, #v2, #v12, #mb2, #r3, #v32, #v3, #v24, #v9, #v22, #v14, #v36, #v34, #v25, #v4], #money: 87310, #space: 100, #spaceleft: 10, #maxSpeed: 40, #pansar: 208, #info1: -86198, #saveMap: 0, #soldweapons: [#b3]],#Friendslist:[],#RobotName:"DaFDestructor",#Score:0,#UserLibName:"",#GameStats:[#win:0,#lose:0,#draw:0]]" Don't know if encoded properly, can you try adding this? EDIT2: - the code expanded too much lol:
I also just found this string in main.asp - Code:
-
action=setrobot&proplist=%5b%23robotDescription%3a+%5b%23ram%3a+%5b%23r1%5d,+%23torn%3a+%5b%5d,+%23hjul%3a+%5b%23h2%5d,+%23motor%3a+%5b%23ma1%5d,+%23batteri%3a+%5b%23b1%5d,+%23vapen%3a+%5b%5d,+%23wpnPos%3a+%5b%5d,+%23special%3a+%5b%5d,+%23ammunition%3a+%5b%5d%5d,+%23inventory%3a+%5b%5d,+%23money%3a+45,+%23space%3a+100,+%23spaceleft%3a+10,+%23maxSpeed%3a+40,+%23pansar%3a+50,+%23info1%3a+1067,+%23saveMap%3a+0,+%23soldweapons%3a+%5b%5d%5d&robotid=34164201&robotname=DaFDestructor&sessionid= Should be replaced by: - Code:
-
action=setrobot&proplist=%5b%23robotDescription%3a+%5b%23ram%3a+%5b%23r2%5d,+%23torn%3a+%5b%23t3%5d,+%23hjul%3a+%5b%23h4%5d,+%23motor%3a+%5b%23mb1%5d,+%23batteri%3a+%5b%23b3,+%23b3%5d,+%23vapen%3a+%5b%23v35,+%23v31,+%23v37%5d,+%23wpnPos%3a+%5b%23f,+%23b,+%23s%5d,+%23special%3a+%5b%5d,+%23ammunition%3a+%5b%5d%5d,+%23inventory%3a+%5b%23v7,+%23v7,+%23v17,+%23b1,+%23h5,+%23v14,+%23v23,+%23b2,+%23b2,+%23v6,+%23t1,+%23v8,+%23r1,+%23v16,+%23v33,+%23v1,+%23mb3,+%23h1,+%23v15,+%23v26,+%23v21,+%23v2,+%23v12,+%23mb2,+%23r3,+%23v32,+%23v3,+%23v24,+%23v9,+%23v22,+%23v14,+%23v36,+%23v34,+%23v25,+%23v4%5d,+%23money%3a+87310,+%23space%3a+100,+%23spaceleft%3a+10,+%23maxSpeed%3a+40,+%23pansar%3a+208,+%23info1%3a+-86198,+%23saveMap%3a+0,+%23soldweapons%3a+%5b%23b3%5d%5d&robotid=34164201&robotname=DaFDestructor&sessionid=
I could just edit all the necesary files and send them back and hope it works... | |
| | | pionner Reborn
Posts : 167
| Subject: Re: Original RobotRage 2 Training mode working Mon Jan 28, 2019 6:35 pm | |
| The code that you posted gives "Bad shit!" error in client (it literary prints that), which means checksum is incorrect. Did you change the bot name to "DaFDestructor" there? Well, if you did, you broke it, as name is included in checksum calculation Also the url you gave is commented out, so it does nothing. Use Notepad++ to edit, it's much easier to read as it has syntax highlighting. And green=comment. | |
| | | jork He Who Wants it Brung
Posts : 2161
| Subject: Re: Original RobotRage 2 Training mode working Mon Jan 28, 2019 6:38 pm | |
| Heh ok, I was literally editing that code from virtual machine, so then checkums should stay the same, everything else is related to robot setup. Or are you implying setup is encoded in checksum as well? If it is then can't we just generate 3rd robot with the checskum I posted, I know the robotname for that one. | |
| | | pionner Reborn
Posts : 167
| Subject: Re: Original RobotRage 2 Training mode working Mon Jan 28, 2019 8:30 pm | |
| Checksum probably describes all other parameters, so all params must be exactly the same as the ones checksum was calculated for. | |
| | | digit Add mint
Posts : 2594
| Subject: Re: Original RobotRage 2 Training mode working Sat Feb 09, 2019 9:57 pm | |
| I managed to find 4 files with 'checksum','Checksum','md5', or 'MD5' mentioned in them using a custom crawler on the decompressed dcr files. - Notes on ../lobby060/00000839.dat:
contains reference to 'checksum', 'md5', 'chksum', and perhaps the key to this all... thats right... 'md5istheshitlkasdfkhj'. This is mentioned twice in this file and is always close to 'action', 'setrobot', 'proplist', and 'chksum'. There is also a reference to 'makeCheckSum', but again, I couldnt find any related logic to it but it was right next to 'ExternalIP', so I wonder if IP has anything to do with the checksum.
- Notes on ../arena106/00000dde.dat:
has 1 reference to 'checksum' and 'chksum'. References 'SpecialMD5Sum' and 'md5'. Also references the all-powerful 'md5istheshitlkasdfkhj' relatively close to a call to 'setrobotscore', but I cannot confirm the relation. I also noticed the reference to 'md5' was pretty close to a reference to 'ss', which is a pattern I noted in the other files...
- Notes on ../login013/00000661.dat:
contains references to 'correctChecksum', 'updateChecksum', and 'createChecksum' as well as 'checksum'. unfortunately I couldn't find any of the logic used to create the checksum. there are other references to 'getStringSum', 'getStringSum2', and 'getListSum' which may be used to calculate the checksum. No mention of 'md5' or 'MD5' in this file.
- Notes on ../robotwars/00000aab.dat:
Here we see where that lovely message comes from when you give a bad check sum. Other than that, there are 2 references to 'checksum'. One occurs right after a reference to 'bitXor' so it might be possible that bit xors are used when calculation the checksum. There are also the same references to update, correct, and create Checksum as in the `../login013/00000661.dat` file but no logic included in this file either.
- Notes on ../factory0604/00001044.dat:
No references to ~checksums at all, but does have 3 references to 'chksum'. there is 1 reference to 'md5', close to 'ss' again. and 3 references to 'md5istheshitlkasdfkhj', very close to 'chksum' every time.
I can't dedicate any more time to looking at stuff at the moment, but I will probably look into it more later. For what its worth, I think I found one of the creators of RR, Magnus Sannerud. His name was in a lot of the code. I also checked his linked in and he lists 'Systems Developer' at 'Raketspel AB' in his work experience. Also looks like these files were made using Director 8.5 TLDR; I found some interesting files and possible leads, but nothing that tells us how the checksum is calculated. | |
| | | RageTester Chat Owner
Posts : 430
| Subject: Re: Original RobotRage 2 Training mode working Sat Feb 16, 2019 6:09 pm | |
| | |
| | | digit Add mint
Posts : 2594
| Subject: Re: Original RobotRage 2 Training mode working Sat Feb 16, 2019 11:23 pm | |
| thats a localhost IP, but I would be interested in testing out an older browser on my linux machine to see if still works. | |
| | | RageTester Chat Owner
Posts : 430
| Subject: Re: Original RobotRage 2 Training mode working Sun Feb 17, 2019 1:30 am | |
| | |
| | | RageTester Chat Owner
Posts : 430
| Subject: Re: Original RobotRage 2 Training mode working Wed Feb 20, 2019 9:23 pm | |
| Have to dig deep, for em old files that have not been lost: - Code:
-
action=setrobot&proplist=%5b%23robotDescription%3a+%5b%23ram%3a+%5b%23r3%5d,+%23torn%3a+%5b%23t3%5d,+%23hjul%3a+%5b%23h5%5d,+%23motor%3a+%5b%23mb1%5d,+%23batteri%3a+%5b%23b3,+%23b3%5d,+%23vapen%3a+%5b%23v9,+%23v1,+%23v3,+%23v37%5d,+%23wpnPos%3a+%5b%23f,+%23b,+%23t,+%23s%5d,+%23special%3a+%5b%5d,+%23ammunition%3a+%5b%5d%5d,+%23inventory%3a+%5b%23v1,+%23v4,+%23v16,+%23v17,+%23v32,+%23v33,+%23v7,+%23v1,+%23v13,+%23v15,+%23v36,+%23mb1,+%23r1,+%23v35,+%23v14,+%23v32,+%23v21,+%23v26,+%23mb3,+%23v31,+%23v34,+%23v9,+%23v37,+%23v3,+%23v24,+%23v11,+%23v1%5d,+%23money%3a+16000,+%23space%3a+100,+%23spaceleft%3a+10,+%23maxSpeed%3a+40,+%23pansar%3a+249,+%23info1%3a+-14888,+%23saveMap%3a+0,+%23soldweapons%3a+%5b%23v9,+%23v9%5d,+%23hacker%3a+1%5d&robotid=25352312&robotname=Made+In+China%99&sessionid=%7bC27DA2D8-BBF8-48F8-8821-C1BBB55292A7%7d
- Code:
-
Content: action=setrobotscore&user1id=zZz&user2id=yYy&winner=zZz&checksum=xXx&robotid=zZz var xXx: 1324
- Code:
-
for a draw no winner action=setrobotscore&user1id=zZz&user2id=yYy&winner=0&checksum=xXx&robotid=zZz var xXx = 507
- Code:
-
action=getmyrobots&sessionid=%7b1BCDDC2E-91F9-47A2-87CD-E5FF83454372%7d&uniquecode=&uniquetick=344568730&UC=44213
- Code:
-
action=createrobot&robotname=IMA+NOOB&sessionid=%7b1BCDDC2E-91F9-47A2-87CD-E5FF83454372%7d&uniquecode=&uniquetick=344563490&UC=98650
| |
| | | Sponsored content
| Subject: Re: Original RobotRage 2 Training mode working | |
| |
| | | | Original RobotRage 2 Training mode working | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|