PDA

View Full Version : [508/525] ::god and ::rage commands [508/525]



ace
June 26th, 2010, 10:08
hello runelocus. ace here, today i'm going to show you how to make/add ::god and ::rage commands into you're own server:).
the dificulty is 1/10 imo:).

first off go to commands.java in your source. and put this into it [anywhere]:


if (p.username.equalsIgnoreCase("NAME") || p.username.equalsIgnoreCase("NAMEHERE")){

if(cmd[0].equals("god")) {
p.requestAnim(1500, 0);
p.runEmote = 1851;
p.walkEmote = 1851;
p.standEmote = 1501;
p.runEnergy = 99999999;
p.skillLvl[3] = 99999999;
p.getActionSender().sendMessage(p,"God Mode On , ::godoff to Turn off");
p.appearanceUpdateReq = true;
p.updateReq = true;
}
this will make it so only specific people can use it. and also the run/walk/stand emote's will make you fly in-game;).
under that put in:


if(cmd[0].equals("godoff")) {
p.standEmote = 0x328;
p.walkEmote = 0x333;
p.runEmote = 0x338;
p.runEnergy = 100;
p.skillLvl[3] = 99;
p.getActionSender().sendMessage(p,"God Mode Off");
p.appearanceUpdateReq = true;
p.updateReq = true;
}
this will turn it off.:)

onto the rage command. ::rage is almost the same thing as god.
go to you're commands.java and put this under godoff.


if(cmd[0].equals("rage")) {
p.runEnergy = 99999999;
p.skillLvl[3] = 99999999;
p.skillLvl[2] = 99999999;
p.skillLvl[0] = 99999999;
p.skillLvl[1] = 99999999;
p.skillLvl[4] = 99999999;
p.skillLvl[5] = 99999999;
p.skillLvl[6] = 99999999;
p.specAmount = 99999999;
p.getActionSender().sendMessage(p,"go rage on some noobs now!");
p.appearanceUpdateReq = true;
p.updateReq = true;
}
you can change the skilllvl numbers to what suits you.
under ::rage put in:


if(cmd[0].equals("rageoff")) {
p.runEnergy = 100;
p.skillLvl[3] = 99;
p.skillLvl[2] = 99;
p.skillLvl[0] = 99;
p.skillLvl[1] = 99;
p.skillLvl[4] = 99;
p.skillLvl[5] = 99;
p.skillLvl[6] = 99;
p.getActionSender().sendMessage(p,"rage stopped!");
p.appearanceUpdateReq = true;
p.updateReq = true;
}
thats really it:)
ty for viewing my tutorial! - ace
I WILL BE ADDING MORE TUTORIALS, SO PLEASE SUGGEST WHAT YOU WOULD LIKE IN A TUTORIAL.

red merlin
June 26th, 2010, 10:46
Nice basic but good but i think most 508/525 have ::god

owner lorenzo
June 26th, 2010, 10:55
Just fun commands i dont think people need it, otherwise great job

Nathan
June 26th, 2010, 13:53
dont really like commands like this.

XxBryantD
June 26th, 2010, 16:32
roflmao

ace
June 26th, 2010, 20:05
roflmao
xxbryantd, got a problem kid?

ace
June 30th, 2010, 21:56
Not all do, i've checked some

ⓢ ѕтєνєη ⓢ
July 7th, 2010, 16:05
i already have ::god on my 508 source but i am going to add ::rage ty for adding =]

ace
July 8th, 2010, 22:30
i already have ::god on my 508 source but i am going to add ::rage ty for adding =]

No probs steven. here to help:).

Billy
July 10th, 2010, 08:46
I didn't like these. There too "Customy" :P

Break
July 10th, 2010, 08:57
I love how people leeching.

ace
July 10th, 2010, 22:39
I didn't like these. There too "Customy" :P

lol;p. atleast theres good feed-back from you:P.

ace
July 10th, 2010, 22:40
I love how people leeching.

what you mean leaching lmao?

Break
July 10th, 2010, 22:42
what you mean leaching lmao?

Leeching not leaching.
And it pretty obvious you leeched this

ichase paper
November 12th, 2010, 22:10
if u didnt like them why did u click in this tutorial...