Jump to content

Recommended Posts

Posted

Καλοσοριζω την παρεα του φορουμ..επειδη ψαχτικα λιγο για τα quake kai pvp announces systems!!! Ηθελα να συνδιασω μερικα πραγματα σε ενα Quake PvP Annoynce system!

 

Πχ:Οταν παιρνεις PvP να γινεται:

1)Announce

2)Να φενεται στο ExShowMessage

3)Να σε γεμιζει Full HP/CP/MP

4)Να σε κανει σε καθε Announce Ενα Special Effect απο ενα Skill(στην περιπτωση μου εχω διαλεξει το 721 το οποιο ειναι το Skill της Anakim)

5)Ηθελα να βαλω και Sounds  αλλα τελικα δν το εκανα!!

 

Λοιπον ειμαι new Σε αυτα τα πραγματα οποτε πειραματιστικα συντιαζοντας!!Γιαυτο παρακαλω μην κραζετε το ενα και το αλλο!!

 

Ας Ξεκινησουμε!!Γω σε H5 Client το εχω και δουλευει!

 

Παμε Ανοιγουμε ανοιγουμε το Eclipse και παμε στο ==>: model.actor.instance.l2pcinstance.java

 

Ωραια παταμε τωρα ctrl + f (Για να κανουμε Search!) και ψαχνουμε το

private int _newbie;

Τωρα ακριβος απο κατω γραφουμε :

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

 

Ok.τωρα παταμε παλι ctrl + f και αυτην την φορα ψαχνουμε το

setPvpKills(getPvpKills() + 1);

Ακριβως απο κατω παλι γραφουμε

quakeSystem++;

 

Τωρα αφηνουμε μια σειρα και ηρθε η ωρα για τον κυριοτερο κωδικα!!

 

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:
        			 ;
        }

 

Μπορειτε να γραψετε και να επεξεργασετε το μηνυμα οπως θελετε εσεις!!

 

 

Ωραια λοιπον.. τωρα παμε και παταμε παλι το ctrl + f και ψαχνουμε για το

 

reviveRequest(this, null, false);
}

 

κατω απο το }  γραφουμε

quakeSystem = 0;

 

Δηλαδη θα ειναι καπως ετσι ==>

 

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

 

PHOTOS

shot00028h.png

 

shot00029f.png

 

shot00030w.png

 

 

Αυτο ηταν οτι απορειες εχεται πειτε μου!

Επισης οπως ειπα στην αρχη ειμαι νεος εδω και απλα πειρα την ιδεα καποιου και την τροποποιησα ετσι οπως το ηθελα για εμενα!! και το εκανα Share!!

 

[move]Credits:  MaestroLuke Για τον Κωδικα Και Εμενα για την τροποιηση και το share!  [/move]

Posted

:o pl kalo brv sou sinexise na kanis tetoia share ! tha to dokimasw ;)

 

Ευχαριστω... Ειμαι καπως νεος στους κωδικες και ετσι!!Απλα θα μαθω και θα κανω ωραια shares στο μελλον!!

  • 2 weeks later...

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

    • Good luck with your g/o 😃
    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
    • Hello everyone! I'm offering professional L2J development services, specialized for aCis projects.   🔹 What I offer: Ready-to-implement existing systems (events, features, gameplay improvements). Custom development: I can create new systems based on your specific requests and ideas. Bug fixing, optimization, and enhancement of your server's code. Professional, clean, and organized Java coding. Support after delivery to ensure smooth integration.   🔹 Some examples of available systems: PvP and PvE Mini-Events (fully automated). Custom Raid Boss Events. Advanced Clan Utilities (regroup features, clan ranking, etc). Reward Systems (based on kills, damage, objectives, etc). Achievements Subscription system Arena Fights (1v1 tournament, scratch made). Advanced event engine (12 events, many features). multi-client aCis project, progressive gameplay C4 to C6   🔹 Why work with me? Years of experience working directly with aCis pack. Fast, reliable communication. I care about performance and long-term stability. I can adjust the systems to fit your server's style and balance.   🔹 Pricing: Flexible depending on the complexity (fixed price per project or per system). Discounts for multiple systems or long-term collaboration.   🔹 Contact: MaxCheaters PM Discord: @Luminous   Serious and passionate about your project? Let's make your server unique!
  • Topics

×
×
  • Create New...