Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Noodlez on December 23, 2002, 05:04 PM

Title: [VB] 0x0F Parsing
Post by: Noodlez on December 23, 2002, 05:04 PM
This class will make 0x0F parsing easier then ever and it's straight out of HukChat :).

How to use it:
in (declarations)
Private WithEvents Binary as clsParseF

in Form_Load
Set Binary = new clsParseF

Now, look in list of objects. Binary should be there.
All events are in the most simple form and plain to understand.

http://www.noodlez.org/clsParseF.cls

Enjoy :)

edit: ack! forgot the link
Title: Re: [VB] 0x0F Parsing
Post by: dxoigmn on December 23, 2002, 06:30 PM
I don't understand what is so hard about parsing SID_CHATEVENT (0x0f).  I hear people saying that they can parse that packet better then other people can, and now this, a class dedicated to parsing it.  Perhaps you can enlighten me?  To me, this whole class is a joke and a testament to how "newb" bot makers using Visual Basic really are.
Title: Re: [VB] 0x0F Parsing
Post by: iago on December 23, 2002, 07:56 PM
It all depends how deep you go, like if your parser can tell what types of items a d2 guy is wearing or what icon a Warcraft III person has, etc.

Plus being able to read ping/flags/baadf00d right :)
Title: Re: [VB] 0x0F Parsing
Post by: Noodlez on December 23, 2002, 09:50 PM
only thing that cant do is tell the item type/color a d2 character is wearing
Title: Re: [VB] 0x0F Parsing
Post by: Arta on December 24, 2002, 07:30 AM
What's wrong with using a class?

Mine uses 2 with respect to parsing SID_CHATEVENT, one parses the packet (the same class that parses all the rest), another processes the event... That's not to mention classes for manage the Battle.net connection, to store incoming/outgoing data, and to convert data from Battle.net to the appropriate type. Using lots of classes isn't an indication of cluelessness.
Title: Re: [VB] 0x0F Parsing
Post by: iago on December 24, 2002, 08:59 AM
Unless somebody else programmed them...
Title: Re: [VB] 0x0F Parsing
Post by: Arta on December 24, 2002, 09:54 AM
Well, obviously :P
Title: Re: [VB] 0x0F Parsing
Post by: warz on December 24, 2002, 10:18 AM
That's a tad short of doing everything. Regarding kamakazie trying to prove some sort of point -- it's obviously programmer preference, you'll get over it.
Title: Re: [VB] 0x0F Parsing
Post by: Skywing on December 24, 2002, 04:55 PM
Quoteonly thing that cant do is tell the item type/color a d2 character is wearing
What about the channel join failure events (13, 14, and 15)?