anyone gonna help this poor guy
Printable View
anyone gonna help this poor guy
OPITEM1(122) is sent when you click an item in a slot in an inventory. EQUIP_ITEM(41) is when you click an item in the inventory that is able to be worn.
EQUIP ITEM has the byte order ofif you were to make a switch (interfaceId) and case the inventory interface and the equipment interface you would be able to equip items properly in both scenarios. Your problem is probably related to poor grouping of these packets or duplicate code and one leads to a deadend and doesnt go further.Code:int id = buffer.readShort();
int slot = buffer.readShortA();
int interfaceId = buffer.readShortA();
I already helped this guy like a few days ago. He was messing around with the
And put his action in the wrong slot.Code:definition.widget_actions = new String[]{null, null, null, null, null};
good findQuote:
Originally Posted by Zerikoth [Only registered and activated users can see links. Click Here To Register...]