This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Battle.net Chatservice  (Read 1602 times)

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
Battle.net Chatservice
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: Battle.net Chatservice
« Reply #1 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=battle.net.dll

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

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.

:)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
Re: Battle.net Chatservice
« Reply #2 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) interface(https://github.com/ebshimizu/socket.io-clientpp) and to communicate about it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »