Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: One-Way on September 09, 2005, 06:50 PM

Title: Need help with C->S packet 0x68
Post by: One-Way on September 09, 2005, 06:50 PM
    With PB
        .InsertDWORD GetDWORD(GameHash)
        .InsertWORD GetWORD(GameByte)
        .InsertBYTE "&H" & CharByte
        .InsertPString CharName & &H0, 15
        .SendD2GSPacket2 &H68
   End With

what is wrong?
Title: Re: Need help with packet 0x68
Post by: Blaze on September 09, 2005, 06:53 PM
You didn't write your code?


.InsertBYTE "&H" & CharByte

I'm guess that.
Title: Re: Need help with packet 0x68
Post by: Hdx on September 09, 2005, 07:12 PM
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)~-~
Title: Re: Need help with packet 0x68
Post by: One-Way on September 11, 2005, 11:59 AM
        .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