• Welcome to Valhalla Legends Archive.
 

[VB] D2GS_LOGON C -> S 0x68

Started by One-Way, September 13, 2005, 06:42 AM

Previous topic - Next topic

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


l2k-Shadow

You are assembling the packet incorrectly, check out my user comment in Bnetdocs.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

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...

l2k-Shadow

You are getting incorrect Game Token and Game Hash values... they are located in packet 0x04 - MCP_JOINGAME.

Also

        .InsertDWORD &HB
        .InsertDWORD &HED5DCC50
        .InsertDWORD &H91A519B6
        .InsertBYTE &H2


.InsertByte &H0

read bnetdocs ;p
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

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

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?

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.

One-Way

the 0x6d is the ping packet?

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

right?

One-Way

its works but what is the exit packet?

Ringo


One-Way