P
pk3r kyle
Guest
Ok, first in you client.java search for "rune"
You should see this:
ok, then copy and paste this code just before the beginning of the void
so it looks like this
Now, search for Case 451://Runite
You should see this:
Now, once again, copy this code, and paste it again over the current one, so it looks like this:
Now, change it to look like this:
heres how that works
Smelting: what you get from smelting the tokkul (in this case)
Level: self Explanitory
Exp: self Explanitory
What: Not used, but what you are putting into furnace
What slot: dont change this variable, unless you want the furnace to only smelt items in the 2nd slot of your bag.
Del coal: not sure what it stands for, but it means how much coal is needed along with the ore to make the item.
You should see this:
Code:
public void rune(){
if (actionTimer == 0)
{
addItem(2363,1);
sendMessage("You make a rune bar.");
deleteItem(451,getItemSlot(451),1);
addSkillXP((450*playerLevel[13]), 13);
actionName = "rune";
actionTimer = 10;
pEmote = 0x383;
updateRequired = true; appearanceUpdateRequired = true;
}
}
ok, then copy and paste this code just before the beginning of the void
Code:
public void tokkul(){
if (actionTimer == 0)
{
addItem(6570,1);
sendMessage("You make a fire cape.");
deleteItem(6529,getItemSlot(6570),1);
addSkillXP((900*playerLevel[13]), 13);
actionName = "tokkul";
actionTimer = 10;
pEmote = 0x383;
updateRequired = true; appearanceUpdateRequired = true;
}
}
so it looks like this
Code:
public void tokkul(){
if (actionTimer == 0)
{
addItem(6570,1);
sendMessage("You make a fire cape.");
deleteItem(6529,getItemSlot(6570),1);
addSkillXP((900*playerLevel[13]), 13);
actionName = "tokkul";
actionTimer = 10;
pEmote = 0x383;
updateRequired = true; appearanceUpdateRequired = true;
}
}
public void rune(){
if (actionTimer == 0)
{
addItem(2363,1);
sendMessage("You make a rune bar.");
deleteItem(451,getItemSlot(451),1);
addSkillXP((450*playerLevel[13]), 13);
actionName = "rune";
actionTimer = 10;
pEmote = 0x383;
updateRequired = true; appearanceUpdateRequired = true;
}
}
Now, search for Case 451://Runite
You should see this:
Code:
case 451: //runite
if (AreXItemsInBag(453, 8) == true) {
smelting[0] = 1;
smelting[1] = 85;
smelting[2] = 50;
smelting[3] = 2363;
smelting[6] = 8;
} else {
sendMessage("You need 1 runite ore and 4 coal to smelt 1 runite bar.");
return false;
}
break;
Now, once again, copy this code, and paste it again over the current one, so it looks like this:
Code:
case 451: //fire
if (AreXItemsInBag(6529, 1) == true) {
smelting[0] = 1;
smelting[1] = 99;
smelting[2] = 5000;
smelting[3] = 6570;
smelting[6] = 0;
} else {
sendMessage("get some tokkul to make a fire cape");
return false;
}
break;
case 451: //runite
if (AreXItemsInBag(453, 8) == true) {
smelting[0] = 1;
smelting[1] = 85;
smelting[2] = 50;
smelting[3] = 2363;
smelting[6] = 8;
} else {
sendMessage("You need 1 runite ore and 4 coal to smelt 1 runite bar.");
return false;
}
break;
heres how that works
Code:
[0] = smelting
[1] = Level
[2] = Exp
[3] = Item
[4] = What
[5] = What Slot
[6] = Del Coal
Smelting: what you get from smelting the tokkul (in this case)
Level: self Explanitory
Exp: self Explanitory
What: Not used, but what you are putting into furnace
What slot: dont change this variable, unless you want the furnace to only smelt items in the 2nd slot of your bag.
Del coal: not sure what it stands for, but it means how much coal is needed along with the ore to make the item.


