Thread: Item flickering on interface?

Results 1 to 8 of 8
  1. #1 Item flickering on interface? 
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    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)
    Attached image
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Sep 2015
    Posts
    53
    Thanks given
    11
    Thanks received
    1
    Rep Power
    0
    Maybe Your client is trying to open multiple walkabale interfaces at once.
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by Unthinkable View Post
    Maybe Your client is trying to open multiple walkabale interfaces at once.
    Im not even using a walkable interface, im using packet 246 (item on interface).
    Reply With Quote  
     

  4. #4  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    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?
    Attached image
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by Kris View Post
    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?
    Sorry forgot to post that im also sending the animation using packet 200, on what id are they sending it the 'headComponentId'

    Code:
    			sendItemOnInterface(4537, 100, Misc.random(4)*2+4761);
    			sendFrame200(4537, 2085);
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Nighel View Post
    Sorry forgot to post that im also sending the animation using packet 200, on what id are they sending it the 'headComponentId'

    Code:
    			sendItemOnInterface(4537, 100, Misc.random(4)*2+4761);
    			sendFrame200(4537, 2085);
    Packet 200 is sendInterfaceAnimation. Maybe PM Stan he did it before.
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Jan 2010
    Age
    29
    Posts
    4,122
    Thanks given
    274
    Thanks received
    551
    Rep Power
    738
    Quote Originally Posted by _Patrick_ View Post
    Packet 200 is sendInterfaceAnimation. Maybe PM Stan he did it before.
    If done it in 2012 with the same code didnt flicker back then
    Reply With Quote  
     

  8. #8  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    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.
    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [377] Items stuck on Interface
    By deatomize in forum Help
    Replies: 0
    Last Post: 03-26-2015, 10:26 PM
  2. Replies: 0
    Last Post: 01-04-2012, 05:26 PM
  3. Replies: 4
    Last Post: 06-13-2011, 07:43 AM
  4. Replies: 17
    Last Post: 04-28-2008, 01:10 PM
  5. Replies: 30
    Last Post: 02-10-2008, 04:48 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •