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.

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.



  • Posts

    • 🤣 You were talking about security — I want you to prove that it's actually insecure, try to hack it or something. You're just talking without any evidence, and that's not right. Without the personal key that's generated for each site, you can't do anything. And by the way, boberKurwa isn't even used — it's a joke, and you totally fell for it. You're being very unconstructive. I appreciate criticism based on facts, and here's a fact: Sphere 2 has been running publicly since October, and there haven't been any successful hacking attempts. If you doubt that, go ahead and prove me wrong.  
    • When a conversation loses its direction and turns into pointless justifications, maybe the problem isn't who's right it's who's insecure. The phrase "there is nothing for me to prove" shows confidence or indifference. But let’s look at it in PHP. class Logan22 { public bool $hasSomethingToProve = false; public string $communicationMode = 'normal'; public bool $usesChatGPT = false; public function respond(string $input): string { if (str_contains($input, 'prove')) { return "I have nothing to prove."; } if (str_contains($input, 'defensive')) { $this->communicationMode = 'defensive'; return "You got defensive – did something feel threatening?"; } if (str_contains($input, 'ChatGPT')) { $this->usesChatGPT = true; return "Yes, I use it for speed, accuracy, and because my spelling sucks."; } return "What did you just say again?"; } }  
    • You wrote complete nonsense. Everything you said is utter rubbish from someone who doesn’t understand a thing. As for the ticking time bomb — go ahead and try to prove it. No one has managed so far, and trust me, there’ve been plenty of “smart guys” before you.    
    • Grab a proper launcher for Your server - update files whenever You need
  • Topics

×
×
  • Create New...