i added allot of skills like woodcutting mining and fishing but now im stuck at cooking im trying to add this :
http://www.rune-server.org/runescape...ng-events.html
and this is the error :
Code:
Errors
.\palidino76\rs2\io\packets\ItemOnObject.java:32: cannot find symbol
symbol : variable itemId
location: class palidino76.rs2.io.packets.ItemOnObject
CookingManager.handleItemOnObject(p, itemId, objectId);
^
.\palidino76\rs2\io\packets\ItemOnObject.java:32: cannot find symbol
symbol : variable objectId
location: class palidino76.rs2.io.packets.ItemOnObject
CookingManager.handleItemOnObject(p, itemId, objectId);
I did import cookingmanager and it has handleitemonobject
but still it says cannot find symbool :
Code:
public static void handleItemOnObject(Player p,int itemId, int objectId) {
if(objectId == stove()) {
if (stove() != -1 || objectId != -1) {
handleCooking(p, itemId, 1);
}
}