Jump to content
  • 0

Provlima me ta xromata sta names.....


Question

Posted

Hi pedes exw ena provlima me ta xromata sta names apo ta pvp vazw kanonika sta costumj ta colour g ta names kai ekei pou exw valei gia paradigma sta 7000 pvp na ginete prasino to xroma sto onoma sta 7001 ginete aspro ksana ti mporw na kanw sas parakalw vrite m kapoia lisi...Topuck m einai L2emu hellbound....

5 answers to this question

Recommended Posts

  • 0
Posted

Sas eyxaristw pou me voithate na deite edw!!

# ---------------------------------------

# Section: PvP Nick Color System by Level

# ---------------------------------------

# Each Ammount will set The proper Color

# Ex:  PvpAmmount1 = 10, when character reaches 10 pvps, will get Name Color correspondent to ColorForAmmount1 and Title Color correspondent to TitleForAmmount1

# WAN: Colors Must Use RBG format

PvPColorSystem = true

 

# Pvp Ammounts

PvpAmmount1 = 1000

PvpAmmount2 = 4000

PvpAmmount3 = 5000

PvpAmmount4 = 7000

PvpAmmount5 = 10000

 

# Name Colors

ColorForAmmount1 = 00FFFF

ColorForAmmount2 = FFFF11

ColorForAmmount3 = 3366FF

ColorForAmmount4 = E75680

ColorForAmmount5 = 333333

 

# Title Colors

TitleForAmmount1 = 00FF00

TitleForAmmount2 = 00FF00

TitleForAmmount3 = 00FF00

TitleForAmmount4 = 333333

TitleForAmmount5 = 0033FF

 

Mesa apo ton fakelo main sto gameserver ta vazw ta xromata opws vlepete kanonika kai otan px paei 7001 apo prasino p einai to xroma sta 7000 pvp ginete ksana aspro :/...Voithiste me sas parakalw!!!

  • 0
Posted

A nai ksexasa na sou po...

Oti auto to PvP Color System exei ena Provlima.....

sta Color Name.... sto paei mexri to 4 to 5 den to metraei....

8a sou post ena patch gia eclipse... pou se auto mporeis na valeis pano apo 5 xromata

.::EDIT::.

Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 2202)
+++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -178,6 +178,8 @@
         activeChar.sendPacket(new QuestList());
         loadTutorial(activeChar);
         
+        if (activeChar.getPvpKills()>100) activeChar.updatePvPColor(activeChar.getPvpKills());
+        
         if (Config.PLAYER_SPAWN_PROTECTION > 0)
             activeChar.setProtection(true);

Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 2202)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -3661,6 +3661,18 @@
         }
	}
     
+	public void updatePvPColor(int pvpKillAmount)
+	{
+		if (isGM()) return;
+		String colorCode = "0xFFFFFF";
+		String titleCode ="0xFFFF77
+		if (pvpKillAmount > 100) colorCode = "0xFFCCCC";
+		if (pvpKillAmount > 100) titleCode ="0xFFCCCC";
+		if (pvpKillAmount > 200) colorCode = "0xFF9999";
+		if (pvpKillAmount > 200) titleCode ="0xFF9999";
+		if (pvpKillAmount > 300) colorCode = "0xFF6666";
+		if (pvpKillAmount > 300) titleCode ="0xFF6666";
+		if (pvpKillAmount > 500) colorCode = "0xFF3333";
+		if (pvpKillAmount > 500) titleCode ="0xFF3333";
+		if (pvpKillAmount > 1000) titleCode ="0xFF0000";
+		if (pvpKillAmount > 1000) colorCode = "0xFF0000";
+		getAppearance().setNameColor(Integer.decode(colorCode));
+		getAppearance().setTitleColor(Integer.decode(titleCode));
+	}
+	
     @Override
     public final void updateEffectIcons(boolean partyOnly)
     {
@@ -4978,6 +4990,9 @@
     {
         // Add karma to attacker and increase its PK counter
         setPvpKills(getPvpKills() + 1);
+        
+        updatePvPColor(getPvpKills());
+        broadcastUserInfo();

         // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
         sendPacket(new UserInfo(this));

 

Ama 8es na valeis parapano xromata aplos vazeis mia akoma gramei edw

+		if (pvpKillAmount > 100) colorCode = "0xFFCCCC";
+		if (pvpKillAmount > 100) titleCode ="0xFFCCCC";
+		if (pvpKillAmount > 200) colorCode = "0xFF9999";
+		if (pvpKillAmount > 200) titleCode ="0xFF9999";
+		if (pvpKillAmount > 300) colorCode = "0xFF6666";
+		if (pvpKillAmount > 300) titleCode ="0xFF6666";
+		if (pvpKillAmount > 500) colorCode = "0xFF3333";
+		if (pvpKillAmount > 500) titleCode ="0xFF3333";
+		if (pvpKillAmount > 1000) titleCode ="0xFF0000";
+		if (pvpKillAmount > 1000) colorCode = "0xFF0000";

 

etc fenete to Code xwris na valo allo

+		if (pvpKillAmount > 100) colorCode = "0xFFCCCC";
+		if (pvpKillAmount > 100) titleCode ="0xFFCCCC";
+		if (pvpKillAmount > 200) colorCode = "0xFF9999";
+		if (pvpKillAmount > 200) titleCode ="0xFF9999";
+		if (pvpKillAmount > 300) colorCode = "0xFF6666";
+		if (pvpKillAmount > 300) titleCode ="0xFF6666";
+		if (pvpKillAmount > 500) colorCode = "0xFF3333";
+		if (pvpKillAmount > 500) titleCode ="0xFF3333";
+		if (pvpKillAmount > 1000) titleCode ="0xFF0000";
+		if (pvpKillAmount > 1000) colorCode = "0xFF0000";
+		if (pvpKillAmount > 2000) titleCode ="0xFF0000";
+		if (pvpKillAmount > 2000) colorCode = "0xFF0000";

Etc fenete me to na valo 1 parapano Name/Title

 

Credits for Title Color me :PPP

Credits for all others  to GodKratos from L2j

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...