Hello everyone!
I'm starting a new server off iClarity's blank server base.
So I'm currently creating a handler for item option 1 clicks.
I already created the ItemOption1 class, so now all I need is to know in which case I need to call, the handlePacket(Client client, int item) method in.
By the way, here's my ItemOption1.java:
Code:
package iClarity.rs2.io.packets;
import iClarity.rs2.players.*;
public class ItemOption1{
public static void handlePacket(Client client, int item){
switch(item){
default:
System.out.print("Unhandled item 1 click: " + item + "\n");
break;
}
}
}
So if there's anything wrong in it, please tell me.
-And yes I will add to your reputation if you just tell me the packet ID for item option 1 clicks.