Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Dark-Feanor on June 09, 2003, 08:08 PM

Title: 0x2C packet problem
Post by: Dark-Feanor on June 09, 2003, 08:08 PM
This is the script I have for sending the 0x2C packet. For some reason, it does not work and disconnects me from b.net. Any help is apreciated.

   .InsertDWORD &H0
   .InsertDWORD &H8
   .InsertDWORD &H1
   .InsertDWORD &H2
   .InsertDWORD &H0
   .InsertDWORD &H0
   .InsertDWORD &H0
   .InsertDWORD &H0
   .InsertDWORD &H0
   .InsertDWORD &H0
   .InsertNTString Username
   .InsertNTString Username2
   .InsertBytes "(The game result information)"
   .sendPacket &HC2
Title: Re:0x2C packet problem
Post by: Brolly on August 07, 2003, 10:51 PM
A DWORD is four bytes long. I take it you want to insert bytes?
Title: Re:0x2C packet problem
Post by: Maddox on August 07, 2003, 11:12 PM

.sendPacket &HC2
Title: Re:0x2C packet problem
Post by: Mesiah / haiseM on August 14, 2003, 12:39 AM
you need to throw in your terminators, 0x0a and 0x00. Ill let u figure out where they need to be by reading your packet logs like a good boy :)
Title: Re:0x2C packet problem
Post by: Camel on August 14, 2003, 01:21 AM
MesiaH, that isn't going to help if he's still sending 0xC2.