Jump to content
  • 0

[Help] Pvp Color System


Question

Posted

Hello every Body i have a little question ask you.

 

http://www.maxcheaters.com/forum/index.php?topic=28059.0

 

My question is:

 

+    			// 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", "1500"));
+    			PVP_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount4", "2500"));
+    			PVP_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PvpAmount5", "5000"));
+    			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("ColorForAmount4", "00FF00"));
+    			// PvP Name Color System configs - End
+    			
+    			// PK Title Color System configs - Start
+    			PK_COLOR_SYSTEM_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("EnablePkColorSystem", "false"));
+    			PK_AMOUNT1 = Integer.parseInt(L2JModSettings.getProperty("PkAmount1", "500"));
+    			PK_AMOUNT2 = Integer.parseInt(L2JModSettings.getProperty("PkAmount2", "1000"));
+    			PK_AMOUNT3 = Integer.parseInt(L2JModSettings.getProperty("PkAmount3", "1500"));
+    			PK_AMOUNT4 = Integer.parseInt(L2JModSettings.getProperty("PkAmount4", "2500"));
+    			PK_AMOUNT5 = Integer.parseInt(L2JModSettings.getProperty("PkAmount5", "5000"));
+    			TITLE_COLOR_FOR_PK_AMOUNT1 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount1", "00FF00"));
+    			TITLE_COLOR_FOR_PK_AMOUNT2 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount2", "00FF00"));
+    			TITLE_COLOR_FOR_PK_AMOUNT3 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount3", "00FF00"));
+    			TITLE_COLOR_FOR_PK_AMOUNT4 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount4", "00FF00"));
+    			TITLE_COLOR_FOR_PK_AMOUNT5 = Integer.decode("0x" + L2JModSettings.getProperty("TitleForAmount5", "00FF00"));
+    			//PK Title Color System configs - End

 

If i understand

 

If the player have the some PVP he will have a name color

And if the player have some PK he will have a tittle color

 

Right?

 

But if:

 

PVP = Name Color

PK = Tittle Color

 

But why the Subject is PVP Color System? and not PVP/PK COlor system?

 

Also i have a request

 

I want

 

PVP = Name Color

PVP = Tittle Color

 

I try delete all the Pk and remplace By Pvp but when i compile some error.

 

Who can make this for me please

 

 

Recommended Posts

  • 0
Posted

ENTERWORLD:

 

+        // =================================================================================
+        // 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.getPvPKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PVPTITLE_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvPKills());
+        // Color System checks - End =======================================================
+        // =================================================================================

 

 

 

 

 

 

L2PCINSTANCE

 

+	// 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);
+				}
+				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)))
+				{
+					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT3);
+				}
+				else if ((pvpKillAmount >= (Config.PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
+				{
+					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT4);
+				}
+				else if (pvpKillAmount >= (Config.PVP_AMOUNT5))
+				{
+					getAppearance().setNameColor(Config.NAME_COLOR_FOR_PVP_AMOUNT5);
+				}
+			}
+		}
+	}
+	//Custom PVP Color System - End
+	
+	// Custom PVP Title Color System - Start
+	public void updatePvPTitleColor(int pvpKillAmount)
+	{
+		if (Config.PVPTITLE_COLOR_SYSTEM_ENABLED)
+		{
+			//Check if the character has GM access and if so, let them be, like above.
+			if (isGM())
+				return;
+			{
+				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pkKillAmount <= (Config.PVP_AMOUNT2)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT1);
+				}
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pkKillAmount <= (Config.PVP_AMOUNT3)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT2);
+				}
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pkKillAmount <= (Config.PVP_AMOUNT4)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT3);
+				}
+				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pkKillAmount <= (Config.PVP_AMOUNT5)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT4);
+				}
+				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT5);
+				}
+			}
+		}
+	}
+	//Custom PVP Title Color System - End
+	
     @Override
     public final void updateEffectIcons(boolean partyOnly)
     {
-4996,6 +5065,10 @@
         // Add karma to attacker and increase its PK counter
         setPvpKills(getPvpKills() + 1);

+      //Update the character's name color if they reached any of the 5 PvP levels.
+        updatePvPColor(getPvpKills());
+        broadcastUserInfo();
+
         // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
         sendPacket(new UserInfo(this));
     }
-5047,6 +5120,10 @@
         setPkKills(getPkKills() + 1);
         setKarma(getKarma() + newKarma);

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

 

 

 

Don't forget: You must add the stuff that has a "+" in the beginning of the line..

  • 0
Posted

Edit: Sorry for the double Post

 

Ok Coyote i try and i have a error

 

[javac] C:\xxx\xxx\xxx\L2JTeon-Core\java\net\sf\l2j\Config.java:2705: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
   [javac] location: class net.sf.l2j.Config
   [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount1", "DDC0CB"));
   [javac] 				^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2706: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
   [javac] location: class net.sf.l2j.Config
   [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount2", "808080"));
   [javac] 				^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2707: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
   [javac] location: class net.sf.l2j.Config
   [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount3", "808080"));
   [javac] 				^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2708: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
   [javac] location: class net.sf.l2j.Config
   [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount4", "FF0000"));
   [javac] 				^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2709: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
   [javac] location: class net.sf.l2j.Config
   [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount5", "000000"));
   [javac] 				^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3713: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
   [javac] location: class net.sf.l2j.Config
   [javac] 				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
   [javac] 				                             ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3713: illegal start of type
   [javac] 				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
   [javac] 				                      ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3715: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
   [javac] location: class net.sf.l2j.Config
   [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1);
   [javac] 					                                    ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3717: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
   [javac] location: class net.sf.l2j.Config
   [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
   [javac] 				                                  ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3717: illegal start of type
   [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
   [javac] 				                           ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3719: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
   [javac] location: class net.sf.l2j.Config
   [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2);
   [javac] 					                                    ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3721: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
   [javac] location: class net.sf.l2j.Config
   [javac]     			else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
   [javac]     			                                  ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3721: illegal start of type
   [javac]     			else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
   [javac]     			                           ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3723: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
   [javac] location: class net.sf.l2j.Config
   [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3);
   [javac] 					                                    ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3725: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
   [javac] location: class net.sf.l2j.Config
   [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
   [javac] 				                                  ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3725: illegal start of type
   [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
   [javac] 				                           ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3727: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
   [javac] location: class net.sf.l2j.Config
   [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4);
   [javac] 					                                    ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3729: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
   [javac] location: class net.sf.l2j.Config
   [javac] 				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
   [javac] 				                                 ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3729: illegal start of type
   [javac] 				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
   [javac] 				                          ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3731: cannot find symbol
   [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
   [javac] location: class net.sf.l2j.Config
   [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5);
   [javac] 					                                    ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:4920: cannot find symbol
   [javac] symbol  : method getPvPKills()
   [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
   [javac]         updatePvPTitleColor(getPvPKills());
   [javac]                             ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\network\clientpackets\EnterWorld.java:275: cannot find symbol
   [javac] symbol  : method getPvPKills()
   [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
   [javac]         if (activeChar.getPvPKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PVP_TITLE_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvPKills());
   [javac]                       ^
   [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\network\clientpackets\EnterWorld.java:275: cannot find symbol
   [javac] symbol  : method getPvPKills()
   [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
   [javac]         if (activeChar.getPvPKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PVP_TITLE_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvPKills());
   [javac]                                                                                                                                                  ^
   [javac] Note: C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] 23 errors

BUILD FAILED

 

here > http://www.zshare.net/download/706840911bda2bd6/

you have my L2PCinstance/ENTERWORLD/Config

 

thanks for your help

  • 0
Posted

Edit: Sorry for the double Post

 

Ok Coyote i try and i have a error

 

[javac] C:\xxx\xxx\xxx\L2JTeon-Core\java\net\sf\l2j\Config.java:2705: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
    [javac] location: class net.sf.l2j.Config
    [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT1 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount1", "DDC0CB"));
    [javac] 				^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2706: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
    [javac] location: class net.sf.l2j.Config
    [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT2 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount2", "808080"));
    [javac] 				^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2707: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
    [javac] location: class net.sf.l2j.Config
    [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT3 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount3", "808080"));
    [javac] 				^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2708: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
    [javac] location: class net.sf.l2j.Config
    [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT4 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount4", "FF0000"));
    [javac] 				^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\Config.java:2709: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
    [javac] location: class net.sf.l2j.Config
    [javac] 				TITLE_COLOR_FOR_PVP_AMOUNT5 = Integer.decode("0x" + L2JTeonCustom.getProperty("TitleForAmount5", "000000"));
    [javac] 				^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3713: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
    [javac] location: class net.sf.l2j.Config
    [javac] 				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
    [javac] 				                             ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3713: illegal start of type
    [javac] 				if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT1)) && (pvpKillAmount <= (Config.PVP_AMOUNT2)))
    [javac] 				                      ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3715: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT1
    [javac] location: class net.sf.l2j.Config
    [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT1);
    [javac] 					                                    ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3717: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
    [javac] location: class net.sf.l2j.Config
    [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
    [javac] 				                                  ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3717: illegal start of type
    [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT2)) && (pvpKillAmount <= (Config.PVP_AMOUNT3)))
    [javac] 				                           ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3719: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT2
    [javac] location: class net.sf.l2j.Config
    [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT2);
    [javac] 					                                    ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3721: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
    [javac] location: class net.sf.l2j.Config
    [javac]     			else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
    [javac]     			                                  ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3721: illegal start of type
    [javac]     			else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT3)) && (pvpKillAmount <= (Config.PVP_AMOUNT4)))
    [javac]     			                           ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3723: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT3
    [javac] location: class net.sf.l2j.Config
    [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT3);
    [javac] 					                                    ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3725: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
    [javac] location: class net.sf.l2j.Config
    [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
    [javac] 				                                  ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3725: illegal start of type
    [javac] 				else if ((pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT4)) && (pvpKillAmount <= (Config.PVP_AMOUNT5)))
    [javac] 				                           ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3727: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT4
    [javac] location: class net.sf.l2j.Config
    [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT4);
    [javac] 					                                    ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3729: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
    [javac] location: class net.sf.l2j.Config
    [javac] 				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
    [javac] 				                                 ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3729: illegal start of type
    [javac] 				else if (pvpKillAmount >= (Config.TITLE_COLOR_FOR_PVP_AMOUNT5))
    [javac] 				                          ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:3731: cannot find symbol
    [javac] symbol  : variable TITLE_COLOR_FOR_PVP_AMOUNT5
    [javac] location: class net.sf.l2j.Config
    [javac] 					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PVP_AMOUNT5);
    [javac] 					                                    ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java:4920: cannot find symbol
    [javac] symbol  : method getPvPKills()
    [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
    [javac]         updatePvPTitleColor(getPvPKills());
    [javac]                             ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\network\clientpackets\EnterWorld.java:275: cannot find symbol
    [javac] symbol  : method getPvPKills()
    [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
    [javac]         if (activeChar.getPvPKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PVP_TITLE_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvPKills());
    [javac]                       ^
    [javac] C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\network\clientpackets\EnterWorld.java:275: cannot find symbol
    [javac] symbol  : method getPvPKills()
    [javac] location: class net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
    [javac]         if (activeChar.getPvPKills()>=(Config.PVP_TITLE_AMOUNT1) && (Config.PVP_TITLE_COLOR_SYSTEM_ENABLED)) activeChar.updatePvPColor(activeChar.getPvPKills());
    [javac]                                                                                                                                                  ^
    [javac] Note: C:\Documents and Settings\utilisateur\Bureau\L2JTeon-Core\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 23 errors

BUILD FAILED

 

here > http://www.zshare.net/download/706840911bda2bd6/

you have my L2PCinstance/ENTERWORLD/Config

 

thanks for your help

 

asdsadsadasdsadsadsadsa

I will make a patch and share ti 2day >_>

 

EDIT:

 

I found the typos that ruinned it.

I will rework on teon's pvp system and give you the patch.

 

EDIT 2:

 

Well, it was not working because of typos.

I fixed 'em tho and the code works fine.

http://www.maxcheaters.com/forum/index.php?topic=111514.0

  • 0
Posted

ok if i understand the Code for the pvp system is this link:

 

http://www.maxcheaters.com/forum/index.php?topic=111514.0 ??

 

yes.

you couldn't add it cuz:

1) Vago's patch had mistakes

2) I had made some typos like.. instead of getPvp, I was writing getPvP.

  • 0
Posted

Ok for me the Compile is Ok

 

Just have the problem with the Geoengine.java but not real a problem (i think)

 

i will try the server tomorrow, now go to sleep xD

 

Thanks Coyote real good Job :D

  • 0
Posted

Ok for me the Compile is Ok

 

Just have the problem with the Geoengine.java but not real a problem (i think)

 

i will try the server tomorrow, now go to sleep xD

 

Thanks Coyote real good Job :D

 

thanks.

BTW Geoengine is not a problem caused because of the use of my code.

You must have done something different, or l2jteon has done something.

  • 0
Posted

Thanks for Share!! Perfect work in l2jserver!!

 

:)

 

Thanks for share in request help section ? -.-'

 

First warning.

 

Locked.

Guest
This topic is now closed to further replies.


  • Posts

    • wtf is your website lol ai slop
    • who have this files? or info about cached packets?
    • Hi maxcheaters, i am trying to bring back an old server ( L2Revenge) but with my own ideas, i only liked how it was and made the gameplay based on that just putting my own ideas.   So practicly is a PTS C6 with an extender that i work lately    Exp / SP is x45 adena is x200 and drops x5  so safe is +3 , max is unlimited and rate is 65% for both mage and fighter weapons I created a system that you can get on the levels the gear you need based on farm but for S grade theres a little farm to get some armor Tokens to unseal them. As you remember L2Revenge had olympiad / Tournament gear. So people abused them and had S grades that way just couldnt enchant them. So i made to be wearable only if u are nobless. That way i cancel this "exploit".  The server gives opportunity to solo and clans , epic gear ( epic weapons) or armors can be bought with raid tokens and you can craft them or get them with various ways Regarding Buffs: 24 buff slots no changes asked. Cov/Pony/Cat , siren - renewal - champion out of buffer , if u make the char as main roll u can use them or use the offline buffer system to sell them and get adenas. their time is 20 mins so that way we see again the " 1kk for rene/siren" or rec = song  Regarding armors: they are dropped ( parts ) from 3 only raids , rest lvl 76+ raids drop recipes , so crafting takes place (so if u are solo u can craft them )  there are 3 armors each armor have its purpose: Revenge Armors - Example for light ( its a glass cannon , high damage , less atk speed and less pdef ) - they mostly modify your base stats, so useable on sieges or off tank chars Titanium Armors - A little bit of balanced of all  Epic Armor - Daggers/Enchanters/Healers mostly but u can always combine your build    Regarding weapons: can be dropped from Monastery of Silence monsters or get them from NPC with Raid Tokens its like a 5% better than S grades and the S/A Activates at +4  Regarding retail gear: you need to unseal only S grades for a great amount of armor tokens all weapons on any grade need Soul crystals that are sold for adenas  stage 13 crystals are expensive or dropped from raids Regarding fun: There is a squash event a Fortress vs Fortress pvp event an RB Event at weekends and from Monday - Wednesday Tournament ( Olympiad is closed monday/tuesday/wednesday)  at tournament you can practice 1vs1 like olympiad but pots/ss allowed , gear allowed is only olympiad or tournament , each win of match gives u 5 glits at 100 glits u can be hero till restart Olympiad works the same way regarding gear allowance but works only thursday to friday and you win monthly hero Auction with Raid Tokens is activated Event medals from events can be exchanged for various items i try to make the oldschool with a little bit of new school systems Not planing to open it anytime soon as i still develop and make corrections to extender , looking forward to meet people that actually played this and are hyped to help on testing / development   P.S is c5 into interlude ( theres no akamanah / nor PI aswell , no lifestones) forgot to mention
  • 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