BNETDocs: Redux is no longer updated, this subdomain exists for archival purposes only. Visit the main site.

Navigation

Generate Code: All packets
Packets

Diablo II Realm Server Logon Sequence


In order to make use of the Battle.net Diablo II realms, you must be successfully logged onto your account. See Logon Sequences for the Diablo II logon sequence.

The following is the suggested sequence (begin after receiving [0x3A] SID_LOGONRESPONSE2):

C > S [0x40] SID_QUERYREALMS2 (optional)
Requests list of realms for this Battle.net server.
S > C [0x40] SID_QUERYREALMS2 (if requested)
Contains list of realms.
C > S [0x3E] SID_LOGONREALMEX
Realm logon challenge to Battle.net.
S > C [0x3E] SID_LOGONREALMEX
Realm logon response. Contains information to connect to MCP server.

Connect to MCP server whose IP address and port are found in the SID_LOGONREALMEX response. Send all MCP packets to this server.

Send protocol byte 0x01 to MCP server, the same first byte you sent to connect to Battle.net.

S > C [0x01] MCP_STARTUP
Send data from SID_LOGONREALMEX response to MCP server.
C > S [0x01] MCP_STARTUP
Upon success, you should now request a list of characters. It is not required, but for perfect emulation you should request it.
S > C [0x19] MCP_CHARLIST2 (optional)
Requests a list of characters from the server.
C > S [0x19] MCP_CHARLIST2 (if requested)
Contains a list of characters including their name, expiration date, type, class, level, etc.

After that sequence, the rest is up to you. You may create characters, delete characters, logon characters, upgrade characters, or just reconnect to the realm again for fun.


User Comments


For detailed questions and discussion, visit the Battle.net Research Forum

No comments were made. Be the first to contribute!

ALERT
We recommend you use Firefox to view this site. This site has been optimized for Firefox.

Get Firefox
BNLS Server Status
bnls.bnetdocs.org:
bnls.net:
bnls.mattkv.net:
phix.no-ip.org:
pyro.no-ip.biz:
bnls.war-lords.net:
bnls.anubisdev.net:
knight.mattkv.net:

= Online       = Offline

Battle.net Server Status

Battle.net v1

uswest.battle.net:
exodus.battle.net:
useast.battle.net:
asia.battle.net:
europe.battle.net:
ustest.battle.net:
beta.battle.net:
classicbeta.battle.net:
demo.war3.battle.net:

Battle.net v2

us.logon.battle.net:
eu.logon.battle.net:
kr.logon.battle.net:
cn.logon.battle.net:
us.patch.battle.net:
eu.patch.battle.net:
kr.patch.battle.net:
cn.patch.battle.net:
public-test.logon.battle.net:
public-test.patch.battle.net:

emNet

cali.emwar.com:
dallas.emwar.com:
kc.emwar.com:
ny.emwar.com:

PvPGN

server.eurobattle.net:
rubattle.net:
sc.theabyss.ru:
wc3.theabyss.ru:
bnetd.fishbattle.net:

RBNETD

server.bnetdocs.org:

= Online       = Offline



Copyrights

Site scripts and design copyrights reserved to Don Cullen.
Contents copyrighted to Blizzard and their parent corporation, Vivendi.
Main credits for contents goes to Arta. View the rest of credits.
Demented Minds copyrights reserved to Don Cullen 2003-present.
Copyright infringements will be prosecuted to the fullest extent allowable by law.
Please view our legal disclaimer and terms of service.