Hello community . As you know , there is a bug on L2jFrozen . If admin set to color clan leader title , you can make all players of this clan to have the same title by changing the clan leader .
Exemple : I am Leader . I have green color and then i change clan leader . After changing i'm not leader but i have green title color . My friend gonna give my clan back and then he will have green title color too as me , but he's not clan leader .
I tryied fix it and i successed.
L2jFrozen Code
// Apply color settings to clan leader when entering
if (activeChar.getClan() != null && activeChar.isClanLeader() && Config.CLAN_LEADER_COLOR_ENABLED && activeChar.getClan().getLevel() >= Config.CLAN_LEADER_COLOR_CLAN_LEVEL)
{
if (Config.CLAN_LEADER_COLORED == 1)
activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
else
activeChar.getAppearance().setTitleColor(Config.CLAN_LEADER_COLOR);
}
MY EDIT ADDED .
if(activeChar.getClan() != null )
if(!activeChar.isClanLeader())
activeChar.getAppearance().setTitleColor(Config.CLAN_NOLEADER_COLOR);
But that's not really good , cuz player must restart to change his title color from "green"(Config.CLAN_LEADER_COLOR) to "white"Config.CLAN_NOLEADER_COLOR). Can you tell me how i can kill connection ? In moment when clan leader is changed , last clan leader to be kicked , not actually .
Sorry for my english ... :D But i hope you understand what i'm writing
Launch of the New Top Servers Platform
We are pleased to announce the official launch of our new Top Servers platform — a space designed for administrators and communities to publish, promote, and grow their servers with complete freedom and transparency.
🔗 Direct Access:
https://www.united-extreme.com/u3games/topservers
This project was created with a clear goal: to offer a fair and open system where every server can gain the visibility it deserves thanks to player support.
🔥 Key Features:
Voting every 24 hours available for both registered and guest users.
Integrated CAPTCHA system to ensure votes are legitimate and free of bot interference.
Configurable external links — ideal for reward panels or other associated platforms.
No intrusive advertising: all servers compete under equal conditions.
Advanced user dashboard to easily manage and update published servers.
Real rate system, differentiating user and guest votes.
Organic promotion from the U3Games community, which exceeds 25,000 daily visits, providing real visibility.
Here, every server has the opportunity to grow, stand out, and build a strong community without limitations. We invite you to be part of this new stage. Publish your server, make it visible, and let the players decide.
Welcome to the new generation of tops — welcome to U3Games Top Servers.
A question: I’ve had two servers that were downgraded from C6 to C4, and both would lag for players when they changed subclass, and almost every time the L2 server would crash. They say it’s a problem with the C5 skills that were added. Has anyone experienced this issue? The server would run fine without errors until people started changing classes. Has anyone gone through this and knows the solution to the problem?
Question
Joκκєrino
Hello community . As you know , there is a bug on L2jFrozen . If admin set to color clan leader title , you can make all players of this clan to have the same title by changing the clan leader .
Exemple : I am Leader . I have green color and then i change clan leader . After changing i'm not leader but i have green title color . My friend gonna give my clan back and then he will have green title color too as me , but he's not clan leader .
I tryied fix it and i successed.
L2jFrozen Code // Apply color settings to clan leader when entering if (activeChar.getClan() != null && activeChar.isClanLeader() && Config.CLAN_LEADER_COLOR_ENABLED && activeChar.getClan().getLevel() >= Config.CLAN_LEADER_COLOR_CLAN_LEVEL) { if (Config.CLAN_LEADER_COLORED == 1) activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR); else activeChar.getAppearance().setTitleColor(Config.CLAN_LEADER_COLOR); } MY EDIT ADDED . if(activeChar.getClan() != null ) if(!activeChar.isClanLeader()) activeChar.getAppearance().setTitleColor(Config.CLAN_NOLEADER_COLOR);But that's not really good , cuz player must restart to change his title color from "green"(Config.CLAN_LEADER_COLOR) to "white"Config.CLAN_NOLEADER_COLOR). Can you tell me how i can kill connection ? In moment when clan leader is changed , last clan leader to be kicked , not actually .
Sorry for my english ... :D But i hope you understand what i'm writing
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now