It would be very possible to do something like this. PacketCollector runs in the same manner that the PacketHandling for EQEmu does. All packets that are validated as EQ packets are sent to a "HandlePacket" function, and in there you have a switch. You can do "case ZoneSpawn" or whatever it is you want to do to the packets. Although, I did get it to decompress/unwrap the new packets, so that should help a lot (it puts "*** Decompressed/Unwrapped Packet" if it came from one).
|