When opening the bank, do you do anything with the equipment interface?
I have both interfaces working perfectly (rev 667), together and separately. No special timings or scripts needed
|
I know this has been posted several times, and I've searched through other threads on this topic and still can't figure it out.
This is my issue: https://www.rune-server.ee/runescape...-resolved.html
Code:if (interfaceId == 387) { if (componentId == 39) { openEquipmentBonuses(player, false); });FixedCode:public static void openEquipmentBonuses(final Player player, boolean banking) { player.stopAll(); player.getInterfaceManager().sendInterface(667); player.getInterfaceManager().sendInventoryInterface(670); player.getPackets().sendItems(93, player.getInventory().getItems()); player.getPackets().sendGlobalConfig(779, player.getEquipment().getWeaponRenderEmote()); player.getPackets().sendRunScript(787, 1); player.getPackets().sendInterSetItemsOptionsScript(670, 0, 93, 4, 7, "Equip", "Examine"); player.getPackets().sendUnlockIComponentOptionSlots(670, 0, 0, 27, 0, 1, 2, 3); player.getPackets().sendIComponentSettings(667, 7, 0, 15, 1538); refreshEquipBonuses(player); }
Add:In your openbank methodCode:player.getPackets().sendInterface(false, 548, 11, 667);
When opening the bank, do you do anything with the equipment interface?
I have both interfaces working perfectly (rev 667), together and separately. No special timings or scripts needed
No. I'm not doing anything with the equipment screen when opening the bank. (I removed some bank pin code, but other than that this is my openbank command.)
Code:public void openBank() { player.getInterfaceManager().sendInterface(762); player.getInterfaceManager().sendInventoryInterface(763); refreshViewingTab(); refreshTabs(); unlockButtons(); sendItems(); refreshLastX(); refreshBankSize(); }
You need to also open the equipment interface when you open the bank, but not in the default child of the gameframe (default central is 19 fixed/12 resizeable on v667). I open it on child 9/10.
You shouldn't have to do anything special with the equipment interface afterwards
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |