Skip to content

Pvp system color problem.(All color are Cyan)

Featured Replies

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?

 

  • Author

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

  • Author

Up, i need help please.

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 ?

  • Author

Yes i have check on a regular account/character, and the only problem is about the color yes. It's strange

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.

  • Author

Thank's  for suggestion, i will try it now :)

 

Edit: Error when i launch the game server like this .

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

  • Author

Ok, thank's i will test it :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.