Jump to content

Recommended Posts

Posted

Hello members of Mxc!! I was looking some Quakes PvP systems for me..After i found some and them worked.. i wanted to put some more things!

 

For example:

1)Announce

2)A ExShowMessage will be showed

3)Get Full HP/CP/MP

4)At every announce to be a special Effect! (In my ocasion i chosed 721 which is anakim's skill!)

5)I wanted to put sounds. But didnt make it! :)

 

Cause im new in this L2j staff!!! i was experimenting on the code with the addons i wanted to put for my own sever!!

 

Okey Let's Start!! I have it on H5 client.

 

Open eclipse and go to ==>: model.actor.instance.l2pcinstance.java

 

Good now press ctrl + f (To make search) and searching for

private int _newbie;

After the line you found copy right above this one :

**Quake System*/
private int quakeSystem = 0;

 

Ok.now press again ctrl + f and search

setPvpKills(getPvpKills() + 1);

Again right above write this one

quakeSystem++;

 

Now leave a line and put the main part code.!

 

switch(quakeSystem) {
        	case 5:
        		 ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 5 kills in a row", 10000);
        		 sendPacket(case5);
        		 Announcements.getInstance().announceToAll("" + this.getName()+ " is Geting Started!");
        		 MagicSkillUse MS5 = new MagicSkillUse (this, 721, 1, 5, 0);
        		 setCurrentCp(getMaxCp());
        	     setCurrentHp(getMaxHp());
        	     setCurrentMp(getMaxMp());
        	     sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	     sendPacket(MS5);
        		 break;
        	case 10:
        		ExShowScreenMessage case10 = new ExShowScreenMessage("You reached 10 kills in a row", 10000);
        		sendPacket(case10);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating!");
        		MagicSkillUse MS10 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS10);
        		break;
        	case 15:
        		ExShowScreenMessage case15 = new ExShowScreenMessage("You reached 15 kills in a row", 10000);
        		sendPacket(case15);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is Having dinner! ");
        		MagicSkillUse MS15 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS15);
        		break;
        	case 20:
        		ExShowScreenMessage case20 = new ExShowScreenMessage("You reached 20 kills in a row", 10000);
        		sendPacket(case20);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Killing Spree!");
        		MagicSkillUse MS20 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS20);
        		break;
        	case 25:
        		ExShowScreenMessage case25 = new ExShowScreenMessage("You reached 25 kills in a row", 10000);
        		sendPacket(case25);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on a Range!");
        		MagicSkillUse MS25 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS25);
        		break;
        	case 30:
        		ExShowScreenMessage case30 = new ExShowScreenMessage("You reached 30 kills in a row", 10000);
        		sendPacket(case30);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is Unstoppable Killer!");
        		MagicSkillUse MS30 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS30);
        		break;
        	case 35:
        		ExShowScreenMessage case35 = new ExShowScreenMessage("You reached 35 kills in a row", 10000);
        		sendPacket(case35);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on Terror Mode!");
        		MagicSkillUse MS35 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS35);
        		break;
        	case 40:
        		ExShowScreenMessage case40 = new ExShowScreenMessage("You reached 40 kills in a row", 10000);
        		sendPacket(case40);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is On Fire! Somebody help him!");
        		MagicSkillUse MS40 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS40);
        		break;
        	case 45:
        		ExShowScreenMessage case45 = new ExShowScreenMessage("You reached 45 kills in a row", 10000);
        		sendPacket(case45);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is unbeatable!");
        		MagicSkillUse MS45 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS45);
        		break;
        	case 50:
        		ExShowScreenMessage case50 = new ExShowScreenMessage("You reached 50 kills in a row", 10000);
        		sendPacket(case50);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is Reaper's left hand!");
        		MagicSkillUse MS50 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS50);
        		break;
        	case 55:
        		ExShowScreenMessage case55 = new ExShowScreenMessage("You reached 55 kills in a row", 10000);
        		sendPacket(case55);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " has a real pvp spirit in him!");
        		MagicSkillUse MS55 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS55);
        		break;
        	case 60:
        		ExShowScreenMessage case60 = new ExShowScreenMessage("You reached 60 kills in a row", 10000);
        		sendPacket(case60);
        		Announcements.getInstance().announceToAll("" + this.getName()+ "  is pvp lord!");
        		MagicSkillUse MS60 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS60);
        		break;
        	case 65:
        		ExShowScreenMessage case65 = new ExShowScreenMessage("You reached 65 kills in a row", 10000);
        		sendPacket(case65);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is on pvp frenzy! Stop him!");
        		MagicSkillUse MS65 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS65);
        		break;
        	case 70:
        		ExShowScreenMessage case70 = new ExShowScreenMessage("You reached 70 kills in a row", 10000);
        		sendPacket(case70);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is a f**ing pro gamer!");
        		MagicSkillUse MS70 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS70);
        		break;
        	case 75:
        		ExShowScreenMessage case75 = new ExShowScreenMessage("You reached 75 kills in a row", 10000);
        		sendPacket(case75);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is about to get record!");
        		MagicSkillUse MS75 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS75);
        		break;
        	case 80:
        		ExShowScreenMessage case80 = new ExShowScreenMessage("You reached 80 kills in a row", 10000);
        		sendPacket(case80);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is becoming a legend!");
        		MagicSkillUse MS80 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS80);
        		break;
        	case 85:
        		ExShowScreenMessage case85 = new ExShowScreenMessage("You reached 85 kills in a row", 10000);
        		sendPacket(case85);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " is out of his mind! Everyone, get him! ");
        		MagicSkillUse MS85 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS85);
        		break;
        	case 90:
        		ExShowScreenMessage case90 = new ExShowScreenMessage("You reached 90 kills in a row", 10000);
        		sendPacket(case90);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " OMFG! He's getting drugs on his char! 90 PvPs!! ");
        		MagicSkillUse MS90 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS90);
        		break;
        	case 95:
        		ExShowScreenMessage case95 = new ExShowScreenMessage("You reached 95 kills in a row", 10000);
        		sendPacket(case95);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " Losing connection! Someone, stop this disaster ");
        		MagicSkillUse MS95 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS95);
        		break;
        	case 100:
        		ExShowScreenMessage case100 = new ExShowScreenMessage("You reached 100 kills in a row", 10000);
        		sendPacket(case100);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " Chuck Norris has a son! ");
        		MagicSkillUse MS100 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS100);
        		break;
        	case 105:
        		ExShowScreenMessage case105 = new ExShowScreenMessage("You reached 105 kills in a row", 10000);
        		sendPacket(case105);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " Is Everybody's God ");
        		MagicSkillUse MS105 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS105);
        		break;
        	case 110:
        		ExShowScreenMessage case110 = new ExShowScreenMessage("You reached 110 kills in a row", 10000);
        		sendPacket(case110);
        		Announcements.getInstance().announceToAll("" + this.getName()+ " System overload. Cant announce nothing more for this crazy guy");
        		MagicSkillUse MS110 = new MagicSkillUse (this, this, 721, 1, 5, 0);
        		setCurrentCp(getMaxCp());
        	    setCurrentHp(getMaxHp());
        	    setCurrentMp(getMaxMp());
        	    sendMessage(getName() + " HP, CP, MP restored, a present because you have 5 more kills!");
        	    sendPacket(MS110);
        		 default:
        			 ;
        }

 

You can change the Effect,The  Messages,Announces ! It's Very easy.. :)

 

 

Okey Now the final step..!! Press Ctrl + F find this :

 

reviveRequest(this, null, false);
}

 

and under the  }  write this

quakeSystem = 0;

 

So it will be looking like this!! ==>

 

reviveRequest(this,null,false);
}
quakeSystem = 0;

 

PHOTOS

shot00028h.png

 

shot00029f.png

 

shot00030w.png

 

 

If any questions make a reply!

Like i said in the beggining i'm new and took an idea/code of a man and putted addons i wanted to have!!

 

[move]Credits:  MaestroLuke for some part of the code and Me for putting addons and sharing !!  [/move]

Guest
This topic is now closed to further replies.


  • Posts

    • Okay I respect that but why is your other account banned?   I don't think this happened just because you delayed somebodys work even in 2012
    • Do You understand the fact, I won't scam anyone? Can You grasp such idea?  Second of all, if a random restaurant on Google Maps has 599 positive reviews and few negative ones with 4,8* score, do You ask Google to block it's profile and burn the place down? No? Then why the fuck You are crying about my random delays? If someone can't get a CUSTOM DESIGN on time, I refund. I'm not 16  y.o. anymore. I don't make living out of this L2 bullshit. Never did. Since 2012 I've made shit tons of projects. How many delays did I have? 12? 15? Out of hundrets of projects. Calm Your tits please. If I would actually take 4k euro and NOT deliver and NOT refund - admins can ban me. So don't compare me to Simple. And just so You know, Celestine sent me customers, so it's not like I've worked with him on his account all the time. That's another thing You won't understand. I won't waste anymore time on You and any other cunt who never was my customer but is bitching just because he has nothing better to do in his life. You don't like my work? Hove along, I don't give a shit. 
    • So he's like unsimple you would say? Cherry picking who's getting scammed.   Deliver 5 projects, don't deliver/delay the other 2 projects. Of course he won't scam you because he know what's gonna happen after since he's dealing with the admin himself.
    • I've worked with Ave a lot lately on designs and other projects. He has always delivered as quickly as possible sometimes within a week, maybe two. Personally, I’m patient, so I’ve never had an issue with the wait. I’m not trying to defend him blindly, but I genuinely don’t believe he would mess someone over for €60 €100. Sometimes he's inactive, likely due to real life responsibilities, but I don't judge everyone has their own situations. I understand that some people are impatient and want their orders completed quickly, but considering the quality of his work, I have no problem waiting. Of course, people react differently to delays, and that’s fair. But in my experience, I can't call him a scammer he's always delivered what I ordered.
  • Topics

×
×
  • Create New...