PDA

View Full Version : Manual Debugging Cues


Uleat
05-01-2012, 02:40 AM
Is there a message sub-system, that is common to all EQEmu projects, which will allow me to insert custom send-to-client messages anywhere within the code? (message logs aren't handy when trying to match the timing of server processes and client visual events.)

I've tried a few things that haven't worked, but I think it's because they're not tied to event handlers.

Thanks!
U

lerxst2112
05-01-2012, 04:41 PM
Not entirely sure what you're asking for, but this sends a message to a client:

SomeClientPtr->Message(0, "Some Message");

You do need a pointer to the client you wish to send to, but assuming it is for debugging only you could rig something up to either look up a particular client or just save some state somewhere that has the client pointer in it.