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.



  • Posts

    • Well, I made this. So if you want to create a talent system design you can always dm me. You can find my contact info here 🙂  
    • como vamos conseguir ler esse arquivos pra salvar ?  
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt
    • Eldamar Don't tell me what to do, stop spamming and mind your own business, it's 2025, who's going to play your server like it's 2007, you're ridiculous.
    • New Season Koofs Vs Noobs Get ready for the return of the epic Lineage II experience! L2KvN is coming back stronger than ever, featuring thrilling PvP, powerful factions, and unforgettable gameplay! Whether you're new to the world of L2KvN or returning to conquer it once more, there’s something for everyone:   Global Launch Times Mark your calendars! The server will launch at the following times around the world 20:00 Greece (Athens) GMT +2  20:00 Russia (Moscow) GMT +3 00:00 Russia (Novosibirsk) GMT +7 05:00 Russia (Vladivostok) GMT +10 14:00 Brazil GMT -3 13:00 Argentina GMT -3 20:00 Lithuania GMT +2 18:00 United Kingdom GMT 0 13:00 USA (Eastern Time) GMT -5 10:00 USA (Pacific Time) GMT -8   L2KvN server is with high rates and custom features. Offers fast progression and an exciting experience. Perfect for fans of intense gameplay.   Server Chronicles Interlude Rates: PvP(High) Adena: x1(Custom) Drop Rate: x1(Custom) 1 PvP = 2 Adena(4 For Premium Users)   Premium Account can be activated by purchasing Premium Account Coupon from L2Store and double-clicking the coupon. Premium Account provides the following: 1 PvP: 4 Adena   General Rates Start up Player System Instant LvL 80 Choose For What Faction You Love To Fight [Koofs - Noobs] Koofs Base: Dark Elf Village Noobs Base: Elven Village Prepare You Character Scheme Buff Or Choose Auto Buff PrePare Your Character Equipment From KvN Shop Killing spree systems Full GM shop. Free class change and Subclass All NPCs available in town. Custom Items Balanced. Community Board BugReport/RaidInfo/TopPvP-Online 1 PvP = 1 Adena (2 If Premium)   Enchant Rates Safe Enchant +6 Max Enchant +21 Normal Scroll Chance: 100% (+0 to +6) Blessed Scroll Chance: 85% (+6 to +21) Ex: If +14 failed for +15, return +14   LifeStone Rates High Lifestone Chance: 5% Top Lifestone Chance: 10%   Grand Bosses Queen Ant 8H +1Random (there is a chance to spawn in 7H or 9H) Drops RB Ring/LS/BOGS Baium 8H +1Random (there is a chance to spawn in 7H or 9H) Drops RB Ring/LS/BOGS Zaken 8H +1Random (there is a chance to spawn in 7H or 9H) Drops RB Ring/LS/BOGS Antharas 8H +1Random (there is a chance to spawn in 7H or 9H) Drops RB Ring/LS/BOGS Valakas 8H +1Random (there is a chance to spawn in 7H or 9H) Drops RB Ring/LS/BOGS   Elo Ranking System start unranked and ranks is Unranked-Iron-Bronze-Silver-Gold-Platinum-Diamond All ranks have 3 rank example Iron III Iron II iron I (iron iii is first and iron i is last. you need iron 1 to upgrade to silver.) unranked to iron need 50 points. and all ranks need 100 points to up a rank 5 points per kill if you die you lose 3 points. if you demote (have 4 points and die and you silver i you will demote to bronze iii 20 points.) if you bronze i 99 points and got 1 kill (+5 points) you uprank to silver iii 20 points. every rank have berets. see in video berets in ranks Iron/Bronze/Silver/Gold/Platinum/Diamond (only visual no extra buffs)   PvP Zone System maps change every 1 hour Orc Village Gludin Town   Event System Events every 1 hour TeamVsTeam => 12:00 14:00 16:00 18:00 20:00 22:00 23:59 02:00 04:00 06:00 08:00 10:00 12:00 Capture The Flag => 13:00 15:00 17:00 19:00 21:00 23:00 01:00 03:00 05:00 07:00 09:00 11:00 Rewards = MvP 5 Events | Winner Team 10 Events | Looser 5 Events   🌐 Website: https://l2kvn.com/ 🌐 Website: https://discord.gg/unn2XBhwef
  • Topics

×
×
  • Create New...