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:
;
}
Increase the pvp kills count and send the info to the player
*/
private int spreeKills = 0;
public void increasePvpKills()
{
spreeKills++;
switch(spreeKills){
case 1:
PlaySound _snd1 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0);
sendPacket(_snd1);
break;
case 2:
PlaySound _snd2 = new PlaySound(1, "doublekill", 0, 0, 0, 0, 0);
sendPacket(_snd2);
break;
case 3:
PlaySound _snd3 = new PlaySound(1, "triplekill", 0, 0, 0, 0, 0);
sendPacket(_snd3);
break;
case 4:
PlaySound _snd4 = new PlaySound(1, "megakill", 0, 0, 0, 0, 0);
sendPacket(_snd4);
break;
case 5:
PlaySound _snd5 = new PlaySound(1, "ultrakill", 0, 0, 0, 0, 0);
sendPacket(_snd5);
break;
case 10:
PlaySound _snd10 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0);
sendPacket(_snd10);
break;
case 15:
PlaySound _snd15 = new PlaySound(1, "killingspree", 0, 0, 0, 0, 0);
sendPacket(_snd15);
break;
default:
;
}
{
if (TvT._started && _inEventTvT || DM._started && _inEventDM || CTF._started && _inEventCTF || FortressSiege._started && _inEventFOS)
return;
if (Config.ALLOW_PVP_REWARD)
{
// Item Reward system
addItem("Loot", Config.PVP_REWARD_ITEM, Config.PVP_REWARD_COUNT, this, true);
sendMessage("You will be rewarded for pvp kill!");
}
// Add to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
quakeSystem++;
switch(quakeSystem) {
case 1:
Announcements.getInstance().announceToAll("" + this.getName()+ " Monster kill!");
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:
;
}
and i get errors :/ please can you modified and paste here the right code? thanks
.Any Solution or make the soulshot Toggle
somewon can help me how i can make my custom soulshot left click toggle
all works only toggle i can't manage it, 😞
thanks in advance.
I was looking for server with a low rates,eventually i found l2 elixir.I Joined beta and after so many years since 2008 i found a friend that we played together, memories came back. i cant wait for the grand oppening!. dont miss it!
Question
Rio
i want help to apply some java codes. i tried in many ways but i get errors >.> i'm still noob on java so what i want is to unite this two java codes:
Quake PvP system:http://www.maxcheaters.com/forum/index.php?topic=78071.0
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: ; }with Sound durin PvP: http://www.maxcheaters.com/forum/index.php?topic=78081.0
+ private int spreeKills = 0; public void increasePvpKills() { + spreeKills++; + + switch(spreeKills){ + + case 1: + PlaySound _snd1 = new PlaySound(1, "firstblood", 0, 0, 0, 0, 0); + sendPacket(_snd1); + break; + + case 2: + PlaySound _snd2 = new PlaySound(1, "doublekill", 0, 0, 0, 0, 0); + sendPacket(_snd2); + break; + + case 3: + PlaySound _snd3 = new PlaySound(1, "triplekill", 0, 0, 0, 0, 0); + sendPacket(_snd3); + break; + + case 4: + PlaySound _snd4 = new PlaySound(1, "megakill", 0, 0, 0, 0, 0); + sendPacket(_snd4); + break; + + case 5: + PlaySound _snd5 = new PlaySound(1, "ultrakill", 0, 0, 0, 0, 0); + sendPacket(_snd5); + break; + + case 10: + PlaySound _snd10 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0); + sendPacket(_snd10); + break; + + case 15: + PlaySound _snd15 = new PlaySound(1, "killingspree", 0, 0, 0, 0, 0); + sendPacket(_snd15); + break; + default: + ; + } +i made it like this:
Increase the pvp kills count and send the info to the player */ private int spreeKills = 0; public void increasePvpKills() { spreeKills++; switch(spreeKills){ case 1: PlaySound _snd1 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0); sendPacket(_snd1); break; case 2: PlaySound _snd2 = new PlaySound(1, "doublekill", 0, 0, 0, 0, 0); sendPacket(_snd2); break; case 3: PlaySound _snd3 = new PlaySound(1, "triplekill", 0, 0, 0, 0, 0); sendPacket(_snd3); break; case 4: PlaySound _snd4 = new PlaySound(1, "megakill", 0, 0, 0, 0, 0); sendPacket(_snd4); break; case 5: PlaySound _snd5 = new PlaySound(1, "ultrakill", 0, 0, 0, 0, 0); sendPacket(_snd5); break; case 10: PlaySound _snd10 = new PlaySound(1, "monsterkill", 0, 0, 0, 0, 0); sendPacket(_snd10); break; case 15: PlaySound _snd15 = new PlaySound(1, "killingspree", 0, 0, 0, 0, 0); sendPacket(_snd15); break; default: ; } { if (TvT._started && _inEventTvT || DM._started && _inEventDM || CTF._started && _inEventCTF || FortressSiege._started && _inEventFOS) return; if (Config.ALLOW_PVP_REWARD) { // Item Reward system addItem("Loot", Config.PVP_REWARD_ITEM, Config.PVP_REWARD_COUNT, this, true); sendMessage("You will be rewarded for pvp kill!"); } // Add to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); quakeSystem++; switch(quakeSystem) { case 1: Announcements.getInstance().announceToAll("" + this.getName()+ " Monster kill!"); 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: ; }and i get errors :/ please can you modified and paste here the right code? thanks
24 answers to this question
Recommended Posts