|
The best way to do a monster search is by logging incoming packets. The header of every packet has its size, and the type. For spawn packets, the type is 0x03f6. If you get an incoming packet that has a type equal to 0x03f6, you can check to see what monster it is, by looking 54 bytes into the packet for the name length, and readin bytes[55 to (55+namelen)] for the monster name.
Furthermore, you can read a WORD at bytes 46 and 48 for the monsters x and y co-ordinates respectively.
|