Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2011, 06:59 AM
Zothen
Hill Giant
 
Join Date: Apr 2011
Location: Germany
Posts: 163
Question Consider

How does the client know which mob is green and which is gray con? Searching through the server source I havent found a CON_GRAY or something, it ends with CON_GREEN = 2.

My goal is to make all outleveled gray mobs non-aggro.

Its important for me that the Mob::GetConLevel() function return the exact mob con color that is shown in the client. Or is that color controlled by the server?

Thanks in advance!
Reply With Quote
  #2  
Old 05-18-2011, 10:56 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

color is assigned by the client
Reply With Quote
  #3  
Old 05-18-2011, 12:43 PM
Zothen
Hill Giant
 
Join Date: Apr 2011
Location: Germany
Posts: 163
Default

If that is the case, then the client must use a formula based on the mobs level. I need to know that formula to make the server function Mob::GetConLevel() return exact that color value.

Please, I need more detailed info.
Reply With Quote
  #4  
Old 05-18-2011, 01:00 PM
devn00b's Avatar
devn00b
Demi-God
 
Join Date: Jan 2002
Posts: 15,658
Default

In this case login to your server #level 10 yourself and start #spawning mobs
and note the con colors.
__________________
(Former)Senior EQEMu Developer
GuildWars Co-Founder / World Builder.
World Builder and Co-Founder Zek [PVP/Guild Wars/City Takeovers]
Member of the "I hate devn00b" Club
Most Senior EQEMu Member.

Current Work: EverQuest 2 Emulator. Zeklabs Server
Reply With Quote
  #5  
Old 05-18-2011, 09:20 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

Also the con colors can be different in different clients
Reply With Quote
  #6  
Old 05-18-2011, 10:14 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

yeah SoF and SoD also have Grey color, which T doesn't have, to replace "green-green" cons that was in T
Reply With Quote
  #7  
Old 05-19-2011, 04:48 AM
Zothen
Hill Giant
 
Join Date: Apr 2011
Location: Germany
Posts: 163
Thumbs up

Quote:
Originally Posted by devn00b View Post
In this case login to your server #level 10 yourself and start #spawning mobs
and note the con colors.
Thats a brilliant idea and I did exactly that. My results can be found here:

http://www.eqemulator.org/forums/sho...144#post200144

Thanks for the help!
Reply With Quote
  #8  
Old 05-19-2011, 08:23 AM
Zothen
Hill Giant
 
Join Date: Apr 2011
Location: Germany
Posts: 163
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
yeah SoF and SoD also have Grey color, which T doesn't have, to replace "green-green" cons that was in T
Maybe we can use different GetConColor() functions for different clients (via patch.cpp files).
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:41 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