Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Blackplayer27 on February 09, 2013, 01:17:34 pm

Title: Battle.net Chatservice
Post by: Blackplayer27 on February 09, 2013, 01:17:34 pm
Hello,

I wanted to ask if anyone has started with the emulation of a Battle.net chat services. It would certainly be very useful if one puts a number of projects in more detail, because our community is scattered far as what the server right.

German:
Hallo,

ich wollte fragen ob jemand mit der Emulation eines Battle.net Chat Services angefangen hat. Es wäre sicher sehr nützlich wenn man verschiedene Projekte etwas näher rückt, da unsere Community was die Server angeht recht verstreut ist.
Title: Re: Battle.net Chatservice
Post by: stoneharry on February 09, 2013, 04:27:25 pm
Hello,

I researched this a lot, but my knowledge of C++ is not in depth enough to understand packet handling, and I would be lost with the cryptography stage.

This is all the information one requires: http://darkblizz.org/wiki/doku.php?id=bnet2_protcol (http://darkblizz.org/wiki/doku.php?id=bnet2_protcol" onclick="window.open(this.href);return false;) http://darkblizz.org/wiki/doku.php?id=battle.net.dll (http://darkblizz.org/wiki/doku.php?id=battle.net.dll" onclick="window.open(this.href);return false;)

The realmlistbn seems to be hardcoded into the battle.net.dll, and can be found as a string when you search the file using a hex editor. Changing it then works.

Battlenet uses port 1107 (I think from memory).

I have uploaded an example SC2 emulator here: https://dl.dropbox.com/u/1102355/login_server.zip (https://dl.dropbox.com/u/1102355/login_server.zip" onclick="window.open(this.href);return false;)

This actually uses the same protocol (Battlenet 2) as WoW so you just change how you handle the data being received. My knowledge was not enough, perhaps others can do more.

:)
Title: Re: Battle.net Chatservice
Post by: Blackplayer27 on February 12, 2013, 01:31:08 pm
Thank you stoneharry,

but I think we will try a different way, because battle.net is not very dynamic.

We try to incorporate a code Socket.io(https://github.com/learnboost/socket.io/wiki (https://github.com/learnboost/socket.io/wiki" onclick="window.open(this.href);return false;)) interface(https://github.com/ebshimizu/socket.io-clientpp (https://github.com/ebshimizu/socket.io-clientpp" onclick="window.open(this.href);return false;)) and to communicate about it.