Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-01-2012, 02:40 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default 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
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #2  
Old 05-01-2012, 04:41 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:53 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3