Valhalla Legends Forums Archive | Battle.net Bot Development References | Creating a Packet Buffer

AuthorMessageTime
Lenny
Can someone explain to me exactly how it works?
July 3, 2003, 5:26 AM
Zakath
A packet buffer acts as a storage area. You add stuff to it a little at a time, then when you've assembled the complete packet within the buffer, you send it.
July 7, 2003, 2:53 AM
DaRk-FeAnOr
I wrote a small tutorial on it.
www.blizzside.com/feanor/PacketLogs.txt
It is kinda ghetto and incomplete, but it explains how to use DM's packet buffer class (VB) and basically how to read the packet that b.net sends you.
July 7, 2003, 3:28 AM
DarkMinion
http://dmbot.virtualave.net/DynBuffer.zip
July 7, 2003, 4:03 AM
Skywing
[quote author=DarkMinion link=board=17;threadid=1785;start=0#msg14070 date=1057550611]
http://dmbot.virtualave.net/DynBuffer.zip
[/quote]
BTW, it seems like clear() in that will leak memory after you've added things to the buffer.
July 8, 2003, 5:13 PM
DarkMinion
Yeah, I fixed that a while back, haven't uploaded, oops!
July 8, 2003, 7:02 PM

Search