• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tut] Ownage Command For Owners[TUT]

Newbie Spellweaver
Joined
Feb 22, 2008
Messages
65
Reaction score
0
Porpuse:This TUt will show you how to make a command To Make U explode!
Difficulty:1/10
Files Used:Client.java
Credits: Me.!

Step 1
Open client.java find a command you already have in your server, e.g:
Code:
if(command.startsWith("newhed")) {
int newheadicon2 = Integer.parseInt(command.substring(7));
headIcon = newheadicon2;
updateRequired = true;
appearanceUpdateRequired = true;
}
Step 2
After the command you have chosen put this:
Code:
if (command.startsWith("YOURCOMMANDCHOICE") && playerName.equalsIgnoreCase("YOURNAMEHERE"))
{
stillgfx(572, absY, absX); //Hole in ground
stillgfx(571, absY, absX); //Dust storm
stillgfx(582, absY+1, absX+1);
stillgfx(498, absY+4, absX-1); //498 = Fireball
stillgfx(498, absY-4, absX+1);
stillgfx(498, absY+1, absX+4);
stillgfx(498, absY-1, absX-4);
stillgfx(498, absY, absX-4);
stillgfx(498, absY, absX+4);
stillgfx(498, absY+4, absX);
stillgfx(498, absY-4, absX);
stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
stillgfx(547, absY-1, absX+1);
stillgfx(547, absY+1, absX+1);
stillgfx(547, absY-1, absX-1);
stillgfx(437, absY, absX-1); // 437 = Retribution
stillgfx(437, absY, absX+1);
stillgfx(437, absY+1, absX);
stillgfx(437, absY-1, absX);
stillgfx(287, absY, absX); // 287 = HUGE Explosion
stillgfx(287, absY+3, absX);
stillgfx(287, absY-3, absX);
stillgfx(287, absY, absX+3);
stillgfx(287, absY, absX-3);
stillgfx(287, absY+2, absX-2);
stillgfx(287, absY-2, absX+2);
stillgfx(287, absY+2, absX+2);
stillgfx(287, absY-2, absX-2);
//Flames
stillgfx(453, absY+1, absX-1);
stillgfx(453, absY-1, absX+1);
stillgfx(453, absY+1, absX+1);
stillgfx(453, absY-1, absX-1);
stillgfx(453, absY, absX-1);
stillgfx(453, absY, absX+1);
stillgfx(453, absY+1, absX);
stillgfx(453, absY-1, absX);
stillgfx(453, absY+2, absX-2);
stillgfx(453, absY-2, absX+2);
stillgfx(453, absY+2, absX+2);
stillgfx(453, absY-2, absX-2);
stillgfx(453, absY, absX-2);
stillgfx(453, absY, absX+2);
stillgfx(453, absY+2, absX);
stillgfx(453, absY-2, absX);
stillgfx(453, absY, absX-3);
stillgfx(453, absY, absX+3);
stillgfx(453, absY+3, absX);
stillgfx(453, absY-3, absX);
stillgfx(453, absY+1, absX-2);
stillgfx(453, absY-1, absX+2);
stillgfx(453, absY+1, absX+2);
stillgfx(453, absY-1, absX-2);
stillgfx(453, absY+2, absX-1);
stillgfx(453, absY-2, absX+1);
stillgfx(453, absY+2, absX+1);
stillgfx(453, absY-2, absX-1);
stillgfx(453, absY+1, absX-3);
stillgfx(453, absY-1, absX+3);
stillgfx(453, absY+1, absX+3);
stillgfx(453, absY-1, absX-3);
stillgfx(453, absY+3, absX-1);
stillgfx(453, absY-3, absX+1);
stillgfx(453, absY+3, absX+1);
stillgfx(453, absY-3, absX-1);
}
Don't forget to replace YOURNAMEHERE and YOURCOMMANDCHOICE to what ever you want to name it!

Explanation
Basically, what this command does, is to make a big explotion all around you.
The Stillgfx, is the Animation that the server does. For example,Code:
stillgfx(453, absY-3, absX-1);
You can change 453 Into any other gfx you want it to be!

Tell Me If any errors
 
Newbie Spellweaver
Joined
Jun 27, 2007
Messages
38
Reaction score
1
Re: [TUT]Ownage Command For Owners[TUT]

great tut thank you
 
Newbie Spellweaver
Joined
Feb 22, 2008
Messages
65
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

Your Welcome.
 
Newbie Spellweaver
Joined
Oct 23, 2006
Messages
14
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

Nice!
Thank you!
 
Newbie Spellweaver
Joined
Oct 23, 2006
Messages
14
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

Anyway you can make this do damage?
That would be an awesome command, even outside of wildy.
 
Experienced Elementalist
Joined
Oct 27, 2005
Messages
262
Reaction score
2
Re: [TUT]Ownage Command For Owners[TUT]

easy, just add
Code:
attackPlayersPrayer(15, 2);

so it will looks like this


Code:
if (command.startsWith("YOURCOMMANDCHOICE") && playerName.equalsIgnoreCase("YOURNAMEHERE"))
{
attackPlayersPrayer(15, 2);
stillgfx(572, absY, absX); //Hole in ground
stillgfx(571, absY, absX); //Dust storm
stillgfx(582, absY+1, absX+1);
stillgfx(498, absY+4, absX-1); //498 = Fireball
stillgfx(498, absY-4, absX+1);
stillgfx(498, absY+1, absX+4);
stillgfx(498, absY-1, absX-4);
stillgfx(498, absY, absX-4);
stillgfx(498, absY, absX+4);
stillgfx(498, absY+4, absX);
stillgfx(498, absY-4, absX);
stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
stillgfx(547, absY-1, absX+1);
stillgfx(547, absY+1, absX+1);
stillgfx(547, absY-1, absX-1);
stillgfx(437, absY, absX-1); // 437 = Retribution
stillgfx(437, absY, absX+1);
stillgfx(437, absY+1, absX);
stillgfx(437, absY-1, absX);
stillgfx(287, absY, absX); // 287 = HUGE Explosion
stillgfx(287, absY+3, absX);
stillgfx(287, absY-3, absX);
stillgfx(287, absY, absX+3);
stillgfx(287, absY, absX-3);
stillgfx(287, absY+2, absX-2);
stillgfx(287, absY-2, absX+2);
stillgfx(287, absY+2, absX+2);
stillgfx(287, absY-2, absX-2);
//Flames
stillgfx(453, absY+1, absX-1);
stillgfx(453, absY-1, absX+1);
stillgfx(453, absY+1, absX+1);
stillgfx(453, absY-1, absX-1);
stillgfx(453, absY, absX-1);
stillgfx(453, absY, absX+1);
stillgfx(453, absY+1, absX);
stillgfx(453, absY-1, absX);
stillgfx(453, absY+2, absX-2);
stillgfx(453, absY-2, absX+2);
stillgfx(453, absY+2, absX+2);
stillgfx(453, absY-2, absX-2);
stillgfx(453, absY, absX-2);
stillgfx(453, absY, absX+2);
stillgfx(453, absY+2, absX);
stillgfx(453, absY-2, absX);
stillgfx(453, absY, absX-3);
stillgfx(453, absY, absX+3);
stillgfx(453, absY+3, absX);
stillgfx(453, absY-3, absX);
stillgfx(453, absY+1, absX-2);
stillgfx(453, absY-1, absX+2);
stillgfx(453, absY+1, absX+2);
stillgfx(453, absY-1, absX-2);
stillgfx(453, absY+2, absX-1);
stillgfx(453, absY-2, absX+1);
stillgfx(453, absY+2, absX+1);
stillgfx(453, absY-2, absX-1);
stillgfx(453, absY+1, absX-3);
stillgfx(453, absY-1, absX+3);
stillgfx(453, absY+1, absX+3);
stillgfx(453, absY-1, absX-3);
stillgfx(453, absY+3, absX-1);
stillgfx(453, absY-3, absX+1);
stillgfx(453, absY+3, absX+1);
stillgfx(453, absY-3, absX-1);
}
 
Newbie Spellweaver
Joined
Feb 22, 2008
Messages
65
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

easy, just add
Code:
attackPlayersPrayer(15, 2);
so it will looks like this


Code:
if (command.startsWith("YOURCOMMANDCHOICE") && playerName.equalsIgnoreCase("YOURNAMEHERE"))
{
attackPlayersPrayer(15, 2);
stillgfx(572, absY, absX); //Hole in ground
stillgfx(571, absY, absX); //Dust storm
stillgfx(582, absY+1, absX+1);
stillgfx(498, absY+4, absX-1); //498 = Fireball
stillgfx(498, absY-4, absX+1);
stillgfx(498, absY+1, absX+4);
stillgfx(498, absY-1, absX-4);
stillgfx(498, absY, absX-4);
stillgfx(498, absY, absX+4);
stillgfx(498, absY+4, absX);
stillgfx(498, absY-4, absX);
stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
stillgfx(547, absY-1, absX+1);
stillgfx(547, absY+1, absX+1);
stillgfx(547, absY-1, absX-1);
stillgfx(437, absY, absX-1); // 437 = Retribution
stillgfx(437, absY, absX+1);
stillgfx(437, absY+1, absX);
stillgfx(437, absY-1, absX);
stillgfx(287, absY, absX); // 287 = HUGE Explosion
stillgfx(287, absY+3, absX);
stillgfx(287, absY-3, absX);
stillgfx(287, absY, absX+3);
stillgfx(287, absY, absX-3);
stillgfx(287, absY+2, absX-2);
stillgfx(287, absY-2, absX+2);
stillgfx(287, absY+2, absX+2);
stillgfx(287, absY-2, absX-2);
//Flames
stillgfx(453, absY+1, absX-1);
stillgfx(453, absY-1, absX+1);
stillgfx(453, absY+1, absX+1);
stillgfx(453, absY-1, absX-1);
stillgfx(453, absY, absX-1);
stillgfx(453, absY, absX+1);
stillgfx(453, absY+1, absX);
stillgfx(453, absY-1, absX);
stillgfx(453, absY+2, absX-2);
stillgfx(453, absY-2, absX+2);
stillgfx(453, absY+2, absX+2);
stillgfx(453, absY-2, absX-2);
stillgfx(453, absY, absX-2);
stillgfx(453, absY, absX+2);
stillgfx(453, absY+2, absX);
stillgfx(453, absY-2, absX);
stillgfx(453, absY, absX-3);
stillgfx(453, absY, absX+3);
stillgfx(453, absY+3, absX);
stillgfx(453, absY-3, absX);
stillgfx(453, absY+1, absX-2);
stillgfx(453, absY-1, absX+2);
stillgfx(453, absY+1, absX+2);
stillgfx(453, absY-1, absX-2);
stillgfx(453, absY+2, absX-1);
stillgfx(453, absY-2, absX+1);
stillgfx(453, absY+2, absX+1);
stillgfx(453, absY-2, absX-1);
stillgfx(453, absY+1, absX-3);
stillgfx(453, absY-1, absX+3);
stillgfx(453, absY+1, absX+3);
stillgfx(453, absY-1, absX-3);
stillgfx(453, absY+3, absX-1);
stillgfx(453, absY-3, absX+1);
stillgfx(453, absY+3, absX+1);
stillgfx(453, absY-3, absX-1);
}

Thanks :D
 
Initiate Mage
Joined
Apr 26, 2008
Messages
1
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

wow thats a ownage command Oo!!

i put this in with it:
Code:
setAnimation(1979);    
txt4 = "Aaaaaaaaaaargh!!!"; 
string4UpdateRequired = true;
 
Newbie Spellweaver
Joined
Jul 22, 2007
Messages
30
Reaction score
0
Re: [TUT]Ownage Command For Owners[TUT]

it doesnt work.. i putted it in bud doest work??

i need to compile first ?
i compiled it bud still no work ?\

help ma please :d
 
Junior Spellweaver
Joined
Jun 28, 2008
Messages
191
Reaction score
220
Well this1 Works fine for me :) maybe some other players can try it to.. :D
this one kills all player in big range around me :D
Also looks gr8
can anyone explain me how to make this to kill npc's to?

Code:
if (command.startsWith("boom") && playerRights >= 3)
{
setAnimation(1979);
plrText = "FEEL MY POWER! MWUAHAHAHHAHAHAAAA..."; // This says it in itself.
plrTextUpdateRequired = true; // Make sure the txt4 will update.
attackPlayersWithin(**** 1000, 100);
hitDiff = 1500;	
stillgfx(572, absY, absX); //Hole in ground
stillgfx(571, absY, absX); //Dust storm
stillgfx(582, absY+1, absX+1);
stillgfx(498, absY+4, absX-1); //498 = Fireball
stillgfx(498, absY-4, absX+1);
stillgfx(498, absY+1, absX+4);
stillgfx(498, absY-1, absX-4);
stillgfx(498, absY, absX-4);
stillgfx(498, absY, absX+4);
stillgfx(498, absY+4, absX);
stillgfx(498, absY-4, absX);
stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
stillgfx(547, absY-1, absX+1);
stillgfx(547, absY+1, absX+1);
stillgfx(547, absY-1, absX-1);
stillgfx(437, absY, absX-1); // 437 = Retribution
stillgfx(437, absY, absX+1);
stillgfx(437, absY+1, absX);
stillgfx(437, absY-1, absX);
stillgfx(287, absY, absX); // 287 = HUGE Explosion
stillgfx(287, absY+3, absX);
stillgfx(287, absY-3, absX);
stillgfx(287, absY, absX+3);
stillgfx(287, absY, absX-3);
stillgfx(287, absY+2, absX-2);
stillgfx(287, absY-2, absX+2);
stillgfx(287, absY+2, absX+2);
stillgfx(287, absY-2, absX-2);
stillgfx(453, absY+1, absX-1);
stillgfx(453, absY-1, absX+1);
stillgfx(453, absY+1, absX+1);
stillgfx(453, absY-1, absX-1);
stillgfx(453, absY, absX-1);
stillgfx(453, absY, absX+1);
stillgfx(453, absY+1, absX);
stillgfx(453, absY-1, absX);
stillgfx(453, absY+2, absX-2);
stillgfx(453, absY-2, absX+2);
stillgfx(453, absY+2, absX+2);
stillgfx(453, absY-2, absX-2);
stillgfx(453, absY, absX-2);
stillgfx(453, absY, absX+2);
stillgfx(453, absY+2, absX);
stillgfx(453, absY-2, absX);
stillgfx(453, absY, absX-3);
stillgfx(453, absY, absX+3);
stillgfx(453, absY+3, absX);
stillgfx(453, absY-3, absX);
stillgfx(453, absY+1, absX-2);
stillgfx(453, absY-1, absX+2);
stillgfx(453, absY+1, absX+2);
stillgfx(453, absY-1, absX-2);
stillgfx(453, absY+2, absX-1);
stillgfx(453, absY-2, absX+1);
stillgfx(453, absY+2, absX+1);
stillgfx(453, absY-2, absX-1);
stillgfx(453, absY+1, absX-3);
stillgfx(453, absY-1, absX+3);
stillgfx(453, absY+1, absX+3);
stillgfx(453, absY-1, absX-3);
stillgfx(453, absY+3, absX-1);
stillgfx(453, absY-3, absX+1);
stillgfx(453, absY+3, absX+1);
stillgfx(453, absY-3, absX-1);
}
 
Newbie Spellweaver
Joined
Oct 6, 2008
Messages
28
Reaction score
0
you stole this from Allstar Scape source... -.-

Code:
  if (command.startsWith("owner") && playerName.equalsIgnoreCase("Mod Allstar"))
{
            stillgfx(572, absY, absX); //Hole in ground
            stillgfx(571, absY, absX); //Dust storm
            stillgfx(582, absY+1, absX+1);
            stillgfx(498, absY+4, absX-1); //498 = Fireball
            stillgfx(498, absY-4, absX+1);
            stillgfx(498, absY+1, absX+4);
            stillgfx(498, absY-1, absX-4);
            stillgfx(498, absY, absX-4);
            stillgfx(498, absY, absX+4);
            stillgfx(498, absY+4, absX);
            stillgfx(498, absY-4, absX);
            stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
            stillgfx(547, absY-1, absX+1);
            stillgfx(547, absY+1, absX+1);
            stillgfx(547, absY-1, absX-1);
            stillgfx(437, absY, absX-1); // 437 = Retribution
            stillgfx(437, absY, absX+1);
            stillgfx(437, absY+1, absX);
            stillgfx(437, absY-1, absX);
            stillgfx(287, absY, absX); // 287 = HUGE Explosion
            stillgfx(287, absY+3, absX);
            stillgfx(287, absY-3, absX);
            stillgfx(287, absY, absX+3);
            stillgfx(287, absY, absX-3);
            stillgfx(287, absY+2, absX-2);
            stillgfx(287, absY-2, absX+2);
            stillgfx(287, absY+2, absX+2);
            stillgfx(287, absY-2, absX-2);
            //Flames
            stillgfx(453, absY+1, absX-1);
            stillgfx(453, absY-1, absX+1);
            stillgfx(453, absY+1, absX+1);
            stillgfx(453, absY-1, absX-1);
            stillgfx(453, absY, absX-1);
            stillgfx(453, absY, absX+1);
            stillgfx(453, absY+1, absX);
            stillgfx(453, absY-1, absX);
            stillgfx(453, absY+2, absX-2);
            stillgfx(453, absY-2, absX+2);
            stillgfx(453, absY+2, absX+2);
            stillgfx(453, absY-2, absX-2);
            stillgfx(453, absY, absX-2);
            stillgfx(453, absY, absX+2);
            stillgfx(453, absY+2, absX);
            stillgfx(453, absY-2, absX);
            stillgfx(453, absY, absX-3);
            stillgfx(453, absY, absX+3);
            stillgfx(453, absY+3, absX);
            stillgfx(453, absY-3, absX);
            stillgfx(453, absY+1, absX-2);
            stillgfx(453, absY-1, absX+2);
            stillgfx(453, absY+1, absX+2);
            stillgfx(453, absY-1, absX-2);
            stillgfx(453, absY+2, absX-1);
            stillgfx(453, absY-2, absX+1);
            stillgfx(453, absY+2, absX+1);
            stillgfx(453, absY-2, absX-1);
            stillgfx(453, absY+1, absX-3);
            stillgfx(453, absY-1, absX+3);
            stillgfx(453, absY+1, absX+3);
            stillgfx(453, absY-1, absX-3);
            stillgfx(453, absY+3, absX-1);
            stillgfx(453, absY-3, absX+1);
            stillgfx(453, absY+3, absX+1);
            stillgfx(453, absY-3, absX-1);
         }
 
Initiate Mage
Joined
Jul 22, 2008
Messages
4
Reaction score
0
Well this1 Works fine for me :) maybe some other players can try it to.. :D
this one kills all player in big range around me :D
Also looks gr8
can anyone explain me how to make this to kill npc's to?

Code:
if (command.startsWith("boom") && playerRights >= 3)
{
setAnimation(1979);
plrText = "FEEL MY POWER! MWUAHAHAHHAHAHAAAA..."; // This says it in itself.
plrTextUpdateRequired = true; // Make sure the txt4 will update.
attackPlayersWithin(**** 1000, 100);
hitDiff = 1500;	
stillgfx(572, absY, absX); //Hole in ground
stillgfx(571, absY, absX); //Dust storm
stillgfx(582, absY+1, absX+1);
stillgfx(498, absY+4, absX-1); //498 = Fireball
stillgfx(498, absY-4, absX+1);
stillgfx(498, absY+1, absX+4);
stillgfx(498, absY-1, absX-4);
stillgfx(498, absY, absX-4);
stillgfx(498, absY, absX+4);
stillgfx(498, absY+4, absX);
stillgfx(498, absY-4, absX);
stillgfx(547, absY+1, absX-1); //547 = Exploding bomb with smoke
stillgfx(547, absY-1, absX+1);
stillgfx(547, absY+1, absX+1);
stillgfx(547, absY-1, absX-1);
stillgfx(437, absY, absX-1); // 437 = Retribution
stillgfx(437, absY, absX+1);
stillgfx(437, absY+1, absX);
stillgfx(437, absY-1, absX);
stillgfx(287, absY, absX); // 287 = HUGE Explosion
stillgfx(287, absY+3, absX);
stillgfx(287, absY-3, absX);
stillgfx(287, absY, absX+3);
stillgfx(287, absY, absX-3);
stillgfx(287, absY+2, absX-2);
stillgfx(287, absY-2, absX+2);
stillgfx(287, absY+2, absX+2);
stillgfx(287, absY-2, absX-2);
stillgfx(453, absY+1, absX-1);
stillgfx(453, absY-1, absX+1);
stillgfx(453, absY+1, absX+1);
stillgfx(453, absY-1, absX-1);
stillgfx(453, absY, absX-1);
stillgfx(453, absY, absX+1);
stillgfx(453, absY+1, absX);
stillgfx(453, absY-1, absX);
stillgfx(453, absY+2, absX-2);
stillgfx(453, absY-2, absX+2);
stillgfx(453, absY+2, absX+2);
stillgfx(453, absY-2, absX-2);
stillgfx(453, absY, absX-2);
stillgfx(453, absY, absX+2);
stillgfx(453, absY+2, absX);
stillgfx(453, absY-2, absX);
stillgfx(453, absY, absX-3);
stillgfx(453, absY, absX+3);
stillgfx(453, absY+3, absX);
stillgfx(453, absY-3, absX);
stillgfx(453, absY+1, absX-2);
stillgfx(453, absY-1, absX+2);
stillgfx(453, absY+1, absX+2);
stillgfx(453, absY-1, absX-2);
stillgfx(453, absY+2, absX-1);
stillgfx(453, absY-2, absX+1);
stillgfx(453, absY+2, absX+1);
stillgfx(453, absY-2, absX-1);
stillgfx(453, absY+1, absX-3);
stillgfx(453, absY-1, absX+3);
stillgfx(453, absY+1, absX+3);
stillgfx(453, absY-1, absX-3);
stillgfx(453, absY+3, absX-1);
stillgfx(453, absY-3, absX+1);
stillgfx(453, absY+3, absX+1);
stillgfx(453, absY-3, absX-1);
}

hello i tryed this code but dont work it gives a error because there isnt 3 int, int, int but i tryed to change it this way : 1000, **** 10
this dont work to ****, 1000, 100 that wont work any suggestions??
 
Junior Spellweaver
Joined
Jan 6, 2009
Messages
136
Reaction score
0
This was made in the beginning of 2008 :/

god, I have grave diggers....

I could swear to god i had seen this in 2007 or earlier.. and it was originaly developed by bakatool (probably wrong), I believe i saw it in delta a while ago. also bakatool made a different version of it used in delta.

Very simple command, good tut for those who didn't know about it.

Also, stefano191, your error is from different sources having different int orders, what source might you have?

~Stability666
 
Back
Top