Valhalla Legends Forums Archive | Battle.net Bot Development | Re: [VB] D2GS_LOGON C -> S 0x68

AuthorMessageTime
One-Way
i get the packet 0xAF then i send the packet 0x68 but i get "Game socket Error 10053 Connection is aborted due to timeout or other failure" i dont now what is wrong....can any help?

Public Sub packetgame_0x68()
    With PB
        .InsertDWORD GetDWORD(GameHash)
        .InsertWORD GetWORD(GameByte)
        .InsertBYTE &H4
        .InsertDWORD &HB
        .InsertDWORD &HED5DCC50
        .InsertDWORD &H91A519B6
        .InsertBYTE &H2
        .InsertPString CharName & functions.HexToStr("00"), 16
        .SendD2GSPacket2 &H68
    End With
    AddC vbRed, "Send Logon 0x68"
End Sub

September 13, 2005, 11:42 AM
l2k-Shadow
You are assembling the packet incorrectly, check out my user comment in Bnetdocs.
September 13, 2005, 1:34 PM
One-Way
thx Shadow...

but i send:
68 0c f9 80 27 e4 02 04 0b 00 00 00 50 cc 5d ed b6 19 a5 91 02 43 61 72 65 6e 2d 4d 69 78 49 49 00 00 00 00 00

and the orginal is:
68 53 70 1B 27 AA 03 04 0B 00 00 00 50 CC 5D ED B6 19 A5 91 00 43 61 72 65 6E 2D 4D 69 78 49 49 00 00 00 00 00

i dont now what is wrong...
September 13, 2005, 5:34 PM
l2k-Shadow
You are getting incorrect Game Token and Game Hash values... they are located in packet 0x04 - MCP_JOINGAME.

Also
[code]
        .InsertDWORD &HB
        .InsertDWORD &HED5DCC50
        .InsertDWORD &H91A519B6
        .InsertBYTE &H2
[/code]
[code]
.InsertByte &H0
[/code]
read bnetdocs ;p
September 13, 2005, 10:29 PM
One-Way
thx shadow !!!

i read drink too mutch du undestat that but i read that tommror i'm so happy that anny help me ;D
September 13, 2005, 10:50 PM
One-Way
i have edit my code
so the orginal:
68 33 16 0b 2f 70 03 04 0b 00 00 00 50 cc 5d ed b6 19 a5 91 02 43 61 72  65 6e 2d 4d 69 78 49 49 00 00 00 00 00

i send :

68 52 71 4b 08 70 03 04 0b 00 00 00 50 cc 5d ed b6 19 a5 91 02 43 61 72  65 6e 2d 4d 69 78 49 49 00 00 00 00 00

then i get the "02 5C" and i resend 0x66 and 0x6d is this raight?
September 15, 2005, 1:49 PM
Ringo
On recving compressed 0x5C02, then you should send a 0x6D packet, and a 0x6B packet to enter the game.
You wont need to send a 0x66 unless you recv 0xAE, but at the moment, warden client is still switched off.
September 15, 2005, 1:55 PM
One-Way
the 0x6d is the ping packet?

  .InsertDWORD GetTickCount
  .InsertDWORD &H0
  .InsertDWORD &H0
  .SendGPacket &H6D

right?
September 15, 2005, 2:35 PM
One-Way
its works but what is the exit packet?
September 15, 2005, 2:39 PM
Ringo
https://davnit.net/bnet/vL/phpbbs/index.php?topic=11756.msg115221#msg115221
Iv just updated a few formats, the leave game packet is now 0x69
September 15, 2005, 2:42 PM
One-Way
big thx ;)
September 15, 2005, 2:45 PM

Search