Sorry, just saw the post about not having a Mac platform to build on. I’ve got a developer co-worker that runs Mac at home. What does it take to do a build on Mac? Maybe I can talk to him to see if he would be willing to do a build…
I’ll take a look at message scrapping the server logs.
I do think putting in a system to allow hooking into game events would be neat.
The system could be based on a threaded message queue to protect the game.
When the game starts up, it could look for C DLLs with a particular method signature in a specific directory. It could be as simple as one function with a named event parameter. The events could have categories to organize then a bit better.
As events happen in the game, the events are pushed onto the queue. A threaded consumer pulls the events off the queue and calls the found DLLs.
If one of the DLLs crashed, hopefully it only takes the thread down and not the game.