Valhalla Legends Forums Archive | Battle.net Bot Development | Need help with C->S packet 0x68

AuthorMessageTime
One-Way
    With PB
        .InsertDWORD GetDWORD(GameHash)
        .InsertWORD GetWORD(GameByte)
        .InsertBYTE "&H" & CharByte
        .InsertPString CharName & &H0, 15
        .SendD2GSPacket2 &H68
  End With

what is wrong?
September 9, 2005, 11:50 PM
KkBlazekK
You didn't write your code?

[code]
.InsertBYTE "&H" & CharByte
[/code]
I'm guess that.
September 9, 2005, 11:53 PM
HdxBmx27
Also the fact that your format is incorrect.
http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=447
Your missing 3 dwords and a byte
(DWORD) Version byte (Currently 0x0B)
(DWORD) Unknown - Suggested Const (0xED5DCC50)
(DWORD) Unknown - Suggested Const (0x91A519B6)
(BYTE) Unknown - Suggested (0x00)
~-~(HDX)~-~
September 10, 2005, 12:12 AM
One-Way
        .InsertDWORD GetDWORD(GameHash)
        .InsertWORD GetWORD(GameByte)
        .InsertBYTE &H4
        .InsertDWORD &HB
        .InsertDWORD &HED5DCC50
        .InsertDWORD &H91A519B6
        .InsertBYTE &H0
        .InsertPString CharName , 15
        .SendD2GSPacket2 &H68

the orginal form server:
68 ed 39 46 20 fc 01 04 0b 00 00 00 50 cc 5d ed b6 19 a5 91 02 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 00 00
and that i send:

68 73 02 BF 12 FC 01 04 0B 00 00 00 50 CC 5D ED B6 19 A5 91 02 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 00 00

and i get conecten error...
Game socket Error 10053 Connection is aborted due to timeout or other failure
September 11, 2005, 4:59 PM

Search