Jump to content
  • 0

Pvp system color problem.(All color are Cyan)


Zenith

Question

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?

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

Does cyan supposed to be a GM color ? You check on a regular account ?

 

The system works correctly (color change at pvp/pk), but the only problem is about the color ?

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

Well, I'd suggest you to use this one since ur code is a bit outdated - or compare code. :P

 

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock