• Log in or sign up for an account here: https://www.sythe.org/login

not leached ge!

Status
Not open for further replies.

zanox96

Member
Joined
Sep 15, 2008
Sythe Gold
0
Messages
27
:huh: :( :o :huh: :( :nuts: if u guys wantn my grand excahnge code here it is wit the tut title: how to make a grand exchange
difficutly: 2/10
files edited: client.java , autospawn.cfg, NPCHandler.java
tested on server: hustlascape and project czar


1. ok first go to client.java and search for


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!");
{
Code:
those are some items i have added my self you will have to add some other items by yerself for it to work

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("GE")) {
if (teleblock == true) {
sendMessage("A magical force stops you from teleporting."); // made by pk frenzy
} else {
teleportToX = 3253;
teleportToY = 3421;
heightLevel = 0;
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 custom command


CODE
case 167: 
if (teleblock == true) { // Made by pk frenzy
sendMessage("A magical force stops you from teleporting."); 
} else {
customCommand("GrandE"); // made by pk frenzy
}
break;


and this to youre autospawn.cfg


CODE
spawn = 793 3252 3423 0 0 0 0 0 1 ge banker


DO NOT TRADE OR TALK TO IT, IT WILL DC YOU EVERY TIME UNLESS YOU CAN FIX!!!

now.... 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";
}
}
wii add more items to it soon!:! if u say its leached iw will remov!!!!!!!!!^_^ ;)
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top