Jump to content

Recommended Posts

Posted

When New Clan member join to clan, her title will be clan name.

 

 

Index: trunk/L2jLive_GameServer/java/com/l2jserver/Config.java
===================================================================
--- /tmp/svn_fs20100723-29614-u6ce7v-0	Fri Jul 23 15:24:14 2010
+++ /tmp/svn_fs20100723-29614-28ntn-0	Fri Jul 23 15:24:14 2010
@@ -227,6 +227,7 @@
	public static boolean SHOW_RED_SKY_ON_DEATH;
	public static String BLOCK_DATE_FORMAT;
	public static String BLOCK_HOUR_FORMAT;
+	public static boolean CLAN_NAME_AS_TITLE;

	/** ************************************************** **/
	/**                 L2jLive Settings End               **/
@@ -1115,6 +1116,7 @@
					CLAN_LEADER_COLOR_TITLE = Integer.decode("0x" + L2jLiveCharacterSettings.getProperty("ClanLeaderTitleColor", "FFFF77"));
					CLAN_LEADER_COLOR = Integer.decode("0x" + L2jLiveCharacterSettings.getProperty("ClanLeaderNameColor", "00FF00"));
					CLAN_LEADER_COLOR_CLAN_LEVEL = Integer.parseInt(L2jLiveCharacterSettings.getProperty("ClanLeaderColorClanLevel", "5"));
+					CLAN_NAME_AS_TITLE = Boolean.parseBoolean(L2jLiveCharacterSettings.getProperty("ClanTitle", "False"));
				}
				catch (Exception e)
				{

Index: trunk/L2jLive_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /tmp/svn_fs20100723-29614-inurj6-0	Fri Jul 23 15:24:14 2010
+++ /tmp/svn_fs20100723-29614-boosaa-0	Fri Jul 23 15:24:14 2010
@@ -6537,8 +6537,15 @@
	public void setClan(L2Clan clan)
	{
		_clan = clan;
-		setTitle("");
-
+		if (Config.CLAN_NAME_AS_TITLE)
+		{
+			setTitle(""+clan.getName()+"");
+		}
+		else
+		{
+			setTitle("");
+		}
+		
		if (clan == null)
		{
			_clanId = 0;

Index: trunk/L2jLive_GameServer/java/config/L2jLive/Character.properties
===================================================================
--- /tmp/svn_fs20100723-29614-196ov02-0	Fri Jul 23 15:24:14 2010
+++ /tmp/svn_fs20100723-29614-1il44bc-0	Fri Jul 23 15:24:14 2010
@@ -19,3 +19,9 @@

# Title color
ClanLeaderTitleColor = FFFF77
+
+# Clan Title.
+# When a player Join at Clan,
+# Clan name will be his Title (Not Forever).
+# Default: False
+ClanTitle = False

 

Credits to L2jLive

  • 3 months later...
  • 3 weeks later...
  • 3 months later...
  • 6 months later...
  • 4 months later...
Posted

Unfortunately this code has a bug when you leave the clan he removes all the class and become human char and lose all skills code that is bad ....

 

 

checked and if the bug really bad code

 

:(

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
  • Posts

    • NEW SEASON START 23.01.2026 Get ready for the ultimate High Five adventure on L2Exoplanet.net!   • The last two previous Seasons are now merged into the Core Server. • The Core Server remains our main long-term world. • All future Seasonal Servers will be merged into Core after they end. • No characters or items will be lost – everything stays safe!     GRAND OPENING:  23.01.2026 at 20:00 GMT+1 BETA TEST:    16.01.2026    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x5  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players
    • when did i say something about mobius files besides what i've said on this post? or you're "calling me out" for saying this when someone says mobius is a better interlude alternative than acis? lol  
    • Spreading FUD disguised as "experience," mocking the project publicly, then acting shocked when called out. That's the conduct.
  • Topics

×
×
  • 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..

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