This my first tut people like my server and the ge so i dedcided to post the tut,please post leachers links here
Well this is on my server RunescapeIV which can be downloaded here:
http://www.rune-server.org/showthrea...798#post728798
ok but to add your own
search this in client.java if u got gs mini this should work if u don't you will have to search around a little bit
Code:
} else if (useItemID == 601 && atObjectID == 4126) // reward
you should see something like this
Code:
} else if (useItemID == 601 && atObjectID == 4126) // reward
{
sendMessage(
"Well done, you have just finished your mini game, here's your reward :)");
addSkillXP((300000 * playerLevel[6]), 6);
deleteItem(601, getItemSlot(601), 1);
addItem(15336, 1);
teleportToX = 2845;
teleportToY = 4832;
Add these under that code
Code:
} else if (useItemID == 15334 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling bandos godsword at Ge!:)");
} else if (useItemID == 15350 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling bandos boots at Ge!:)");
} else if (useItemID == 15348 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling bandos chest at Ge!:)");
} else if (useItemID == 15349 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling bandos tasset at Ge!:)");
} else if (useItemID == 15348 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling sara gs at Ge!:)");
} else if (useItemID == 15335 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling zammy gs at Ge!:)");
} else if (useItemID == 15333 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling arm gs at Ge!:)");
} else if (useItemID == 15351 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling sara sword at Ge!:)");
} else if (useItemID == 9099 && atObjectID == 75) // Ge reward
{
PlayerHandler.messageToAll = (playerName
+ " is selling zammy cloak at Ge!:)");
{
ok now go into your make global objects and add these
Code:
makeGlobalObject(3251, 3421, 75, -3, 10); // Ge-chest
add these with your commands
Code:
} else if (command.equalsIgnoreCase("GrandE")) {
if (teleblock == true) {
sendMessage("A magical force stops you from teleporting."); // made by rang34nub
} else {
teleportToX = 3253;
teleportToY = 3421;
sendMessage(
"You teleport to ge sell stuff here");
sendMessage(
"some items are not in the database more items will be added soon");
}
and for the coustom comand
Code:
case 167:
if (teleblock == true) { // Made by rang34nub
sendMessage("A magical force stops you from teleporting.");
} else {
customCommand("GrandE"); // made by rang34nub
}
break;
and this to youre autospawn.cfg
Code:
spawn = 793 3252 3423 0 0 0 0 0 1 ge banker
Add this to your npcs speaking to do this go into npchandler.java and search for moo you should see something like this or something similar
Code:
if (npcs[i].npcType == 409) {
if (misc.random2(30) <= 2) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Type ::info to begin";
}
}
under that add this
Code:
if (npcs[i].npcType == 793) {
if (misc.random2(30) <= 2) {
npcs[i].updateRequired = true;
npcs[i].textUpdateRequired = true;
npcs[i].textUpdate = "Welcome to the grand Exchange Sell stuff here";
}
} }
there u go post errors here
Ucan add a block off or anything else u like