• Welcome to Valhalla Legends Archive.
 

D2GS connection

Started by Archangel, June 30, 2008, 03:46 PM

Previous topic - Next topic

Archangel

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.
I'm not an Addict.

Ringo

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

Archangel

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 ;).
I'm not an Addict.