View Full Version : Consider
Zothen
05-18-2011, 06:59 AM
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!
ChaosSlayerZ
05-18-2011, 10:56 AM
color is assigned by the client
Zothen
05-18-2011, 12:43 PM
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.
devn00b
05-18-2011, 01:00 PM
In this case login to your server #level 10 yourself and start #spawning mobs
and note the con colors.
sorvani
05-18-2011, 09:20 PM
Also the con colors can be different in different clients
ChaosSlayerZ
05-18-2011, 10:14 PM
yeah SoF and SoD also have Grey color, which T doesn't have, to replace "green-green" cons that was in T
Zothen
05-19-2011, 04:48 AM
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/showthread.php?p=200144#post200144
Thanks for the help! :)
Zothen
05-19-2011, 08:23 AM
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).
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.