Jump to content

Recommended Posts

Posted

*L2PcIstance.java

 

Hello there , i got inspired for that by L2Core (old faction) where u had an amount of PvPs you could gain hero status .. so here its the code..

 

(currently the amount of pvp's you need to have is seted to 5000 , but can simple change it)

 

Tested on L2J Archid

 

find this

public void increasePvpKills()

 

 

and change it like this

 public void increasePvpKills(L2PcInstance activeChar)

 

And then paste this

if (activeChar.getPvpKills() >= 5000)
        {
       activeChar.sendMessage ("Congratz , you are now a hero ");
        activeChar.setHero(true);
        }
        

 

 

 

down of this

{
        // Add karma to attacker and increase its PK counter
        setPvpKills(getPvpKills() + 1);

 

 

 

Credits goes to Revenger for www.maxcheaters.com

Posted

2 words.

 

good work . i really enjoy seeing my help giving seeds

 

u and Krash do a great job now with java, lets see what Mace will do :)

Posted

well Ventic a.k.a Legollas was faster than me XD btw i test the code i edit the pvp's to 10 ofc XD cause i made dual box in a test server on my pc and it work's cool Good Job Ριβέντζεr keep up sharing cool things :)

Posted

The code is wrong, each time you get pvp the message will appear. Let me correct you.

 

        if (activeChar.getPvpKills() >= 5000 && !activeChar.isHero())
        {
        	activeChar.sendMessage ("Congratz , you are now a hero ");
        	activeChar.setHero(true);
        }

 

that should do it.

Posted

WTF, For three rows?

To make it even worse: three rows that have been shared before by Vago, and similar systems that been shared often before. I really should start doing this stuff too xD

 

Anyway; thanks, I guess

Posted

Sorry Revenger !! But i think i have to fix karma you have 18 :D

 

Karma Fixed

 

Nice Share XD

off topic

you should read this one http://www.maxcheaters.com/forum/index.php?topic=61847.0 and if someone may to restore his karma you're not me or you for sure a moderator must do that btw do not abuse your "power" karma restored (soz for the restore but...)until a moderator will check it and if you can make your own code like Revenger's did

Posted

Revenger you still make useless codes cmon you can do better :D

 

PS.: missing enterworld pvp count check, missing alredy hero check , try to post diff file instead of that

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
Reply to this topic...

×   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

    • Guys, who has any files and videos left?
    • Hello everyone, we provide such services. We make websites from scratch, projects from scratch at good prices. If you want to buy yourself a high-quality and good project, then come to us discord - mmopromo_17389 telegram - https://t.me/mmopromo
    • 𝐋𝐈𝐍𝐄𝐀𝐆𝐄 𝐈𝐈 𝐂𝐋𝐀𝐒𝐒𝐈𝐂 𝐄𝐈𝐍𝐇𝐎𝐕𝐀𝐍𝐓   Are you ready to relive the true Classic Lineage 2 experience? Our server brings you a hardcore x1 rate with a modern twist—a vitality system that helps casual players keep up!   🛡 Key Features: ✅ No Dualboxing – Every player controls only one character, making party play and community interaction stronger! ✅ Classic Chronicles 1.0 → 2.5 – Start from the very beginning and experience the progression up to Chronicle 2.5! ✅ Improved Buff System & Support Classes – Get the most out of your character with a reworked buff system and enhanced support classes. ✅ New & Reworked Skills – All classes have received updates, balancing the game and bringing fresh mechanics! ✅ Motivating Gameplay – Designed to keep you engaged and progressing, without feeling like an endless grind! 📖 Don't miss out on reading the wiki with all the new features that have been added to the gameplay!   🎉 Server launched on February 7th! Join now and be part of an active, competitive, and passionate community! Links: https://l2einhovant.net https://discord.com/invite/l2einhovant  
    • Change Of Heart Event is now available!     This weekend's mini event will merge with an  all-time classic event. Available 14-16 Feb. -Change of Hearts  classic event is enabled . -Inventory space increased by 10  -Elemental stones  & Raid drops increased by 10% -There is a small chance to fully recover your vitality while taking down monsters Change of hearts classic event details: -Monsters drop heart pieces with a 20% chance. -Collect the full set of 9 pieces and play a game: 1 win: L2Day buff scrolls 2 wins: Greater Potions 3 wins: x1  Blessed Scroll of Escape 4 wins: x1  Blessed Scroll of Resurrection 5 wins: x2  Scroll: Enchant Weapon (C) 6 wins: x4  Scroll: Enchant Armor (B) 7 wins: x1  Scroll: Enchant Weapon (B) 8 wins: x3  Scroll: Enchant Armor (A) 9 wins: x1  Scroll: Enchant Weapon (A) 10 wins: x2  Scroll: Enchant Armor (S) 11 wins: x1 Scroll: Enchant Weapon (S) & 20% Chance to get TOP A weapon Connect -> https://vanilla.playinera.com/connect/ Discord: https://discord.com/invite/WD8fWf5  
    • thanks. for a moment i thought you were on the side of evil.
  • Topics

×
×
  • Create New...