• Welcome to Valhalla Legends Archive.
 

Need help with C->S packet 0x68

Started by One-Way, September 09, 2005, 06:50 PM

Previous topic - Next topic

One-Way

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

what is wrong?

Blaze

You didn't write your code?


.InsertBYTE "&H" & CharByte

I'm guess that.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

Hdx

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

One-Way

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