It might be that your wearitem method is called something else, check in item assistant or something.
|
Hi!
I am using the old method of switching, I just want my users to be able to switch, I don't care how the method, I just want them to be able to do it.
This is my method
http://www.rune-server.org/runescape...switching.html
However I get an error on:
public void messageReceived(IoSession arg0, Object arg1) throws Exception {
if (arg0.getAttachment() != null) {
Packet packet = (Packet)arg1;
Client client = (client) arg0.getAttachment();
if(packet.getId() == 41) {
client.timeOutCounter = 0;
client.wearId = packet.readUnsignedWord();
client.wearSlot = packet.readUnsignedWordA();
client.interfaceId = packet.readUnsignedWordA();
client.getItems().wearItem(client.wearId, client.wearSlot);
} else {
client.queueMessage((Packet) arg1);
}
}
}
It might be that your wearitem method is called something else, check in item assistant or something.
Sean is da helpfull in coding
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |