[QUOTE=clem585;5061455]
Originally Posted by
Genisys
Huh it's sendItemOnIComponent so it should only send the item to a different place. You probably did something wrong. I'm talking about this 2:
Code:
player.getPackets().sendItemOnIComponent(244, 2, 11286, -1);
And btw you can just use the blue "quote" button to quote someone.
I'm using a frame called 'addInterfaceItem' im using 508 pali source so probably explains it. Do you have the frame method at all? this is the method im using:
My itemonobject:
Code:
p.frames.showChatboxInterface(p, 244);
p.frames.addInterfaceItem(p, 244, 2, -1, 11286);
p.frames.setString(p, " ", 244, 3);
p.frames.setString(p, "You set to work, trying to attach the ancient draconic", 244, 4);
p.frames.setString(p, "visage to your anti-dragonbreath shield. It's not easy to", 244, 5);
p.frames.setString(p, "work with the ancient artifact and it takes all of your", 244, 6);
p.frames.setString(p, "skill as a master smith.", 244, 7);
and my addInterfaceItem frame:
Code:
public void addInterfaceItem(Player p, int interfaceid, int child, int itemsize, int itemid) {
if (p == null || p.stream == null)
return;
int inter = ((interfaceid * 65536) + child);
p.stream.createFrame(35);
p.stream.writeDWord_v2(inter);
p.stream.writeDWordBigEndian(itemsize);
p.stream.writeWordBigEndianA(itemid);
}