Jump to content

Recommended Posts

Posted

Well, a guy here was asking for this code (I explained at the title) and, since I decided to rework on Vago's one, I said "why don't I share it here, in case somebody else needs it too?"

And that's what I'm gonna do.

 

Explanation: Well, this is Vago's Color System but I have: Fixed his bugs, Fixed the patch (by creating a new one), Reworked on the second part by adding PvP settings instead of pk.

So now the whole system works with PvPs.

 

The following code is a rework at l2jteon's color system (as the guy in the topic requested), but of course you can add it in any project without errors.

 

Index: L2JTeon/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- L2JTeon/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 526)
+++ L2JTeon/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -3655,23 +3655,23 @@
	{
		if (Config.PVP_COLOR_SYSTEM_ENABLED)
		{
-			// Check if the character has GM access and if so, let them be.
+			//Check if the character has GM access and if so, let them be.
			if (isGM())
				return;
			{
-				if ((pvpKillAmount >= (Config.PVP_AMOUNT1)) && (pvpKillAmount < (Config.PVP_AMOUNT2)))
+				if ((pvpKillAmount >= (Config.PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
				{
					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT1);
				}
-				else if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount < (Config.PVP_AMOUNT3)))
+				else if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
				{
					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT2);
				}
-				else if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount < (Config.PVP_AMOUNT4)))
+				else if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
				{
					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT3);
				}
-				else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount < (Config.PVP_AMOUNT5)))
+				else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
				{
					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT4);
				}
@@ -3682,43 +3682,42 @@
			}
		}
	}
-
-	// Custom PVP Color System - End
-	// Custom Pk Color System - Start
-	public void updatePkColor(int pkKillAmount)
+	//Custom PVP Color System - End
+	
+	// Custom PVP Title Color System - Start
+	public void updatePvPTitleColor(int pvpKillAmount)
	{
		if (Config.PK_COLOR_SYSTEM_ENABLED)
		{
-			// Check if the character has GM access and if so, let them be, like above.
+			//Check if the character has GM access and if so, let them be, like above.
			if (isGM())
				return;
			{
-				if ((pkKillAmount >= (Config.PK_AMOUNT1)) && (pkKillAmount < (Config.PVP_AMOUNT2)))
+				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
				{
-					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT1);
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1);
				}
-				else if ((pkKillAmount >= (Config.PK_AMOUNT2)) && (pkKillAmount < (Config.PVP_AMOUNT3)))
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
				{
-					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT2);
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2);
				}
-				else if ((pkKillAmount >= (Config.PK_AMOUNT3)) && (pkKillAmount < (Config.PVP_AMOUNT4)))
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
				{
-					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT3);
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3);
				}
-				else if ((pkKillAmount >= (Config.PK_AMOUNT4)) && (pkKillAmount < (Config.PVP_AMOUNT5)))
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
				{
-					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT4);
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4);
				}
-				else if (pkKillAmount >= (Config.PK_AMOUNT5))
+				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
				{
-					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT5);
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5);
				}
			}
		}
	}
+	//Custom PVP Title Color System - End

-	// Custom Pk Color System - End
-
	/**
	 * Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers.<BR>
	 * <B><U> Concept</U> :</B><BR>
@@ -4727,7 +4726,10 @@
         
		// Add to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);
+		
		updatePvPColor(getPvpKills());
+		updatePvPTitleColor(getPvpKills());
+		
		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
	}
@@ -4894,7 +4896,7 @@
		// Add karma to attacker and increase its PK counter
		setPkKills(getPkKills() + 1);
		setKarma(getKarma() + newKarma);
-		updatePkColor(getPkKills());
+		
		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
	}
Index: L2JTeon/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- L2JTeon/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java	(revision 526)
+++ L2JTeon/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java	(working copy)
@@ -267,14 +267,14 @@
		activeChar.checkBanChat(false);
		// restore info about auto herbs loot

-		// Color System checks - Start =====================================================
-		// Check if the custom PvP and PK color systems are enabled and if so ==============
-		// check the character's counters and apply any color changes that must be done. ===
-		if (activeChar.getPvpKills() >= (Config.PVP_AMOUNT1) && (Config.PVP_COLOR_SYSTEM_ENABLED))
-			activeChar.updatePvPColor(activeChar.getPvpKills());
-		if (activeChar.getPkKills() >= (Config.PK_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED))
-			activeChar.updatePkColor(activeChar.getPkKills());
-		// Color System checks - End =======================================================
+		// ==========================================================================================================================================================
+        // Color System checks - Start ==============================================================================================================================
+        // Check if the custom PvP color systems are enabled and if so ==============================================================================================
+        // check the character's counters and apply any color changes that must be done. ============================================================================
+        if (activeChar.getPvpKills()>=(Config.PVP_AMOUNT1) && (Config.PVP_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvpKills());
+        if (activeChar.getPvpKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PK_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPTitleColor(activeChar.getPvpKills());
+        // Color System checks - End =================================================================================================================================
+        // ===========================================================================================================================================================

		if (Config.ALLOW_AUTOHERBS_CMD)
			activeChar.getAutoLootHerbs();
Index: L2JTeon/java/net/sf/l2j/Config.java
===================================================================
--- L2JTeon/java/net/sf/l2j/Config.java	(revision 526)
+++ L2JTeon/java/net/sf/l2j/Config.java	(working copy)
@@ -814,50 +814,29 @@
	public static int PK_REWARD_COUNT;

	// ** Colored pvp name system ** //
-	public static boolean PVP_COLOR_SYSTEM_ENABLED;
+	public static boolean		PVP_COLOR_SYSTEM_ENABLED;
+	public static int			PVP_AMOUNT1;
+	public static int			PVP_AMOUNT2;
+	public static int			PVP_AMOUNT3;
+	public static int			PVP_AMOUNT4;
+	public static int			PVP_AMOUNT5;
+	public static int			NAME_COLOR_FOR_PVP_AMOUNT1;
+	public static int			NAME_COLOR_FOR_PVP_AMOUNT2;
+	public static int			NAME_COLOR_FOR_PVP_AMOUNT3;
+	public static int			NAME_COLOR_FOR_PVP_AMOUNT4;
+	public static int			NAME_COLOR_FOR_PVP_AMOUNT5;
+	public static boolean		PK_COLOR_SYSTEM_ENABLED;
+	public static int			PVP_TITLE_AMOUNT1;
+	public static int			PVP_TITLE_AMOUNT2;
+	public static int			PVP_TITLE_AMOUNT3;
+	public static int			PVP_TITLE_AMOUNT4;
+	public static int			PVP_TITLE_AMOUNT5;
+	public static int			TITLE_COLOR_FOR_PVP_AMOUNT1;
+	public static int			TITLE_COLOR_FOR_PVP_AMOUNT2;
+	public static int			TITLE_COLOR_FOR_PVP_AMOUNT3;
+	public static int			TITLE_COLOR_FOR_PVP_AMOUNT4;
+	public static int			TITLE_COLOR_FOR_PVP_AMOUNT5;
	/** Colored pvp name system */
-	public static int PVP_AMOUNT1;
-	/** Colored pvp name system */
-	public static int PVP_AMOUNT2;
-	/** Colored pvp name system */
-	public static int PVP_AMOUNT3;
-	/** Colored pvp name system */
-	public static int PVP_AMOUNT4;
-	/** Colored pvp name system */
-	public static int PVP_AMOUNT5;
-	/** Colored pvp name system */
-	public static int NAME_COLOR_FOR_PVP_AMOUNT1;
-	/** Colored pvp name system */
-	public static int NAME_COLOR_FOR_PVP_AMOUNT2;
-	/** Colored pvp name system */
-	public static int NAME_COLOR_FOR_PVP_AMOUNT3;
-	/** Colored pvp name system */
-	public static int NAME_COLOR_FOR_PVP_AMOUNT4;
-	/** Colored pvp name system */
-	public static int NAME_COLOR_FOR_PVP_AMOUNT5;
-	/** Colored pvp name system */
-	public static boolean PK_COLOR_SYSTEM_ENABLED;
-	/** Colored pk name system */
-	public static int PK_AMOUNT1;
-	/** Colored pk name system */
-	public static int PK_AMOUNT2;
-	/** Colored pk name system */
-	public static int PK_AMOUNT3;
-	/** Colored pk name system */
-	public static int PK_AMOUNT4;
-	/** Colored pk name system */
-	public static int PK_AMOUNT5;
-	/** Colored pk name system */
-	public static int TITLE_COLOR_FOR_PK_AMOUNT1;
-	/** Colored pk name system */
-	public static int TITLE_COLOR_FOR_PK_AMOUNT2;
-	/** Colored pk name system */
-	public static int TITLE_COLOR_FOR_PK_AMOUNT3;
-	/** Colored pk name system */
-	public static int TITLE_COLOR_FOR_PK_AMOUNT4;
-	/** Colored pk name system */
-	public static int TITLE_COLOR_FOR_PK_AMOUNT5;
-	/** Colored pk name system */

	// * Baby Pets Customizations *//
	/** Can Baby Pets Grow Up? * */
@@ -2659,30 +2638,30 @@
				BANKING_SYSTEM_ADENA = Integer.parseInt(L2JTeonCustom.getProperty("BankingSystemAdena", "0"));
				BANKING_SYSTEM_GOLDBARS = Integer.parseInt(L2JTeonCustom.getProperty("BankingSystemGoldBars", "0"));
				// ************************//
-				/* PvP E Pk Color System */
+				/* PvP Color System       */
				// **********************//
-				PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JTeonCustom.getProperty("EnablePvPColorSystem", "False"));
-				PVP_AMOUNT1 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount1", "500"));
-				PVP_AMOUNT2 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount2", "1000"));
-				PVP_AMOUNT3 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount3", "1500"));
-				PVP_AMOUNT4 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount4", "2500"));
-				PVP_AMOUNT5 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount5", "5000"));
-				NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount1", "00FF00"));
-				NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount2", "00FF00"));
-				NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount3", "00FF00"));
-				NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount4", "00FF00"));
-				NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount4", "00FF00"));
-				PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JTeonCustom.getProperty("EnablePkColorSystem", "False"));
-				PK_AMOUNT1 = Integer.parseInt(L2JTeonCustom.getProperty("PkAmount1", "500"));
-				PK_AMOUNT2 = Integer.parseInt(L2JTeonCustom.getProperty("PkAmount2", "1000"));
-				PK_AMOUNT3 = Integer.parseInt(L2JTeonCustom.getProperty("PkAmount3", "1500"));
-				PK_AMOUNT4 = Integer.parseInt(L2JTeonCustom.getProperty("PkAmount4", "2500"));
-				PK_AMOUNT5 = Integer.parseInt(L2JTeonCustom.getProperty("PkAmount5", "5000"));
-				TITLE_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount1", "00FF00"));
-				TITLE_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount2", "00FF00"));
-				TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount3", "00FF00"));
-				TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount4", "00FF00"));
-				TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount5", "00FF00"));
+				PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JTeonCustom.getProperty("EnablePvPColorSystem", "false"));
+    			PVP_AMOUNT1 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount1", "500"));
+    			PVP_AMOUNT2 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount2", "1000"));
+    			PVP_AMOUNT3 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount3", "1500"));
+    			PVP_AMOUNT4 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount4", "2500"));
+    			PVP_AMOUNT5 = Integer.parseInt(L2JTeonCustom.getProperty("PvpAmount5", "5000"));
+    			NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount1", "00FF00"));
+    			NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount2", "00FF00"));
+    			NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount3", "00FF00"));
+    			NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount4", "00FF00"));
+    			NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("ColorForAmount4", "00FF00"));
+    			PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JTeonCustom.getProperty("EnablePvPTitleColorSystem", "false"));
+    			PVP_TITLE_AMOUNT1 = Integer.parseInt(L2JTeonCustom.getProperty("PvPTitleAmount1", "500"));
+    			PVP_TITLE_AMOUNT2 = Integer.parseInt(L2JTeonCustom.getProperty("PvPTitleAmount2", "1000"));
+    			PVP_TITLE_AMOUNT3 = Integer.parseInt(L2JTeonCustom.getProperty("PvPTitleAmount3", "1500"));
+    			PVP_TITLE_AMOUNT4 = Integer.parseInt(L2JTeonCustom.getProperty("PvPTitleAmount4", "2500"));
+    			PVP_TITLE_AMOUNT5 = Integer.parseInt(L2JTeonCustom.getProperty("PvPTitleAmount5", "5000"));
+    			TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount1", "00FF00"));
+    			TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount2", "00FF00"));
+    			TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount3", "00FF00"));
+    			TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount4", "00FF00"));
+    			TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount5", "00FF00"));
				// PvP and PK Reward
				ALLOW_PVP_REWARD = Boolean.parseBoolean(L2JTeonCustom.getProperty("AllowPvpRewardSystem", "False"));
				PVP_REWARD_ITEM = Integer.parseInt(L2JTeonCustom.getProperty("PvpRewardItem", "57"));
Index: L2JTeon/java/config/Custom/L2JTeonCustom.properties
===================================================================
--- L2JTeon/java/config/Custom/L2JTeonCustom.properties	(revision 526)
+++ L2JTeon/java/config/Custom/L2JTeonCustom.properties	(working copy)
@@ -528,62 +528,62 @@
L2WalkerProtection = False

# ---------------------------------------
-# Change Name's Color Via PvP's
+# PvP Name Color Change System by VaGo
# ---------------------------------------
# Each Amount will change the name color to the values defined here.
# Example: PvpAmmount1 = 500, when a character's PvP counter reaches 500, their name color will change
# according to the ColorForAmount value.
-# Note: Colors Must Use RGB format
-EnablePvPColorSystem = False
+# Note: Colors Must Use RBG format
+EnablePvPColorSystem = false

# Pvp Amount & Name color level 1.
-PvpAmount1 = 50
-ColorForAmount1 = B5B5B5
+PvpAmount1 = 500
+ColorForAmount1 = CCFF00

# Pvp Amount & Name color level 2.
-PvpAmount2 = 100
-ColorForAmount2 = B5B5B5
+PvpAmount2 = 1000
+ColorForAmount2 = 00FF00

# Pvp Amount & Name color level 3.
-PvpAmount3 = 200
-ColorForAmount3 = B5B5B5
+PvpAmount3 = 1500
+ColorForAmount3 = 00FF00

# Pvp Amount & Name color level 4.
-PvpAmount4 = 300
-ColorForAmount4 = B5B5B5
+PvpAmount4 = 2500
+ColorForAmount4 = 00FF00

# Pvp Amount & Name color level 5.
-PvpAmount5 = 400
-ColorForAmount5 = B5B5B5
+PvpAmount5 = 5000
+ColorForAmount5 = 00FF00

# ---------------------------------------
-# Change Title's Color Via Pk's
+# PvP Title Color System Reworked by Coyote
# ---------------------------------------
# Same as above, with the difference that the PK counter changes the title color.
# Example:  PkAmmount1 = 500, when a character's PK counter reaches 500, their title color will change
# according to the Title For Amount
-# WAN: Colors Must Use RGB format
-EnablePkColorSystem = False
+# WAN: Colors Must Use RBG format
+EnablePvPTitleColorSystem = false

-# Pk Amount & Title color level 1.
-PkAmount1 = 50
-TitleForAmount1 = B5B5B5
+# PvP Amount & Title color level 1.
+PvPTitleAmount1 = 500
+TitleForAmount1 = 00FF00

-# Pk Amount & Title color level 2.
-PkAmount2 = 100
-TitleForAmount2 = B5B5B5
+# PvP Amount & Title color level 2.
+PvPTitleAmount2 = 1000
+TitleForAmount2 = 00FF00

-# Pk Amount & Title color level 3.
-PkAmount3 = 200
-TitleForAmount3 = B5B5B5
+# PvP Amount & Title color level 3.
+PvPTitleAmount3 = 1500
+TitleForAmount3 = 00FF00

-# Pk Amount & Title color level 4.
-PkAmount4 = 300
-TitleForAmount4 = B5B5B5
+# PvP Amount & Title color level 4.
+PvPTitleAmount4 = 2500
+TitleForAmount4 = 00FF00

-# Pk Amount & Title color level 5.
-PkAmount5 = 400
-TitleForAmount5 = B5B5B5
+# PvP Amount & Title color level 5.
+PvPTitleAmount5 = 5000
+TitleForAmount5 = 00FF00

# -------------------------------------------------------------
# Custom PVP/PK settings									  -

 

 

DO NOT ASK ME HOW TO PUT THIS IN YOUR SERVER! THERE HAVE BEEN MADE TONS OF GUIDES!

 

Status: Tested and works w/o compile errors. hf.

 

Credits: Vago for the starting erroneous code, and Coyote for fixing it, and reworking the other part.

 

 

Bye bye.

Posted

Edit: Compile Ok

 

Edit 2: Fixed for the client?? i dont know i will try tomorrow GOOD NIGHT OR DAY

 

What do you mean the client?

I do not touch the client for this modification..

Posted

what bugs did you found and fix?

coz isnt so hard to add pvp title system (when you take it from one other)

 

a/w thank you!

 

well, if you ever be able to read java (no need to be able to code it, im a "beginner" too), then you'll see that it's not something that I took from another =]

and btw the patch that vago had given, showed to put everything at enterworld, lol.

Posted

I try and this code is OK.

 

Caution: blue color = red color  and red color = blue color

 

This happens with almost all the colors in lineage =P

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

    • L2 Kings    Stage 1 – The Awakening Dynasty and Moirai Level Cap: 83 Gear: Dynasty -Moirai & Weapons (Shop for Adena + Drop from mobs/instances ) Masterwork System: Available (Neolithics S required with neolithics u can do armor parts foundation aswell) Class Cloaks: Level 1 - Masterwork sets such us moirai/dynasty stats are boosted also vesper(stage 2) Olf T-Shirt: +6 (fails don’t reset) safe is +2 Dolls: Level 1 Belts: Low & Medium Enchant: Safe +3 / Max +8 / Attribution Easy in Moirai-Dynasty . Main Zones: Varka Outpost: Easy farm, Adena, EXP for new players = > 80- 100kk hour Dragon Valley: Main farm zone — , 100–120kk/hour Weapon Weakness System active (all classes can farm efficiently) Archers get vampiric auto-hits vs mobs Dragon Valley Center: Main Party Zone — boosted drops (Blessed enchants, Neolithics chance) => farm like 150-200kk per hour. Dragon Valley North: Spoil Zone (Asofe + crafting materials for MW) Primeval Isle: Safe autofarm zone (low adena for casual players) ==> 50kk per hour Forge of the Gods & Imperial Tomb: Available from Stage 1 (lower Adena reward in compare with Dragon Valley) Hellbound also avaliable from stage 1 In few words all zones opened but MAIN farm zone with boosted adena and drops is Dragon valley also has more mobs Instances: Zaken (24h Reuse) → Instead of Vespers drop Moirai , 100% chance to drop 1 of 9 dolls lvl 1, Zaken 7-Day Jewelry Raid Bosses (7 RBs): Drop Moirai Parts + Neolithic S grade instead of Vespers parts that has 7 Rb Quest give Icarus Weapons Special Feature 7rb bosses level up soul crystals aswell. Closed Areas : Monaster of SIlence, LOA, ( It wont have mobs) / Mahum Quest/Lizardmen off) Grand Epics: Unlocked on Day 4 of Stage 1 → Antharas, Valakas, Baium, AQ, etc ================================================================================= Stage 2 – Rise of Vespers Level Cap: 85 Gear: Moirai Armors (Adena GM SHOP / Craft/ Drop) Weapons: Icarus Cloaks: Level 2 Olf: +8 Dolls: Level 2 Belts: High & Top Enchant: Safe +3 / Max +8 Masterwork can be with Neolithics S84 aswell but higher so craft will be usefull aswell. 7 Raid Boss Quest Updated: Now works retail give vesper weapons 7rb Bosses Drops : Vespers Instances: Zaken : Drops to retail vespers + the dolls and the extra items that we added on stage 1 New Freya Instance: Added — drops vespers and instead of mid s84 weapons will drop vespers . Extra drops Blessed Bottle of Freya - drops 100% chance 1 of 9 dolls. Farm Areas Dragon Valley remains main farm New Zone : Lair of Antharas (mobs nerfed and added drop Noble stone so solo players can farm too) New Party Zone : LOA Circle   ============================================================================   Stage 3 – The Vorpal ERA Gear: Vorpal Unclock Cloaks: Level 3 Olf: +10 (max cap) Dolls: Level 3 Enchant: Safe +3 / Max +12 Farm Zones : Dragon Valley Center Scorpions becomes a normal solo zone (no longer party zone) Drops:   LOA & Knorik → Mid Weapons avaliable in drop New Party Zone Kariks Instances: Easy Freya Drops Mid Weapons Frintezza Release =================================================================================     Stage 4 – Elegia Era (Final Stage) Elegia Unlock Gear: Elegia Weapons: Elegia TOP s84 ( farmed via H-Freya/ Drops ) Cloaks: Level 5 Dolls: Level 3 (final bonuses) Enchant: Safe +6 / Max +16 Instances: Hard Freya → Drops Elegia Weapons + => The Instance will drop 2-3 parts for sure and also will be able to Join with 7 people . Party Zone will have also drop chances for elegia armor parts and weapons but small   Events (Hourly): Win: 50 Event Medals + 3 GCM + morewards Lose: 25 Medals + 1 GCM + more rewards Tie: 30 Medals + 2 GCM + more rewards   ================================================================================ Epic Fragments Currency Participating in Daily Bosses mass rewarding all players Participating in Instances (zaken freya frintezza etc) all players get reward ================================================================================ Adena - Main server currency (all items in gm shop require adena ) Event Medals (Festival Adena) - Event shop currency Donation coins you can buy with them dressme,cosmetics and premium account Epic Fragments you can buy with them fake epic jewels Olympiad Tokens you can buy many items from olympiad shop (Hero Coin even items that are on next stages) Olympiad Win = 1000 Tokens / Lose = 500 Tokens ================================================================================= Offline Autofarm Allows limited Offline farming requires offline autofarm ticket that you get by voting etc ================================================================================= Grand Epics have Specific Custom NPC that can spawn Epics EU/LATIN TIME ZONE ================================================================================= First Olympiad Day 19 December First Heroes 22 December ( 21 December Last day of 1st Period) After that olympiad will be weekly. ================================================================================= Item price and economy Since adena is main coin of server and NOT donation coins we will always add new items in gm shop with adena in order to burn the adena of server and not be inflation . =================================================================================        
    • Hello, I'd like to change a title color for custom npc.  I created custom NPC, cloned existing. I put unique id for it in npcname-e, npcgrp and database. I have "0" to serverSideName in db, so that it would use npcname-e, but instead it has "NoNameNPC"and no title color change.
    • Trusted Guy 100% ,  I asked him for some work and he did it right away.
  • Topics

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