Thread: [867] Interfaces

Results 1 to 3 of 3
  1. #1 [867] Interfaces 
    Registered Member
    Join Date
    Sep 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hi,

    I'm new to this community and just downloaded a few days ago the Nocturne (876) Source:
    https://www.rune-server.ee/runescape...ne-source.html


    Can some give me a source how interfaces are working or explain me how this is working?

    For example I'am updating the Party Room which was not working for me. So I have this code:

    openChest method:
    Code:
    player.getInterfaceManager().sendCentralInterface(CHEST_INTERFACE);
    		player.getInterfaceManager().sendInventoryInterface(INVENTORY_INTERFACE);
    		player.getPackets().sendInterSetItemsOptionsScript(INVENTORY_INTERFACE, 0, 93, 4, 7, "Deposit", "Deposit-5", "Deposit-10", "Deposit-All", "Deposit-X");
    		player.getPackets().sendIComponentSettings(INVENTORY_INTERFACE, 0, 0, 27, 1278);
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 23, 529, 6, 36, "Value");
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 24, 91, 6, 36, "Value");
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 25, 92, 8, 1, "Withdraw");
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 23, 0, 215, 1150);
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 24, 0, 215,	1026);
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 25, 0, 7, 1026);
    		player.getPackets().sendHideIComponent(CHEST_INTERFACE, 26, true);
    		refreshItems(player);
    refreshItems method:
    Code:
    player.getPackets().sendItems(529, store);
    		player.getPackets().sendItems(91, drop);
    		player.getPackets().sendItems(92, player.partyDeposit);
    Interface codes:
    CHEST_INTERFACE = 647
    INVENTORY_INTERFACE = 648



    But when I add items to the chest of the Party Room and press the ACCEPT BUTTON (529) the items will be visable in the accept button instead of the "Items to be dropped window". How is this possible?
    Reply With Quote  
     

  2. #2  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by ladida View Post
    Hi,

    I'm new to this community and just downloaded a few days ago the Nocturne (876) Source:
    https://www.rune-server.ee/runescape...ne-source.html


    Can some give me a source how interfaces are working or explain me how this is working?

    For example I'am updating the Party Room which was not working for me. So I have this code:

    openChest method:
    Code:
    player.getInterfaceManager().sendCentralInterface(CHEST_INTERFACE);
    		player.getInterfaceManager().sendInventoryInterface(INVENTORY_INTERFACE);
    		player.getPackets().sendInterSetItemsOptionsScript(INVENTORY_INTERFACE, 0, 93, 4, 7, "Deposit", "Deposit-5", "Deposit-10", "Deposit-All", "Deposit-X");
    		player.getPackets().sendIComponentSettings(INVENTORY_INTERFACE, 0, 0, 27, 1278);
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 23, 529, 6, 36, "Value");
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 24, 91, 6, 36, "Value");
    		player.getPackets().sendInterSetItemsOptionsScript(CHEST_INTERFACE, 25, 92, 8, 1, "Withdraw");
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 23, 0, 215, 1150);
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 24, 0, 215,	1026);
    		player.getPackets().sendIComponentSettings(CHEST_INTERFACE, 25, 0, 7, 1026);
    		player.getPackets().sendHideIComponent(CHEST_INTERFACE, 26, true);
    		refreshItems(player);
    refreshItems method:
    Code:
    player.getPackets().sendItems(529, store);
    		player.getPackets().sendItems(91, drop);
    		player.getPackets().sendItems(92, player.partyDeposit);
    Interface codes:
    CHEST_INTERFACE = 647
    INVENTORY_INTERFACE = 648



    But when I add items to the chest of the Party Room and press the ACCEPT BUTTON (529) the items will be visable in the accept button instead of the "Items to be dropped window". How is this possible?
    What code do you run when the player clicks the accept button? You need to update the item containers, and also send the updated item containers to the players.
    Project thread
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2020
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thanks. I have downloaded an interface editor. Now I'am able to check the ComponentId's. I had the wrong one. Fixed it now.
    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. Rune--Cheat Client Full interface *pictures + Video*
    By i ant geting in no plane in forum Downloads
    Replies: 27
    Last Post: 01-25-2008, 03:09 AM
  2. Recoloring the whole interface and stuff!!!!!!
    By Ninja Cat in forum Tutorials
    Replies: 19
    Last Post: 12-09-2007, 07:03 AM
  3. Replies: 15
    Last Post: 09-15-2007, 06:48 PM
  4. Packet 36 - Interface button Status
    By uber killer in forum Tutorials
    Replies: 9
    Last Post: 07-31-2007, 04:33 AM
  5. Adding Gfz in WhiteScape And Advanced Level Interface
    By Santa Noobie in forum Tutorials
    Replies: 1
    Last Post: 05-29-2007, 10:52 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •