theknig 4 Share Posted November 20, 2021 I want when my script starts to check each slot indiviually and see their names, how much the offer is for, and if it is a sell or buy offer. I tried to open the slot using GrandExchange.openSlotInterface(1); sleep(1000); MethodProvider.log(GrandExchange.getCurrentChosenItemID()); but its returning -1 it only works when I am creating an offer not when an offer is already placed. I would appreciate any help in this. Edit: I found the solution GrandExchangeItem[] ge = GrandExchange.getItems(); for (int i = 0; i<ge.length;i++){ MethodProvider.log(ge[i].getName()); } Will go through each slot and get their names. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.