EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Consider (https://www.eqemulator.org/forums/showthread.php?t=33582)

Zothen 05-18-2011 06:59 AM

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!

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

Quote:

Originally Posted by devn00b (Post 200122)
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! :)

Zothen 05-19-2011 08:23 AM

Quote:

Originally Posted by ChaosSlayerZ (Post 200137)
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).


All times are GMT -4. The time now is 04:31 PM.

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