Jump to content

status of GE selling slot


Lewis

Recommended Posts

Looking to find out how to tell the difference between these 4 GE slot statuses

 

f06e55bb39.png

 

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
  • Like 5
Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...