Author | Message | Time |
---|---|---|
PaiD | Ok I havnt been able to decompress the packets yet but I was lookin at an old post about it and I was able to make 0x65 (I think) but when I send it to d2gs I get so answer and I get sent no packets or anythin. [code] Case &HAE: With pBuffer .InsertNonNTString D2GS.Values2 .InsertNonNTString D2GS.Values .InsertBYTE &H0 .InsertBYTE &HA .InsertDWORD &H0 .InsertNTString "DueL_Test" .InsertBYTE &H0 .InsertBYTE &H0 .InsertBYTE &H0 .InsertBYTE &H0 .InsertBYTE &H0 .InsertBYTE &H0 .InsertBYTE &H0 .SendD2GSPacket &H65 End With Public Function SendD2GSPacket(PacketID As Byte) If frmMain.sckD2GS.State <> sckConnected Then Exit Function frmMain.sckD2GS.SendData Chr(PacketID) & Buffer Clear End Function [/code] I have hardcoded a few things just for testin. What is wrong? Edit: [code] Parsed from 0x04 D2GS.Values = Mid(Data, 6, 2) D2GS.Values2 = Mid(Data, 14, 4) [/code] | July 5, 2004, 8:16 PM |
Soul Taker | I can't tell what class your char is, but the byte before the version byte should identify your char class, if it doesn't already. Additionally, the last byte in the fixed-len string that contains the char name always seems to be 0x4c (unless, of course, the char name is 15 characters long, in which case it is a null byte), so you should maybe try altering that just to see if it may be checking it. | July 5, 2004, 10:26 PM |
PaiD | The packets sent to d2gs, are they also compressed? or is it just the server responses | July 6, 2004, 12:17 AM |
dRAgoN | [quote author=MoNeY link=board=17;threadid=7577;start=0#msg68710 date=1089073022] The packets sent to d2gs, are they also compressed? or is it just the server responses [/quote] Server to client = compressed client to server = raw data | July 6, 2004, 12:45 AM |