Hey,
I'm looking into making a plugin to read every outgoing packet, and instead of sending it, cancelling the packet and adding the action to a queue to.
I'm getting my head around windower.register_event('outgoing text'.. and but what I'm really stuck on is how to cancel the spell before the packet is sent? I've seen it done in gearswap but was unable to track the origin of the cancel_spell() function.
Another thing that concerns me is that if I cancel the spell in my plugin, obviously I don't want gearswap to change gear on it, will cancelling the spell stop gearswap or will I need to temporarily disable gearswap somehow?
Any and all advice is welcome.
Also, if I wanted to make this publicly available, what's the process for that?
Thanks.