So, I'm wondering if anyone has a clean(er) way to hook all events (specifically framescript events, but I wouldn't complain about glue events either). I did some reversing on this myself a long while ago (like pre 3.0) and it wasn't realistically possible because of the way the event handler worked; there wasn't a single call point that got called with every raw event. Rather it looked like there were a bestiary of event object types which got routed through a half dozen or so functions, and reversing/hooking/maintaining this would be prohibitive.
Right now, I capture all framescript events natively through a bit of injected Lua that hooks all events and pingpongs them back into the bot code. However, this is fragile and hacky and you need very special case handling for things like ReloadUI() and PLAYER_ENTERING_WORLD.
Is there a better way? Or am I to be stuck with my hack...