This document describes the steps needed to be accepted by the Diablo II Game Server after MCP_JOINGAME (message 0x04) is received from the Realm Server. If the result of that message 0x00, then connection is dropped from the Realm Server and initiated with the Game Server.
After initiating connection with the Game Server, you will receive message 0xAF, with byte data 01.
(byte) Packet ID - 0xAF
You must then send the login message 0x68.
In response to sending 0x68, you will receive message 0x5C.
Receiving this message confirms that the game server has accepted your login.
You must then request to enter the game environment with message 0x6A.
Upon sending this byte, you have successfully entered the gaming environment. At this point, the D2GS will send you many messages regarding player information about you and other players. All packets sent from the server should now be decompressed.