- Joined
- Mar 19, 2007
- Sythe Gold
- 0
- Messages
- 1,084
- Age
- 33
Alright this is a fairly simple guide, since there aren't many guides here I thought I'd post one.
Step 1: Find the emote you want to change. Go in texthandler.java and press crtl+f. Now type in what the emote says. Once you find it you'll be able to change it to whatever you want. You can also make it different colors by adding @gre@ in front of it along with many other colors.
For example I'll search for the "yes" emote. So I'd go in texthandler.java and press ctrl+f and type in
Then I'd replace it with whatever I'd want, for example barrows, and I wanted to make it a cyan color. So where it says yes, I'd delete the yes and put
Don't delete the quotation marks.
Step 2: Now that you've changed what the text says, you'll want to change what it does. Now go in client.java, and hit ctrl+f and type in
Now the ###'s represent the case number. To find the case number hover over the emote you're changing and it should say case ### I'll use case 168 for example. Now here's what it should look like (or something close to it).
Now you see where it says customCommand("home")? Now you're going to want to change the home part, so it knows which command to activate. So if you want it to teleport you to barrows you'd put barrows, or whatever you named your command. You could also put in any other command you have.
Now if you don't have a command I'll show you have to make one.
Go in client.java and search for
Now once you have find that you're going to want to press enter after the "{" and then copy and paste this
Now that's for the teleporting, of course though you're going to want to change where it says commandnameyouwant, and yourxcords, etc. If you want it to add items you're going to want to add
that's just what my starter looks like. just change the first number to the item id you want. Now that should be it, if you have any questsion post here. :]
Step 1: Find the emote you want to change. Go in texthandler.java and press crtl+f. Now type in what the emote says. Once you find it you'll be able to change it to whatever you want. You can also make it different colors by adding @gre@ in front of it along with many other colors.
For example I'll search for the "yes" emote. So I'd go in texthandler.java and press ctrl+f and type in
Code:
"yes"
Code:
@cya@barrows
Step 2: Now that you've changed what the text says, you'll want to change what it does. Now go in client.java, and hit ctrl+f and type in
Code:
case ###
Code:
case 168:
if (teleblock == true) { // Made by musicmad441
sendMessage("A magical force stops you from teleporting.");
} else {
customCommand("home"); // made by Musicmad441
}
break;
Now if you don't have a command I'll show you have to make one.
Go in client.java and search for
Code:
command.startsWith
Code:
} else if (command.equalsIgnoreCase("commandnameyouwant")) {
if (teleblock == true) {
sendMessage("A magical force stops you from teleporting."); // made by Musicmad441
} else {
teleportToX = yourxcords;
teleportToY = yourycords;
sendMessage("You teleport to wherever!.");
}
Code:
if (command.equalsIgnoreCase("starter")) {
if (starter == 0) {
addItem(995, 100000000);
addItem(392, 50000000);
addItem(554, 2000);
addItem(555, 2000);
addItem(4278, 2000);
addItem(556, 2000);
addItem(557, 2000);
addItem(558, 2000);
addItem(559, 2000);
addItem(561, 2000);
addItem(562, 2000);
addItem(563, 2000);
addItem(2415, 1);
addItem(4675, 1);
addItem(4151, 1);
addItem(853, 1);
addItem(861, 1);
addItem(892, 8000);
sendMessage("You Have Started Your Adventure..lulz lame!");
starter = 1;
savemoreinfo();
savechar();
} else if (starter == 1) {
sendMessage("Sorry.");
PlayerHandler.messageToAll = (playerName
+ " Is a noob and is trying to get a extra starter!! :p");
}
}


