EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   Manual Debugging Cues (https://www.eqemulator.org/forums/showthread.php?t=35290)

Uleat 05-01-2012 02:40 AM

Manual Debugging Cues
 
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:

Code:

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.


All times are GMT -4. The time now is 05:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.