Maybe Your client is trying to open multiple walkabale interfaces at once.
|
So im working on making barrows fully working and for the prayer draining it requires an 'Barrows head' to show up on the screen its flickering
Using packet 246 using the following:
Code:sendItemOnInterface(4537, 100, 4761)
Maybe Your client is trying to open multiple walkabale interfaces at once.
player.getPackets().sendItemOnIComponent(24, headComponentId, 4761 + headIndex, 0);
player.getPackets().sendIComponentAnimation(9810, 24, headComponentId);
This is how it's sent on matrix. Perhaps you must send the animation along with it to keep it from flickering?
int headComponentId = 9 + Utils.random(2);
int headIndex = getBrotherHeadIndex();//basically 0-6 (incl. akrisae)
Packet syntaxes are:
sendItemOnIComponent(int interfaceid, int componentId, int id, int amount)
sendIComponentAnimation(int emoteId, int interfaceId, int componentId)
That's all I can help you here with; if this doesn't work out it has got something to do with your packet probably; something maybe interfering with it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |