Jump to content
  • 0

Question

10 answers to this question

Recommended Posts

  • 0
Posted

psaxnw kairo gia pvp system opou P.X sta 1000 pvp na allazei to name color k tittle color omos den vrika kati gia Gracia Final.

 

Xrisimopiw L2jserver

valto xeirokinita den einai katholou diskolo.. apla ta imports einai diaforetika

  • 0
Posted

valto xeirokinita den einai katholou diskolo.. apla ta imports einai diaforetika

ti ennoeis xirokinita? na ftiaksw diko m kodika?

den kserw k polla... eimai newbie se tetia pragmata :P 

  • 0
Posted

ti ennoeis xirokinita? na ftiaksw diko m kodika?

den kserw k polla... eimai newbie se tetia pragmata :P

http://www.maxcheaters.com/topic/15838-sharepvp-color-system/ ekei pou leei Index: /java/config/l2jmods.properties   esy tha vreis to l2jmods.properties paradeigma ston diko sou server sto eclipse. xereis na vazeis java codes sto eclipse?

  • 0
Posted (edited)

http://www.maxcheaters.com/topic/15838-sharepvp-color-system/ ekei pou leei Index: /java/config/l2jmods.properties   esy tha vreis to l2jmods.properties paradeigma ston diko sou server sto eclipse. xereis na vazeis java codes sto eclipse?

enan idi etimo kodika nai. 8a ton dokimasw k ean kolisw pou8ena 8a sou pw. se euxaristw pantos. 8a sou steilw se pm oti ekana edit se auto edw to reply.

 

 

ksekinisa kai pernousa to kodika omos dn ein idio me to diko m k kapoies grammes den iparxoun se emena kai dn mporw na sinexisw. mipos ginete me kapoio tropo na me voi8iseis? exw kollisei sto enterworld.

 

den mporw na vrw tis grammes autes edw gia na to pros8esw tis grammes pou leei.

@@ -3660,7 +3661,75 @@
         	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);
+				}
+				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 Pk Color System - Start
+	public void updatePkColor(int pkKillAmount)
+	{
+		if (Config.PK_COLOR_SYSTEM_ENABLED)
+		{
+			//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)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT1);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT2)) && (pkKillAmount <= (Config.PVP_AMOUNT3)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT2);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT3)) && (pkKillAmount <= (Config.PVP_AMOUNT4)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT3);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT4)) && (pkKillAmount <= (Config.PVP_AMOUNT5)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT4);
+				}
+				else if (pkKillAmount >= (Config.PK_AMOUNT5))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT5);
+				}
+			}
+		}
+	}
+	//Custom Pk Color System - End
+	
     @Override
     public final void updateEffectIcons(boolean partyOnly)
Edited by Komnis
  • 0
Posted

 

enan idi etimo kodika nai. 8a ton dokimasw k ean kolisw pou8ena 8a sou pw. se euxaristw pantos. 8a sou steilw se pm oti ekana edit se auto edw to reply.

 

 

ksekinisa kai pernousa to kodika omos dn ein idio me to diko m k kapoies grammes den iparxoun se emena kai dn mporw na sinexisw. mipos ginete me kapoio tropo na me voi8iseis? exw kollisei sto enterworld.

 

den mporw na vrw tis grammes autes edw gia na to pros8esw tis grammes pou leei.

@@ -3660,7 +3661,75 @@
         	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);
+				}
+				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 Pk Color System - Start
+	public void updatePkColor(int pkKillAmount)
+	{
+		if (Config.PK_COLOR_SYSTEM_ENABLED)
+		{
+			//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)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT1);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT2)) && (pkKillAmount <= (Config.PVP_AMOUNT3)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT2);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT3)) && (pkKillAmount <= (Config.PVP_AMOUNT4)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT3);
+				}
+				else if ((pkKillAmount >= (Config.PK_AMOUNT4)) && (pkKillAmount <= (Config.PVP_AMOUNT5)))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT4);
+				}
+				else if (pkKillAmount >= (Config.PK_AMOUNT5))
+				{
+					getAppearance().setTitleColor(Config.TITLE_COLOR_FOR_PK_AMOUNT5);
+				}
+			}
+		}
+	}
+	//Custom Pk Color System - End
+	
     @Override
     public final void updateEffectIcons(boolean partyOnly)

sto sigekrimeno simeio tha kaneis search to DuelManager.getInstance().broadcastToOppositTeam(this, update);  an den to vriskei dokimase paradeigma na kaneis search to DuelManager mono as poume kai psaxe na vris paromoio line..twra an den iparxei katholou den mporw na se voithisw egw parakatw...

  • 0
Posted

sto sigekrimeno simeio tha kaneis search to DuelManager.getInstance().broadcastToOppositTeam(this, update);  an den to vriskei dokimase paradeigma na kaneis search to DuelManager mono as poume kai psaxe na vris paromoio line..twra an den iparxei katholou den mporw na se voithisw egw parakatw...

ta eixa auta search k dn ta vrika... mou eipan oti arkei na vrw ena simio p na min exei if k na to perasw ekei omos dn kserw ean auto ali8euei k eim lg distaktikos...

  • 0
Posted

ta eixa auta search k dn ta vrika... mou eipan oti arkei na vrw ena simio p na min exei if k na to perasw ekei omos dn kserw ean auto ali8euei k eim lg distaktikos...

Δοκίμασε το δεν χάνεις κάτι.

  • 0
Posted

Δοκίμασε το δεν χάνεις κάτι.

kai omos to dokimasa k dn vgike kati :P opos k na xei me voi8ise o nikosdevil20 me diko tou system pou mou esteile o idios opou douleuei komple.

 

Lock. :)

  • 0
Posted

kai omos to dokimasa k dn vgike kati :P opos k na xei me voi8ise o nikosdevil20 me diko tou system pou mou esteile o idios opou douleuei komple.

 

Lock. :)

ok

Guest
This topic is now closed to further replies.


×
×
  • Create New...