Valhalla Legends Forums Archive | Battle.net Bot Development | D2GS connection

AuthorMessageTime
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.
June 30, 2008, 8:46 PM
Ringo
[quote author=Archangel link=topic=17545.msg178724#msg178724 date=1214858776]
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.
[/quote]

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
June 30, 2008, 8:53 PM
Archangel
[quote author=Ringo link=topic=17545.msg178725#msg178725 date=1214859217]
[quote author=Archangel link=topic=17545.msg178724#msg178724 date=1214858776]
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.
[/quote]

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
[/quote]

thanks for your quick answer ;).
June 30, 2008, 11:46 PM

Search