Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: blinkdude on September 08, 2003, 05:28 PM

Title: Build Packet Help
Post by: blinkdude on September 08, 2003, 05:28 PM
i know the idle packet is 0x0 but how would i send it with CSB.ocx i found this but i duno.... ( staying connected packet )

CleanSlateBot1.BuildPacket("BNET", "PACKET", &H10, "DWORD", 2, "NTSTRING", "ChannelToJoin", "PACKET", &HC)
Title: Re:Build Packet Help
Post by: Camel on September 08, 2003, 08:12 PM
Uh, that looks like a channel creation packet...
Title: Re:Build Packet Help
Post by: Soul Taker on September 08, 2003, 10:47 PM
This is why CSB is evil!!  :P
Title: Re:Build Packet Help
Post by: TheMinistered on September 08, 2003, 11:56 PM
Hmm cuphead wasn't too smart when designing CSB... the use of strings to determine things like "DWORD", and "NTSTRING" are a little farfetched... why not use a enum?
Title: Re:Build Packet Help
Post by: blinkdude on September 08, 2003, 11:57 PM
how would i build the packet for the idle packet?
Title: Re:Build Packet Help
Post by: Camel on September 09, 2003, 01:23 AM
Quote from: TheMinistered on September 08, 2003, 11:56 PMHmm cuphead wasn't too smart when designing CSB... the use of strings to determine things like "DWORD", and "NTSTRING" are a little farfetched... why not use a enum?

Because that wouldn't take enough CPU cycles, duh.