Thread: How to remove arrows in book interface.

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11  
    Registered Member
    Join Date
    Jan 2017
    Posts
    119
    Thanks given
    7
    Thanks received
    19
    Rep Power
    9
    move the child that is the arrows of interface 837 to like -10000, -100000
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Apr 2013
    Posts
    50
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    I fixed it. I did this:

    Code:
    if (pktType == 171) {
    				boolean hidden = inStream.readUnsignedByte() == 1;
    				int interfaceIndex = inStream.readUnsignedWord();
    				RSInterface.interfaceCache[interfaceIndex].hidden = hidden;
    				pktType = -1;
    				return true;
    			}
    And then this in the server side::

    Code:
    showInterface(837);
    player.getActionSender().sendHideInterfaceLayer(840, true); //remove left arrow
    player.getActionSender().sendHideInterfaceLayer(842, false); //keep right arrow (you can leave this only when you havent hidden the interface previously)
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

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. How To Removing Objects In Map?
    By Matheus_Silva in forum Help
    Replies: 4
    Last Post: 10-30-2014, 04:11 PM
  2. Replies: 0
    Last Post: 12-22-2012, 12:08 AM
  3. How to remove alching in dementhium 637/639
    By Zandicus in forum Snippets
    Replies: 14
    Last Post: 05-12-2012, 05:16 AM
  4. Replies: 6
    Last Post: 09-26-2009, 10:36 AM
  5. Replies: 0
    Last Post: 08-20-2009, 07:38 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
  •