Jump to content

Recommended Posts

Posted

Ok i was looking for this system, but i never found, so i found Vago's PvP/Pk Color system and i added and change some things, and finally i got the same system but just whit PvP points. and it work in gracia 2.3

 

Credits To Vago, and me for the new changes

/java/config/l2jmods.properties

EnableWarehouseSortingPrivate = False
EnableWarehouseSortingFreight = False

+# ---------------------------------------
+# Section: PvP Title/name Color Change System by Level
+# ---------------------------------------
+# 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 RBG format
+EnablePvPColorSystem = True
+
+# Pvp Amount & Name color level 1.
+PvpAmount1 = 500
+ColorForAmount1 = CCFF00
+
+# Pvp Amount & Name color level 2.
+PvpAmount2 = 1000
+ColorForAmount2 = 00FF00
+
+# Pvp Amount & Name color level 3.
+PvpAmount3 = 2000
+ColorForAmount3 = 00FF00
+
+# Pvp Amount & Name color level 4.
+PvpAmount4 = 3000
+ColorForAmount4 = 00FF00
+
+# Pvp Amount & Name color level 5.
+PvpAmount5 = 4000
+ColorForAmount5 = 00FF00
+
+# Pvp Amount & Name color level 6.
+PvpAmount6 = 5500
+ColorForAmount6 = 00FF00
+
+# Pvp Amount & Name color level 7.
+PvpAmount7 = 7500
+ColorForAmount7 = 00FF00
+
+# Pvp Amount & Name color level 8.
+PvpAmount8 = 10000
+ColorForAmount8 = 00FF00
+
+# Pvp Amount & Name color level 9.
+PvpAmount9 = 16000
+ColorForAmount9 = 00FF00
+
+# Pvp Amount & Name color level 10.
+PvpAmount10 = 25000
+ColorForAmount10 = 00FF00
+
+# PvP Amount & Title color level 1.
+PvPAmount1 = 500
+TitleForAmount1 = 00FF00
+
+# PvP Amount & Title color level 2.
+PvPAmount2 = 1000
+TitleForAmount2 = 00FF00
+
+# PvP Amount & Title color level 3.
+PvPAmount3 = 2000
+TitleForAmount3 = 00FF00
+
+# PvP Amount & Title color level 4.
+PvPAmount4 = 3000
+TitleForAmount4 = 00FF00
+
+# PvP Amount & Title color level 5.
+PvPAmount5 = 4000
+TitleForAmount5 = 00FF00
+
+# PvP Amount & Title color level 6.
+PvPAmount6 = 5500
+TitleForAmount6 = 00FF00
+
+# PvP Amount & Title color level 7.
+PvPAmount7 = 7500
+TitleForAmount7 = 00FF00
+
+# PvP Amount & Title color level 8.
+PvPAmount8 = 10000
+TitleForAmount8 = 00FF00
+
+# PvP Amount & Title color level 9.
+PvPAmount9 = 16000
+TitleForAmount9 = 00FF00
+
+# PvP Amount & Title color level 10.
+PvPAmount10 = 25000
+TitleForAmount10 = 00FF00
+

Index: /java/net/sf/l2j/Config.java

       public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_CLAN;
public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE;
public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT;
       +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			PVP_AMOUNT6;
+public static int			PVP_AMOUNT7;
+public static int			PVP_AMOUNT8;
+public static int			PVP_AMOUNT9;
+public static int			PVP_AMOUNT10;
+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 int			NAME_COLOR_FOR_PVP_AMOUNT6;
+public static int			NAME_COLOR_FOR_PVP_AMOUNT7;
+public static int			NAME_COLOR_FOR_PVP_AMOUNT8;
+public static int			NAME_COLOR_FOR_PVP_AMOUNT9;
+public static int			NAME_COLOR_FOR_PVP_AMOUNT10;
+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;
+public static int			TITLE_COLOR_FOR_PVP_AMOUNT6;
+public static int			TITLE_COLOR_FOR_PVP_AMOUNT7;
+public static int			TITLE_COLOR_FOR_PVP_AMOUNT8;
+public static int			TITLE_COLOR_FOR_PVP_AMOUNT9;
+public static int			TITLE_COLOR_FOR_PVP_AMOUNT10;

               L2JMOD_ENABLE_WAREHOUSESORTING_CLAN = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingClan", "False"));
	L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False"));
	L2JMOD_ENABLE_WAREHOUSESORTING_FREIGHT = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingFreight", "False"));
            
   			+// PVP Name Color System configs - Start
   			+PVP_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePvPColorSystem", "false"));
   			+PVP_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount1", "500"));
   			+PVP_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount2", "1000"));
   			+PVP_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount3", "2000"));
   			+PVP_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount4", "3000"));
   			+PVP_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount5", "4000"));
		+PVP_AMOUNT6 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount6", "5500"));
   			+PVP_AMOUNT7 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount7", "7500"));
   			+PVP_AMOUNT8 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount8", "1000"));
   			+PVP_AMOUNT9 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount9", "1600"));
   			+PVP_AMOUNT10 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount10", "25000"));
   			+NAME_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount1", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount2", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount3", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount4", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount5", "00FF00"));
		+NAME_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount6", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount7", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount8", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount9", "00FF00"));
   			+NAME_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + L2JModSettings.getProperty("ColorForAmount10", "00FF00"));
		+TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount1", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount2", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount3", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount4", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount5", "00FF00"));
		+TITLE_COLOR_FOR_PVP_AMOUNT6 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount6", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT7 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount7", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT8 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount8", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT9 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount9", "00FF00"));
   			+TITLE_COLOR_FOR_PVP_AMOUNT10 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount10", "00FF00"));
		+	
   			+// PvP Name Color System configs - End


				if (TVT_EVENT_PARTICIPATION_NPC_ID == 0)
				{

Index: /java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

ExDuelUpdateUserInfo update = new ExDuelUpdateUserInfo(this);
       	DuelManager.getInstance().broadcastToOppositTeam(this, update);
       }
}

+// Custom PVP Color System - Start
+public void updatePvPColor(int pvpKillAmount)
+{
+	if (Config.PVP_COLOR_SYSTEM_ENABLED)
+	{
+		//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)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT1);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT2);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT3);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT4);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT5)) && (pvpKillAmount <= (Config.PVP_AMOUNT6)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT5);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT6)) && (pvpKillAmount <= (Config.PVP_AMOUNT7)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT6);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT6);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT7)) && (pvpKillAmount <= (Config.PVP_AMOUNT8)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT7);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT7);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT8)) && (pvpKillAmount <= (Config.PVP_AMOUNT9)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT8);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT8);
+			}
+			else if ((pvpKillAmount >= (Config.PVP_AMOUNT9)) && (pvpKillAmount <= (Config.PVP_AMOUNT9)))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT9);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT9);
+			}
+			else if (pvpKillAmount >= (Config.PVP_AMOUNT10))
+			{
+				getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT10);
+				getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT10);
+			}
+		}
+	}
+}
+//Custom PVP Color System - End

/**
 * Send a Server->Client packet UserInfo to this L2PcInstance and CharInfo to all L2PcInstance in its _KnownPlayers.<BR><BR>


       // Add karma to attacker and increase its PK counter
       setPvpKills(getPvpKills() + 1);

+      //Update the character's name/title color if they reached any of the 10 PvP levels.
+        updatePvPColor(getPvpKills());
+        broadcastUserInfo();
+
       // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
       sendPacket(new UserInfo(this));


Index: /java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java

}
	activeChar.sendPacket(new QuestList());

+      // =================================================================================
+      // Color System checks - Start =====================================================
+      // Check if the custom PvP color system 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());
+      // Color System checks - End =======================================================
+      // =================================================================================
+
       
	if (Config.PLAYER_SPAWN_PROTECTION > 0)
		activeChar.setProtection(true);



 

Posted

Ok i was looking for this system, but i never found, so i found Vago's PvP/Pk Color system and i added and change some things, and finally i got the same system but just whit PvP points. and it work in gracia 2.3

 

Credits To Vago, and me for the new changes

 

But I still want someone to confirm those changes.

 

Anyway, thanks for sharing your work rans3sx.

Posted

you've only changed the tittle

anyway good try

 

nahh bro "only PvP system" not pk

 

And guys i need some help, i wanna use this system "custom enchant mod | By Flower" but i cant, where is this file info? enchantscrolls.java in ct2.3? help please guys :D

Posted

What is so cool?

 

Useless share :D

 

if u are looking to make a Pvp server like me, its usefull cuz u can motive players to pvp to decore his names and titles  :), and may be add some skills by every pvp lvl reached, anyways thx for ur reply bro  :P

Posted

Very good share! Im using this modification since a while and must say that its good coded and makes fun for every player using it. You may just integrate an additional "kill from same-ip" protection. :P

Posted

Credits To Vago, and me for the new changes...

 

1st of all Vago alredy c/ped it its not hes work

2nd tell me your changes otherwise i lock it since its alredy shared

Posted

Credits To Vago, and me for the new changes...

 

1st of all Vago alredy c/ped it its not hes work

2nd tell me your changes otherwise i lock it since its alredy shared

pwned.

ontopic:// so basically this work only for gracia final?

Guest
This topic is now closed to further replies.


  • Posts

    • Do you want stability? Lagless and bugless game? Instant support? Daily PVP? Long-Term playing? You are in the right place, time to start! Lineage2 X70 Interlude NEW Season 2025 February 8th 13:00 UTC+2 Greece/Lithuania: 13:00 UTC+2 Poland/Norway: 12:00 UTC+1 United Kingdom: 11:00 UTC+0 Brazil/Argentina: 8:00 UTC-3 Opening Bonus First 100 players after third class changing will automaticly get Premium Coin award in their inventory. All new players spawn in town of Gludio! All players start from 25 LvL with starter pack (adenas and equipment)! RATES XP: x70 | SP: x70 Party XP/ SP: x1.2 Adenas drop rate: x30 Drop Items: x25 | Spoil: x25 Drop SealStones rate: x1.2 Drop Manor rate: x1 Drop Quest rate: x5 | Reward rates: x2 (NOT FOR ALL) Raid Boss Drop: x10 Raid Boss Adenas Drop: x3 Grand Boss Drop: x1 Grand Boss Adenas Drop: x2 Information NPC Buffer 32 Buffs | 4 Debuffs PET Buffer for all classes [Except Necromancer] Scheme buffer: 3 Profiles. Buffs time: 2 Hours | Summons buffs - 60min. Global Gatekeeper. GM SHOP till weapon / armor / jewel B grade. Caradine letter 3rd part in GM Shop. Offline shop: SELL , PRIVATE CREATION , PACKAGE SALE from 35 LvL ! Mana potions: 500MP/2s. Spawn Protection: 20 Seconds. EVENTS Manager [TVT/DM]. Max Clients for one PC: 5 Rift | 4S Players: 3 Maximum inventory slots: 240 Maximum inventory slots for Dwarf: 250 Custom drop list: - Raid Boss Horus, Ember, Brakki, Nakondas: 1 VIP COIN (25%) | Korim (50%). - Raid Boss Apepi, Shacram, Atraiban, Korim: 1 BEWS (25%). - Raid Boss Glaki, Olkuth: 1-2 BEAS (40%). - Raid Boss Golkonda, Galaxia: 1-3 BEAS (60%). - Raid Boss Shyeed: 1-3 BEWS (30%) | 1-7 BEAS (40%) | 1-5 TOP LS 76 (50%). - Raid Boss Shuriel: 1-7 TOP LS 76 (50%) | 1-4 BEAS (60%). - Raid Boss Ashakiel: 1-2 BEWS (30%) | 1-7 TOP LS 76 (50%) | 1-4 BEAS (75%). - Raid Boss Antharas Priest Cloe: 1-3 BEWS (30%) | 1-7 TOP LS 76 (70%). ------------------------------------------------ - Hestia: Demon Splinters / Forgotten Blande (10%). - Ember: Arcana Mace / Draconic Bow (10%). - Galaxia: Angel Slayer / Heaven's Divider (10%). 1. Baium Lair and TOI 13/14 are PVP zones. 2. Valakas PVP zone near NPC "Klein" and inside Valakas room. 3. Antharas Lair and near "Heart Of Warding" are PVP zones. 4. Frintezza PVP zone is in first Imperial Tomb room. 5. Queen Ant PVP zone after the bridge and near Boss. 6. Zaken ship deck and rooms - PVP area. How to connect STEP BY STEP: 1. Install clear Lineage2 Interlude client 2. Download our patch, delete old system folder and add our 3. Delete, turn off anti virus or add our system folder to anti virus exceptions 4. Run l2.exe from Lineage2/system 5. Enter data on login window and enjoy the game! * You have to remove, turn off or use exceptions of antivirus because of our security protection. It is not a virus. * If you have connection issues with Windows 8 or 10, press right mouse button on l2.exe icon, press Properties, choose compatibility and unmark compatibility mode. Take your friends, clan, alliance, enemys, sharp your swords, clean your armors and meet your destiny at 2025 February 8th 13:00 UTC+2! WWW.L2BLAZE.NET INTERLUDE Empire X70 New Season: 2025 February 8th 13:00 UTC+2! WEBSITE: http://WWW.L2BLAZE.NET
    • Hello all,  i use L2jAcis 409 and i have problem with oly cycle, everyday is a different oly cycle and oly won't finish at the end of the month...almost 50 cycles and no end. I see oly matches in db but no points and after a day pass with /olympiadstat no points... Any help welcome, thank you.
    • Bump NEW USER IN TELEGRAM AND DISCORD IS "mileanum"  NEW USER IN TELEGRAM AND DISCORD IS "mileanum"  NEW USER IN TELEGRAM AND DISCORD IS "mileanum" NEW USER IN TELEGRAM AND DISCORD IS "mileanum" 
  • Topics

×
×
  • Create New...