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
You are assembling the packet incorrectly, check out my user comment in Bnetdocs (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=447).
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...
You are getting incorrect Game Token and Game Hash values... they are located in packet 0x04 - MCP_JOINGAME (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=364).
Also
.InsertDWORD &HB
.InsertDWORD &HED5DCC50
.InsertDWORD &H91A519B6
.InsertBYTE &H2
.InsertByte &H0
read bnetdocs ;p
thx shadow !!!
i read drink too mutch du undestat that but i read that tommror i'm so happy that anny help me ;D
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?
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.
the 0x6d is the ping packet?
.InsertDWORD GetTickCount
.InsertDWORD &H0
.InsertDWORD &H0
.SendGPacket &H6D
right?
its works but what is the exit packet?
http://forum.valhallalegends.com/phpbbs/index.php?topic=11756.msg115221#msg115221
Iv just updated a few formats, the leave game packet is now 0x69
big thx ;)