Lewis Posted November 21, 2016 Share Posted November 21, 2016 Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated Quote Link to comment Share on other sites More sharing options...
Explv Posted November 21, 2016 Share Posted November 21, 2016 Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated You can get the status for a specific box like so: GrandExchange.Status status = getGrandExchange().getStatus(GrandExchange.Box.BOX_1); Where the Box value is from BOX_1 to BOX_8: And the status' returned are: INITIALIZING_SALE FINISHED_SALE CANCELLING_BUY INITIALIZING_BUY COMPLETING_SALE PENDING_BUY FINISHED_BUY CANCELLING_SALE PENDING_SALE COMPLETING_BUY EMPTY 5 Quote Link to comment Share on other sites More sharing options...
Lewis Posted November 21, 2016 Author Share Posted November 21, 2016 You can get the status for a specific box like so: GrandExchange.Status status = getGrandExchange().getStatus(GrandExchange.Box.BOX_1); Where the Box value is from BOX_1 to BOX_8: And the status' returned are: INITIALIZING_SALE FINISHED_SALE CANCELLING_BUY INITIALIZING_BUY COMPLETING_SALE PENDING_BUY FINISHED_BUY CANCELLING_SALE PENDING_SALE COMPLETING_BUY EMPTY how would an if statement such as if pending_sale look like Quote Link to comment Share on other sites More sharing options...
Explv Posted November 21, 2016 Share Posted November 21, 2016 how would an if statement such as if pending_sale look like if (getGrandExchange().getStatus(GrandExchange.Box.BOX_1) == GrandExchange.Status.PENDING_SALE) { } Quote Link to comment Share on other sites More sharing options...
Lewis Posted November 21, 2016 Author Share Posted November 21, 2016 if (getGrandExchange().getStatus(GrandExchange.Box.BOX_1) == GrandExchange.Status.PENDING_SALE) { } thank you Quote Link to comment Share on other sites More sharing options...