We are looking for partners and account suppliers for cooperation
We are open to partnerships with reliable account suppliers for the following dating services:
➡ Tinder
➡ Badoo
➡ Bumble
➡ Hinge
➡ Happn
➡ Meetic
➡ VK Dating
We are considering long-term cooperation, stable volumes, and mutually beneficial terms.
If you have any offers, we will be glad to discuss the details.
Contact us using the details below.
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
We are looking for partners and account suppliers for cooperation
We are open to partnerships with reliable account suppliers for the following dating services:
➡ Tinder
➡ Badoo
➡ Bumble
➡ Hinge
➡ Happn
➡ Meetic
➡ VK Dating
We are considering long-term cooperation, stable volumes, and mutually beneficial terms.
If you have any offers, we will be glad to discuss the details.
Contact us using the details below.
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
We are looking for partners and account suppliers for cooperation
We are open to partnerships with reliable account suppliers for the following dating services:
➡ Tinder
➡ Badoo
➡ Bumble
➡ Hinge
➡ Happn
➡ Meetic
➡ VK Dating
We are considering long-term cooperation, stable volumes, and mutually beneficial terms.
If you have any offers, we will be glad to discuss the details.
Contact us using the details below.
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
We are looking for partners and account suppliers for cooperation
We are open to partnerships with reliable account suppliers for the following dating services:
➡ Tinder
➡ Badoo
➡ Bumble
➡ Hinge
➡ Happn
➡ Meetic
➡ VK Dating
We are considering long-term cooperation, stable volumes, and mutually beneficial terms.
If you have any offers, we will be glad to discuss the details.
Contact us using the details below.
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Question
tresorek
Hello.
I find on maxcheaters code
### Eclipse Workspace Patch 1.0 #P L2J_CT3 Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 3433) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -35,6 +35,7 @@ import javolution.util.FastMap; import net.sf.l2j.Config; import net.sf.l2j.L2DatabaseFactory; +import net.sf.l2j.gameserver.Announcements; import net.sf.l2j.gameserver.GameTimeController; import net.sf.l2j.gameserver.GeoData; import net.sf.l2j.gameserver.GmListTable; @@ -543,9 +544,13 @@ /** Bitmask used to keep track of one-time/newbie quest rewards*/ private int _newbie; + /**Quake System*/ + private int quakeSystem = 0; + private boolean _noble = false; private boolean _hero = false; - + + /** The L2FolkInstance corresponding to the last Folk wich one the player talked. */ private L2Npc _lastFolkNpc = null; @@ -5410,6 +5415,7 @@ { reviveRequest(this, null, false); } + quakeSystem = 0; return true; } @@ -5621,6 +5627,42 @@ { // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + quakeSystem++; + + switch(quakeSystem) { + case 4: + Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating!"); + break; + case 6: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Rampage!"); + break; + case 8: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree!"); + break; + case 10: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Monster Kill!"); + break; + case 12: + Announcements.getInstance().announceToAll("" + this.getName()+ " is Unstoppable!"); + break; + case 14: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on an Ultra Kill!"); + break; + case 16: + Announcements.getInstance().announceToAll("" + this.getName()+ " is Godlike"); + break; + case 18: + Announcements.getInstance().announceToAll("" + this.getName()+ " is Wicked Sick!"); + break; + case 20: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Ludricrous Kill!"); + break; + case 24: + Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Holy Shit!"); + default: + ; + } + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this));Credits to MaestroLuke
And i want to add sounds to all this announcements. I was also trying to apply this:
http://www.maxcheaters.com/forum/index.php?topic=78081.0
But it don`t work:/ Compiled succesfully but i don`t hear sounds.
and yes i put sounds to music folder.
Can someone help me to get this feature working on gracia epilogue last rev
I only want to play one sound when player reach 24 kills.
Thanks for advice
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now