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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hello everyone, I am looking to purchase a Premium Lineage 2 High Five server pack. My main requirements are: Stability & Quality (Most Important): The pack must be highly stable with no system errors or major bugs. Custom Features: It must include ready-to-use custom features such as a fully functional Community Board, custom NPC Buffers, and Custom Item Sellers (GM Shops), etc. Complete Files: It is absolutely necessary that the full source code (src) and complete Geodata are included. If you are selling a pack that meets these criteria, please send me a PM or leave a reply with the following information: Brief details and key features of the pack Price Test server availability (I would like to test it before buying) Thank you!
    • L2jmobiusDevClon — Classic Interlude p110 Emulator L2jmobiusDevClon is actively developing a Lineage 2 Classic Interlude p110 emulator. Development is done in free time with a strong focus on: • Stability • Authentic Classic mechanics • Clean and optimized architecture The project is based on the L2jMobius source and is continuously evolving and improving. System Requirements: • Java 25 • MariaDB 12.0 • Client p110 Current Revision: 3.0 Development Status: Active Distribution: Free Official Website: https://www.l2jmobiusdevclon.pp.ua Discord Server: https://discord.gg/23a9S8g4Bn Contact: Telegram — @L2jmobiusDevClon Also available via private messages Project Goals: ✔ Improved stability ✔ Maximum Classic accuracy ✔ Core optimization We are currently looking for: • Testers • Server administrators Suggestions, bug reports, and ideas are always welcome. Contact us via: ✔ Discord ✔ Telegram ✔ Private Messages
    • i guess loading only the effects that are needed it will maybe work, like removing from reshade shader folder the ones that are not needed, depends on the pc also i guess, also limithing the game at 30fps can be better maybe
    • Up   SELL CHARACTERS L2 REBORN FRANZ x1     destroyer 74 lvl naked - 120 euro sws 71 lvl naked - 120 euro pp 66 skills - 120 euro se 64 lvl - 90 euro   Characters are legit with mail   i can wtt the characters for adena server franz   sell adena franz 250kk stock     add discord topeseller4081  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..