Hi i've come to you for help on my coding (RuneCrafting) its some how not working: Here's what the compiler said after compiling.......
Code:
client.java:7557: cannot find symbol
symbol : variable objectID
location: class client
if (objectID == 2486); {
^
Here's what it looks like in the Client.java (the whole runecrafting thing):
Code:
public void craftNats(int requiredlvl, int expadd, int itemtoadd) {
int essamount = 0;
if (playerHasItem(1436)) {
if (playerLevel[20] >= requiredlvl) {
if (playerLevel[20] >= 0) {
essamount = amountOfItem(1436);
}
for (int i = 0; i < 29; i++) {
deleteItem(1436, getItemSlot(1436), i);
}
addSkillXP(expadd*essamount, 20);
addItem(itemtoadd, essamount);
setAnimation(791);
}
} else if (!playerHasItem(1436)) {
sendMessage("You need some rune essence to craft runes!");
}
if (objectID == 2486); {
craftNats(1, 250, 561);
}
}
If you know what your doing you'll be able to help me on this without a problem!
P.S. If you want to help me out you can come on my server and make suggestions or even fix some of the problems i may have.