Account Features
➡ EARLY SUPPORTER BADGE
➡ NO QUEST BADGE
➡ 24 MONTHS BOOST BADGE
➡ 1 YEAR NITRO SUBSCRIPTION
➡ CREATION DATE IS 2017
➡ ACCOUNT STANDING STATUS IS ALL GOOD
➡ CLEAN BILLING
➡ OGE MAIL OUTLOOK
PAYMENT METHODS
➡ CRYPTO
➡ PAYPAL
➡ CASHAPP
➡ BANK TRANSFER
➡ GIFTCARDS
➡ ZELLE
➡ VENMO
CONTACTS
➡ DISCORD : crh11s
➡ TELEGRAM : crh11s
CONTACT WITH ME IF YOU ARE SERIOUS BUYE
To check the operation of npc movement. You can turn off all movement in the game and move only the npc you want using the move to package. This way you will reduce a lot of unnecessary code and understand where the problem is.
And all your maps are not thread safe and you are using multithreading
startQuestTimer("move", 5000, npc, null);
Question
MegaCheat
Hallo Guys I want make killing spree
this code
ndex: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 4638) +++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -243,6 +243,7 @@ import com.l2jserver.gameserver.network.serverpackets.UserInfo; import com.l2jserver.gameserver.skills.AbnormalEffect; import com.l2jserver.gameserver.skills.Env; +import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage; import com.l2jserver.gameserver.skills.Formulas; import com.l2jserver.gameserver.skills.Stats; import com.l2jserver.gameserver.skills.l2skills.L2SkillSiegeFlag; @@ -5664,14 +5737,63 @@ * Increase the pvp kills count and send the info to the player * */ + private int impro = 0; public void increasePvpKills(L2Character target) { if (target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target)) { + impro++; + + switch(impro){ + + case 3: + ExShowScreenMessage case3 = new ExShowScreenMessage("You reached 3 killing spree!", 10000); + sendPacket(case3); + Announcements.getInstance().announceToAll("Player: " + getName() + " :Just got a Triple Kill!"); + break; + + case 5: + ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 5 killing spree!", 10000); + sendPacket(case5); + Announcements.getInstance().announceToAll("Player: " + getName() + " :Just got an Ultra Kill!"); + break; + + case 10: + ExShowScreenMessage case10 = new ExShowScreenMessage("You reached 10 killing spree!", 10000); + sendPacket(case10); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 10 kill in a row!"); + break; + + case 15: + ExShowScreenMessage case15 = new ExShowScreenMessage("You reached 15 killing spree!", 10000); + sendPacket(case15); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 15 kill in a row!"); + break; + + case 20: + ExShowScreenMessage case20 = new ExShowScreenMessage("You reached 20 killing spree!", 10000); + sendPacket(case20); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 20 kill in a row!"); + break; + + case 25: + ExShowScreenMessage case25 = new ExShowScreenMessage("You reached 25 killing spree!", 10000); + sendPacket(case25); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 25 kill in a row!"); + break; + default: + ; + } + + @@ -13495,6 +13639,8 @@ setCurrentFeed(0); stopFeed(); dismount(); + + impro = 0; sendPacket(SystemMessage.getSystemMessage(SystemMessageId.OUT_OF_FEED_MOUNT_CANCELED)); }
But not when he dies but with time 1 min
impro = 0; <<<< 1 min
8 answers to this question
Recommended Posts