Jump to content

Recommended Posts

  • 4 weeks later...
Posted

No Working for me... I think there need more code ?

Try this(note: i just coded it, i didn't add boolean to allow this, and i didn't test it):

Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 110)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -4555,6 +4555,7 @@
		)
		{
             increasePvpKills();
+            setFightStatsTitle();
		}
		else                                                                        // Target player doesn't have pvp flag set
		{
@@ -4567,6 +4568,7 @@
                     {
                         // 'Both way war' -> 'PvP Kill'
                         increasePvpKills();
+                        setFightStatsTitle();
                         return;
                     }
                 }
@@ -4578,11 +4580,13 @@
				if ( Config.KARMA_AWARD_PK_KILL )
				{
                     increasePvpKills();
+                    setFightStatsTitle();
				}
			}
			else if (targetPlayer.getPvpFlag() == 0)                                                                    // Target player doesn't have karma
			{
                 increasePkKillsAndKarma(targetPlayer.getLevel());
+                setFightStatsTitle();
			}
		}
	}
@@ -4591,6 +4595,10 @@
      * Increase the pvp kills count and send the info to the player
      *
      */
+    public void setFightStatsTitle()
+    {
+        setTitle(+getPvpKills()+" "+getPkKills());
+    }
     public void increasePvpKills()
     {
         // Add karma to attacker and increase its PK counter

I didn't code it on clear l2j files, so careful, applying the patch may not work. You may have to add it manually. Title will appear like:

X Y (where x pvp points and y pk points)

  • 1 month later...
  • 6 months later...
Posted

Plz, create your patch in clear l2j.

In L2PcInstance.java, I dont find

// Update the character's name color if they reached any of the 5 PvP

or

public void PvpReward() {

if (L2Config.PVP_REWARD_ENABLED) {

Fix it now!

Posted

Nice idea ;p thx for this code its usefull on pvp servers ;p

 

U should add voice command like .Titleon .titleoff or smth  b/c i think not all players whana pvp count title ;p

Posted

 

Quote from: xDunno on October 04, 2009, 09:23:02 PM

Nice idea ;p thx for this code its usefull on pvp servers ;p

 

U should add voice command like .Titleon .titleoff or smth  b/c i think not all players whana pvp count title ;p

 

Agree. Very good idea.

Posted

Nice idea ;p thx for this code its usefull on pvp servers ;p

 

U should add voice command like .Titleon .titleoff or smth  b/c i think not all players whana pvp count title ;p

Good idea - Plz, fix in clear source and add this command!

Thanks.

 

Posted

Plz, create your patch in clear l2j.

In L2PcInstance.java, I dont find

// Update the character's name color if they reached any of the 5 PvP

or

public void PvpReward() {

if (L2Config.PVP_REWARD_ENABLED) {

Fix it now!

Posted

Good job dude... but i think that having the fight stats title in a diff color than

the normal one would be better... since sb would write a fake ttl with pvps,pks etc..

anyways thx for sharing

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

    • Hi, could someone please share a C1 L2 Off cheat code for local play?
    • I’ve worked with a web designer Tacoma before, and it really reminded me how much smoother projects run when design and development stay in sync. Your setup looks solid, and pairing clean UI work with steady backend support can save a ton of back‑and‑forth later. If you ever decide to push harder on conversions or need outside perspective on structure, that mix helped me spot gaps early on.
    • If you’re juggling mixed payment methods and tricky setups, I’ve found that easing the pressure on the subscription side can make the whole flow smoother. I started using Subscription Revenue Growth for handling my own recurring payments, upgrades, and all that messy churn stuff, and it took a big weight off. Pairing something stable for subs with your gateway setup can keep cashflow from going off the rails.
    • L2Avalon launches February 20 High Five project (Salvation client) focused on classic world progression — not instance spam and not “twink” metas. What is L2Avalon? L2Avalon is built around real Lineage 2 gameplay: farming spots, open world conflict, raids, epics, economy and competition. No Kamael Reduced instanced content **Discord:** https://discord.gg/NbM2cXmAem 🌐 **Website:** https://l2avalon.net Balance & Economy Every class is tuned to be viable in PvE and PvP Off-meta classes get buffed instead of adding power-creep garbage Adena-based economy Farming matters: boosted Drop/Spoil for each stage of progression Rates & Settings Dynamic XP: 50x (Lv 1–40) → 1x (Lv 78+) Staged progression with new content unlocking weekly Adena / Drop / Spoil: 3x / 5x / 5x NPC Buffer: 2 hours (Premium: 3 hours) Box limit: 2+1 windows per PC MP potion: 1000 MP, 10s cooldown Free2Play System (earn Donate Coins by playing) You don’t have to donate to progress. Donate Coins drop in-game, so everything is achievable through playtime and activity. Where Donate Coins drop: Mobs Lv 76+, Raid Bosses Lv 70+, Epic Bosses Auto-farm (controlled) Limit: only 1 window can use auto-farm at the same time Daily time: 1 hour/day without Premium Extra tickets: purchasable with PC Bang points (earned by being online) Disabled zones: CC / IT / FOG / VARKA / KETRA Equipment Changes Reworked set bonuses Reworked SA system Enchanted set bonuses Enchanted shirt bonuses Fake Epic jewelry (weakened alternative) Skills (High Five mechanics) New skills added Old skills updated New enchant branches + updated existing ones Subclass skills Clan skills Daily Activities (solo-friendly) Events / Missions / Instances Stages Soon — stage schedule and weekly unlocks will be published February 20 — we start. **Discord:** https://discord.gg/NbM2cXmAem 🌐 **Website:** https://l2avalon.net
  • 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..

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