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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2007, 09:20 PM
froglok23's Avatar
froglok23
Hill Giant
 
Join Date: May 2005
Location: Australia
Posts: 113
Default Message() method

Hi all,

Just going over the code and doing some refactoring and turning some magic numbers into consts / enums and such and Iv come across the Message() method (pretty hard to miss :P)

example:

Message(13,"Your target is too far away, get closer!");
Message(4, "You mend your wounds and heal some damage");
Message(0, "GMHome is for GMs only");

If someone has a quick reference for these numbers : 4,13, 0 it would be a great help.

i.e
What does 13 mean?
What does 4 mean?
What does 0 mean?
What does 'x' mean?

If no one has a quick reference that’s cool, ill just load up some debug code and check in-game.

Also, Appearances, 3 and 5 (iv got 0,1,2 down pat)

Cheers & Thanks in Advance,

- froglok23
Reply With Quote
  #2  
Old 09-22-2007, 01:04 PM
Lalolyen
Banned
 
Join Date: Aug 2007
Location: Sneeking up behind a admin IRL
Posts: 169
Default

Double post sorry =(

Last edited by Lalolyen; 09-22-2007 at 09:08 PM..
Reply With Quote
  #3  
Old 09-22-2007, 01:06 PM
Lalolyen
Banned
 
Join Date: Aug 2007
Location: Sneeking up behind a admin IRL
Posts: 169
Default

At first it looked like reference numbers, but as I looked again and changed one and recompiled on my test box, its the color...

Code:
Message(13,"Your target is too far away, get closer!");
changing to

Code:
Message(15,"Your target is too far away, get closer!");
where changing from 13 to 15, changes the output from red to yellow.

Like when you do #emote zone 15 TEXTHERE makes yellow: TEXTHERE. I'm assuming that the X = 15 in that case.
Reply With Quote
  #4  
Old 09-22-2007, 03:02 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

The number denotes client message type. The earlier numbers are just colors hardcoded into the client while some later types correspond to actual custom message filters in the client.

For example as you might have guessed 13 is the clients standard error message color.
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 05:16 PM.


 

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