wkmac Posted September 30, 2013 Posted September 30, 2013 (edited) How do i check if a shop is open and interact within the shop? as the title says... i got this: Shop trading = new Shop(this); if(trading.isOpen() && !client.getInventory().contains(unNotedEssence)){ ShopItem theEssence = trading.getShopItemByName("Pure essence"); client.getInventory().interactWithId(notedPureEssence, "Sell 10"); sleep(120); theEssence.buy10(); } else { NPC jimShop = closestNPC(jim); jimShop.interact("Trade"); sleep(random(100, 1200)); } Edited September 30, 2013 by wkmac
Yugod Posted September 30, 2013 Posted September 30, 2013 http://osbot.org/forum/topic/10937-new-store-class-library-access-a-store-easily/