• Welcome to Valhalla Legends Archive.
 

[VB] 0x0F Parsing

Started by Noodlez, December 23, 2002, 05:04 PM

Previous topic - Next topic

Noodlez

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

dxoigmn

#1
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.

iago

#2
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 :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Noodlez

#3
only thing that cant do is tell the item type/color a d2 character is wearing

Arta

#4
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.

iago

#5
Unless somebody else programmed them...
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Arta

#6
Well, obviously :P

warz

#7
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.

Skywing

#8
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)?