adawaska 1 Share Posted August 29, 2018 Hi, how can i make my script world hop when the shop is run out of stock? Link to comment Share on other sites More sharing options...
Milasoft 202 Share Posted August 29, 2018 https://dreambot.org/javadocs/org/dreambot/api/methods/worldhopper/WorldHopper.html Link to comment Share on other sites More sharing options...
adawaska 1 Author Share Posted August 29, 2018 15 hours ago, Milasoft said: https://dreambot.org/javadocs/org/dreambot/api/methods/worldhopper/WorldHopper.html If shop runs out of stock? Link to comment Share on other sites More sharing options...
Milasoft 202 Share Posted August 29, 2018 Well you'd have to check the amount of items in the shop like: if(getShop().count("Item") > 0)) { //buy item } else { //hop world } Link to comment Share on other sites More sharing options...
adawaska 1 Author Share Posted August 30, 2018 8 hours ago, Milasoft said: Well you'd have to check the amount of items in the shop like: if(getShop().count("Item") > 0)) { //buy item } else { //hop world } Thank you Link to comment Share on other sites More sharing options...
Milasoft 202 Share Posted August 30, 2018 No problem Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.