Jump to content
  • 0

Pvp system color problem.(All color are Cyan)


Question

Posted

Hi everybody .

 

So i have an little problem with my pvp color system (freya server).

 

I use Hex Color Finder for find Hex for my system color, but all colors become cyan in game . I have try manything but don't work. Someone can help me please?

 

9 answers to this question

Recommended Posts

  • 0
Posted

I use this patch :

 

http://maxcheaters.com/forum/index.php?topic=28059.0

 

 

And my code in config.java:

 

 NAME_COLOR_FOR_PVP_A-beep-T1 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t1", "FFB900")).intValue();
		          NAME_COLOR_FOR_PVP_A-beep-T2 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t2", "FF9200")).intValue();
		          NAME_COLOR_FOR_PVP_A-beep-T3 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t3", "FF7700")).intValue();
		          NAME_COLOR_FOR_PVP_A-beep-T4 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t4", "FF5D00")).intValue();
		          NAME_COLOR_FOR_PVP_A-beep-T5 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t4", "FF2F00")).intValue();

 

And my l2jmods configuration:

 

# Pvp Amount & Name color level 1.
PvpAmount1 = 200
ColorForAmount1 = FFB900

# Pvp Amount & Name color level 2.
PvpAmount2 = 400
ColorForAmount2 = FF9200

# Pvp Amount & Name color level 3.
PvpAmount3 = 800
ColorForAmount3 = FF7700

# Pvp Amount & Name color level 4.
PvpAmount4 = 1600
ColorForAmount4 = FF5D00

# Pvp Amount & Name color level 5.
PvpAmount5 = 3200
ColorForAmount5 = FF2F00

  • 0
Posted

I would suggest you to change the type of the variables:

 

NAME_COLOR_FOR_PVP_A-beep-T1 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForA-beep-t1", "FFB900")).intValue();

 

for:

 

NAME_COLOR_FOR_PVP_A-beep-T1 = Integer.parseInt(L2JModSettings.getProperty("ColorForA-beep-t1","100");

 

And you can take Int values from GM/ADM color name in Database, etc... Also u could take item "Color Name" in-game and use to change your title color and then go and look in the Database for the Int value.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..