Jump to content
Sign in to follow this  
displee

718 Some button unlocks

Recommended Posts

Unlocks the quests in the quest tab (now you can send custom text to the quests trough the slotId)
[CODE]
getPackets().sendUnlockIComponentOptionSlots(190, 15, 0, 201, 0, 1, 2, 3);
[/CODE]

Unlocks remove button in the equipment stats interface
[CODE]
player.getPackets().sendUnlockIComponentOptionSlots(667, 9, 0, 14, 0);
[/CODE]

Unlocks drag item to inventory (shop)
[CODE]
player.getPackets().sendIComponentSettings(1265, 26, 0, getStoreSize() * 6, 82903066);
[/CODE] Edited by displee

Share this post


Link to post
Share on other sites
Thanks this may be useful :)

Share this post


Link to post
Share on other sites
[code]getPackets().sendIComponentSettings(590, i, 0, 190, 2150);[/code]

For last 5 emotes

Share this post


Link to post
Share on other sites
Yw guys.

Share this post


Link to post
Share on other sites
[quote name='displee']Unlocks the quests in the quest tab (now you can send custom text to the quests trough the slotId)
[CODE]
getPackets().sendUnlockIComponentOptionSlots(190, 15, 0, 201, 0, 1, 2, 3);
[/CODE]

Unlocks remove button in the equipment stats interface
[CODE]
player.getPackets().sendUnlockIComponentOptionSlots(667, 9, 0, 14, 0);
[/CODE]

Unlocks drag item to inventory (shop)
[CODE]
player.getPackets().sendIComponentSettings(1265, 26, 0, getStoreSize() * 6, 82903066);
[/CODE][/QUOTE]

Does the 1 in the middle make so you can remove items when the big equipment interface is open? And i don't get how to add it.. should i add it in this method?
[CODE] public static void openEquipmentBonuses(final Player player, boolean banking) {
player.stopAll();
player.getInterfaceManager().sendInventoryInterface(670);
player.getInterfaceManager().sendInterface(667);
player.getPackets().sendConfigByFile(4894, banking ? 1 : 0);
player.getPackets().sendItems(93,
player.getInventory().getItems());
player.getPackets().sendInterSetItemsOptionsScript(670, 0, 93,
4, 7, "Equip", "Compare", "Stats", "Examine");
player.getPackets().sendUnlockIComponentOptionSlots(670, 0, 0,
27, 0, 1, 2, 3);
player.getPackets().sendIComponentSettings(667, 14, 0, 13, 1030);
refreshEquipBonuses(player);
if(banking) {
player.getTemporaryAttributtes().put("Banking", Boolean.TRUE);
player.setCloseInterfacesEvent(new Runnable() {
[MENTION=15855]Over[/MENTION]ride
public void run() {
player.getTemporaryAttributtes().remove("Banking");
}

});
}
}[/CODE]
And do i replace it with this? [CODE] player.getPackets().sendUnlockIComponentOptionSlots(670, 0, 0,
27, 0, 1, 2, 3);[/CODE]
I have no idea... Maybye you could help a newbie :)

Share this post


Link to post
Share on other sites
Yes just add it there -.-

Share this post


Link to post
Share on other sites
Doesn't work wor me :S

Share this post


Link to post
Share on other sites
Replace nothing, just add it in that method...

Share this post


Link to post
Share on other sites
Sign in to follow this  

×