RetroBot 35 Posted August 2, 2020 When trying to buy a knife in the GE it wont scroll to the item to purchase it. After I manually scroll it will pick back up and continue like normal.
PhilBox 24 Posted August 2, 2020 Pass the item's name through the buy command. (Providing you are trying to buy a specific item) getGrandExchange().searchItem("Bronze pickaxe"); getGrandExchange().buyItem("Bronze pickaxe", <Quantity>, <Buy Price>);
RetroBot 35 Author Posted August 2, 2020 41 minutes ago, PhilBox said: Pass the item's name through the buy command. (Providing you are trying to buy a specific item) getGrandExchange().searchItem("Bronze pickaxe"); getGrandExchange().buyItem("Bronze pickaxe", <Quantity>, <Buy Price>); It searches the item and buys the item just fine with getGrandExchange().buyItem("Knife", 1, 200) it just wont scroll to the item; .
PhilBox 24 Posted August 2, 2020 @RetroBot Ahh I see your problem, I'm gonna do some testing. EDIT: Have you tried getGrandExchange().scrollToItem(Widget)? You'd have to scan through all the widgets on the page which could be resource intensive, but I believe that is the only way.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.