Emulate Battle.net

Started by MADCATX, February 22, 2010, 06:18:36 AM

Previous topic - Next topic

lecrycry

What is the progress of the [/size]Team Lazytown[/size][/font] ? Do you think they are able to work SC 2 on online with private server ?
[/size]
[/size]

iZOTOPE

maybe this will help, it is String folder out of battlenet.mpq, it contains some xml files with uid for different client/server states.


dodongbadong

im now praying for this..

go go go emulate sc2 server and lets kick ass.
You make your best AI script "cheating or not"
and ill test it for you
- FREE-

YimYimYimi

make sure you're jumping into the right IRC server: irc.rizon.net    channel:    #sc2c
dont goto irc.synirc.net #sc2 its dead in there

waxypants

I realize it's just a skeleton now, but would you mind sharing the source?

MADCATX

Quote from: waxypants on March 01, 2010, 10:44:45 PM
I realize it's just a skeleton now, but would you mind sharing the source?
Ok, here you go: http://loino.co.cc/upload-files/tmp/sc2serverP.zip (hosting is free and used for other purposes, say me if you can't download the file)
It's a java project for NetBeans IDE(http://netbeans.org/downloads/index.html).  I wasn't able to decrypt the packets, maybe you will succeed.

stoffern

great work.. getting along now..
we still need to patch the game, so it returns vaild ip whatever ip it gets the packets from.
if we have to set the ip adress we will not be able to do LAN..

also think it will be alot easier to run ollydbg on it and find a routine around the authentication method instead of emulating it...

stormbreaker

#82
Quote from: MADCATX on March 02, 2010, 05:26:31 AM
Quote from: waxypants on March 01, 2010, 10:44:45 PM
I realize it's just a skeleton now, but would you mind sharing the source?
Ok, here you go: http://loino.co.cc/upload-files/tmp/sc2serverP.zip (hosting is free and used for other purposes, say me if you can't download the file)
It's a java project for NetBeans IDE(http://netbeans.org/downloads/index.html).  I wasn't able to decrypt the packets, maybe you will succeed.


Hi! Thank you for posting the source but I can't download it. It redirects to http://4sql.net/notify/2.php . Can you upload it to a filesharing site for example? I want to take a look at it. I am trying to understand this. Do you have any other information on [BNet-IN]Battlenet::Client::Authentication::ProofRequest not documented in http://sc2c.pastebin.com/E30JdTCE and http://darkblizz.org/wiki/doku.php?id=bnet2_protcol ? There are some things that are not the same from these two sources.

Is this Battlenet::Client::Stalker::ChallengeResponse another packet or it's in the ProofRequest one?

Thank you :)

stoffern

i could not fetch the file either..
worked with ie not firefox..

stormbreaker

Quote from: stoffern on March 02, 2010, 09:03:06 AM
i could not fetch the file either..
worked with ie not firefox..


True. Thanks.


I will look into it now. I am just playing around with this in VB.NET because working on an actual example makes learning these TCP packet/encryption algorythm stuff much easier.
I have some experience with coding emulators because I have AION emulator with fully working authentication and in-game movement  :D . So if someone has more information about the packets post-authentication please share it.

MADCATX

Quote from: stoffern on March 02, 2010, 09:03:06 AM
i could not fetch the file either..
worked with ie not firefox..
Ok, i'll attach it to post.

waxypants

Quote from: MADCATX on March 02, 2010, 05:26:31 AM
Quote from: waxypants on March 01, 2010, 10:44:45 PM
I realize it's just a skeleton now, but would you mind sharing the source?
Ok, here you go: http://loino.co.cc/upload-files/tmp/sc2serverP.zip (hosting is free and used for other purposes, say me if you can't download the file)
It's a java project for NetBeans IDE(http://netbeans.org/downloads/index.html).  I wasn't able to decrypt the packets, maybe you will succeed.


So are you giving up? D:  I have some knowledge in Networking and Security but probably not enough to figure it out.  I will take a look though when I get time, I was mostly curious and wanted to play with it.  Thanks for the codes.

stormbreaker

Thanks again for the source. Do you have any dumps of what happens after a successful authentication?

prefix331

Good luck with this :p i think it uses the Battle net v2 authentication token, which is encrypted, quite well i would assume, as that is the same encryption as WoW uses.

pixartist

Quote from: MADCATX on March 02, 2010, 05:54:12 PM
Quote from: stoffern on March 02, 2010, 09:03:06 AM
i could not fetch the file either..
worked with ie not firefox..
Ok, i'll attach it to post.


tells me bad server :/