Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: Arthas on January 08, 2004, 06:45 PM

Title: Packet 0x7C Information
Post by: Arthas on January 08, 2004, 06:45 PM
I get disconnected when I send this:


   With pBuffer
       .InsertDWORD &H1 'Tried nonNTstring, same thing
       .InsertDWORD &H0 'says for it to be 0
       .InsertNTString txtNews.text 'is not empty
       .SendPacket frmMain.sckBnet, &H7C 'is correct
   End With


yay! not getting IP banned!
Help.

-Arthas
Title: Re:&H7C - Looked simple.. But not at all?
Post by: UserLoser. on January 08, 2004, 07:11 PM
All there is to it:

0x7C, C->S:
(DWORD) Cookie

0x7C, S->C:
(DWORD) Cookie
(STRING) MOTD

Note, this requests the MOTD, if you want to set it you should use:

0x7B, C->S:
(DWORD) Cookie?
(STRING) New MOTD
Title: Re:&H7C - Looked simple.. But not at all?
Post by: Arthas on January 08, 2004, 07:24 PM
Okay, because it was disconnecting me for the second dword I was sending I assume. Thanks.