Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Archangel on June 30, 2008, 03:46 PM

Title: D2GS connection
Post by: Archangel on June 30, 2008, 03:46 PM
well i want to start the d2gs protocol and i wanted to ask some questions:
1. Packets sent by the server have to be decompressed?
2. Packets are sent to the server without a compression?
3. Where i can get the compression code?
4. I saw the login sequence by Rhino x time ago, something changed on the protocol since that time?

Thanks alot.
Title: Re: D2GS connection
Post by: Ringo on June 30, 2008, 03:53 PM
Quote from: Archangel on June 30, 2008, 03:46 PM
well i want to start the d2gs protocol and i wanted to ask some questions:
1. Packets sent by the server have to be decompressed?
2. Packets are sent to the server without a compression?
3. Where i can get the compression code?
4. I saw the login sequence by Rhino x time ago, something changed on the protocol since that time?

Thanks alot.

1: Yes and No
2: Yes
3: Search :P
4: No

Its still as following:
S>C 0xAF D2GS_IS_COMPRESS
C>S 0x68 D2GS_LOGON_AUTH
If Error Then
    0xB4 D2GS_LOGON_FAIL
    Or no answer/connection close
Else
    0x01 D2GS_GAME_SETTING

C>S 0x6B D2GS_ENTER_GAME
S>C Game Data
Title: Re: D2GS connection
Post by: Archangel on June 30, 2008, 06:46 PM
Quote from: Ringo on June 30, 2008, 03:53 PM
Quote from: Archangel on June 30, 2008, 03:46 PM
well i want to start the d2gs protocol and i wanted to ask some questions:
1. Packets sent by the server have to be decompressed?
2. Packets are sent to the server without a compression?
3. Where i can get the compression code?
4. I saw the login sequence by Rhino x time ago, something changed on the protocol since that time?

Thanks alot.

1: Yes and No
2: Yes
3: Search :P
4: No

Its still as following:
S>C 0xAF D2GS_IS_COMPRESS
C>S 0x68 D2GS_LOGON_AUTH
If Error Then
    0xB4 D2GS_LOGON_FAIL
    Or no answer/connection close
Else
    0x01 D2GS_GAME_SETTING

C>S 0x6B D2GS_ENTER_GAME
S>C Game Data

thanks for your quick answer ;).