Classes modifed : client.java,autospawn.cfg,item.cfg,npc.cfg,npchand ler.java
Source : project wave (p16)
First open client.java
under
Code:
else if (command.equalsIgnoreCase("fishing"))
{
FishingHelpMenu();
}
add
Code:
else if (command.equalsIgnoreCase("torso"))
{
teleportToX = 2602;
teleportToY = 3160;
sendMessage("good luck");
}
ok under
Code:
else if (manta == 12716) //Well X=2651,3370 //item harpoon slot 1
{
if (playerLevel[10] <= 119)
{
sendMessage("You need to be lvl 120 fishing to catch manta rays.");
}
else
{
manta();
}
}
add
Code:
else if(useItemID == 4273 && atObjectID == 5162) {
deleteItem(4273, getItemSlot(4273), 1);
sendMessage("Contratulations, Round one is done four rounds left!");
teleportToX = 2608;
teleportToY = 3166;
SummonNewNPC(2880);
}
else if(useItemID == 5585 && atObjectID == 5162) {
deleteItem(5585, getItemSlot(5585), 1);
sendMessage("Contratulations, Round two is done three rounds left");
teleportToX = 2608;
teleportToY = 3160;
SummonNewNPC(49);
}
else if (useItemID == 4272 && atObjectID == 5162) {
deleteItem(4272, getItemSlot(4272), 1);
sendMessage("Contratulations, Round three is done two rounds left");
teleportToX = 2608;
teleportToY = 3163;
SummonNewNPC(795);
}
else if(useItemID == 4078 && atObjectID == 5162) {
deleteItem(4078, getItemSlot(4078), 1);
sendMessage("Contratulations, Round four done, one round left.");
teleportToX = 2608;
teleportToY = 3166;
SummonNewNPC(509);
}
else if(useItemID == 6104 && atObjectID == 5162) {
deleteItem(6104, getItemSlot(6104), 1);
sendMessage("Contratulations, You are awarded your fighter torso now.");
teleportToX = 2604;
teleportToY = 3160;
addItem(6384,1);
}
Now save and open item.cfg
Search for
replace all line with this :
Code:
item = 6384 Fighter_Torso Harder_than_normal_leather. 700000000 700000000 198945.35621087 0 0 -40 0 62 85 62 -10 67 90 100 100
and
replace all line with this :
Code:
item = 6385 Fighter_Torso Swap_this_note_at_any_bank_for_a_Fighter_torso. 700000000 700000000 198945.35621087 0 0 -40 0 62 85 62 -10 67 90 100 100
save & close
Open autospawn.cfg and add this :
Code:
spawn = 275 2603 3163 0 2744 9150 2693 9213 1 Fighter torso minigame
save&close
Now open npc.cfg
add this somewhere there :
Code:
npc = 509 Nazastarool 93 15000
npc = 795 Ice_Queen 111 1500
npc = 49 Hellhound 122 1250
npc = 275 Guardian_of_Armadyl 43 750
npc = 2880 Dagannoth_Fledgeling 70 1000
add this into npchandler.java
Code:
if(npcs[NPCID].npcType == 49) {
ItemHandler.addItem(4272, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
int Player = npcs[NPCID].StartKilling;
client plr = (client) server.playerHandler.players[Player];
plr.addSkillXP(1000, 18);
}
if(npcs[NPCID].npcType == 795) {
ItemHandler.addItem(4078, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
int Player = npcs[NPCID].StartKilling;
client plr = (client) server.playerHandler.players[Player];
plr.addSkillXP(1000, 18);
}
if(npcs[NPCID].npcType == 509) {
ItemHandler.addItem(6104, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
int Player = npcs[NPCID].StartKilling;
client plr = (client) server.playerHandler.players[Player];
plr.addSkillXP(1000, 18);
}
if(npcs[NPCID].npcType == 2880) {
ItemHandler.addItem(5585, npcs[NPCID].absX, npcs[NPCID].absY, 1, GetNpcKiller(NPCID), false);
int Player = npcs[NPCID].StartKilling;
client plr = (client) server.playerHandler.players[Player];
plr.addSkillXP(1000, 18);
}
add this in item2.java
Code:
public static int Hell_Hound[] = {1305, 1305, 1434, 1434, 4587, 4587, 5698, 5698, 1149};
public static int randomHell_Hound()
{
return Hell_Hound[(int)(Math.random()*Hell_Hound.length)];
}
ok, from that make some more drops for the other keys k?
ill ad the others in l8r im off now to shop