Clan x86

Technical (Development, Security, etc.) => General Programming => Botdev => Topic started by: Ryan Marcus on September 04, 2005, 08:22:25 am

Title: [BNET] Hashes/RCRS
Post by: Ryan Marcus on September 04, 2005, 08:22:25 am
I finaly decided that BNLS sucks (did not take long, huh?), and that BNCSUtil was a perfect solution.

However, BNCSUtil needs hash files to do a CheckReversion, or however its spelled...

So I was wondering if:

1. There was a server that had constantly updated hash files that I could download with HTTP in less then 30 seconds (2 clients)
2. If RCRS will do what I want: give me a games version, and do CheckRevension. If so, are documents available?

Thanks for putting up with my all-out newby-ness, and thanks in advance!
Title: Re: [BNET] Hashes/RCRS
Post by: Newby on September 04, 2005, 08:25:59 am
You could use RCRS to hash the game files, and use BNCSUtil to hash your CD-Key / password!
Title: Re: [BNET] Hashes/RCRS
Post by: Ryan Marcus on September 04, 2005, 10:15:09 am
Alright.. That was my plan.

How do I use RCRS? What is the port/server/protocol?
Title: Re: [BNET] Hashes/RCRS
Post by: Blaze on September 04, 2005, 11:35:36 am
You could use RCRS to hash the game files, and use BNCSUtil to hash your CD-Key / password!
Can't it do both? If it can do both, wouldn't it be better to use the dll instead of the sometimes offline RCRS?
Title: Re: [BNET] Hashes/RCRS
Post by: Newby on September 04, 2005, 11:57:08 am
It'd be nice to get the basic structure of the bot up, then add in local hashing later. :P
Title: Re: [BNET] Hashes/RCRS
Post by: Ryan Marcus on September 04, 2005, 12:22:58 pm
Alright..

I have a basic structure, I have all the packets done with. I just need to do hashing.

Are there any docs  or somthing like BnetDocs for RCRS?
Title: Re: [BNET] Hashes/RCRS
Post by: Newby on September 04, 2005, 12:25:05 pm
Nope!

Check JavaOp's previous posts. iago made a post on it. I think Joe even made a VB class module for it at one point.
Title: Re: [BNET] Hashes/RCRS
Post by: Ryan Marcus on September 04, 2005, 12:43:40 pm
Here it is, if anyone cares:

http://www.x86labs.org/forum/index.php/topic,627.0.html
Title: Re: [BNET] Hashes/RCRS
Post by: Joe on September 04, 2005, 01:31:00 pm
Wow Newby, way to jack my solution to this problem! =p

EDIT -
[1:25:58 PM] RCRS Test Client by Joe[x86] loaded.
[1:25:59 PM] STAR Verbyte: 0xCD
[1:25:59 PM] STAR Verhash: 0x1010303
[1:26:00 PM] STAR EXEInfo: starcraft.exe 07/18/05 18:42:08 1093632
[1:26:00 PM] SEXP Verbyte: 0xCD
[1:26:01 PM] SEXP Verhash: 0x1010303
[1:26:01 PM] SEXP EXEInfo: starcraft.exe 07/18/05 18:42:08 1093632
[1:26:02 PM] W2BN Verbyte: 0x4F
[1:26:02 PM] W2BN Verhash: 0x1010001
[1:26:02 PM] W2BN EXEInfo: Warcraft II BNE.exe 06/13/05 19:18:17 712704
[1:26:03 PM] D2DV Verbyte: 0xB
[1:26:03 PM] D2DV Verhash: 0x1000B00
[1:26:03 PM] D2DV EXEInfo: Game.exe 06/26/05 16:21:20 2125824
[1:26:03 PM] D2XP Verbyte: 0xB
[1:26:04 PM] D2XP Verhash: 0x1000B00
[1:26:04 PM] D2XP EXEInfo: Game.exe 06/26/05 16:22:14 2129920
[1:26:04 PM] WAR3 Verbyte: 0x12
[1:26:05 PM] WAR3 Verhash: 0x1001027
[1:26:05 PM] WAR3 EXEInfo: war3.exe 06/13/05 19:18:29 1572307
[1:26:05 PM] W3XP Verbyte: 0x12
[1:26:06 PM] W3XP Verhash: 0x1001027
[1:26:06 PM] W3XP EXEInfo: war3.exe 06/13/05 19:18:29 1572307

Changed it to a nice class module, instead of that screwball thing we call a regular module. Let me clean this POS up.

EDIT -
http://www.javaop.com/~joe/VB6/RCRS.zip

Enjoy!