Jump to content

How to sell the whole amount of an item in the GE?


trainux

Recommended Posts

How to sell the whole amount of an item in the GE?

Guiding me from the API GrandExchange Sell Item

I try in the following way:

grandExchange.sellItem(439, 30, 0);

Automatically places to sell a single item.
I put "0" at the end, assuming that it interprets that they are all those that are in the inventory.
I would like to sell them all in one sale.

Link to comment
Share on other sites

1 hour ago, trainux said:

Yeah! good idea to solve the amount.

Thank you thank you very much. Solved.

Or, u can just select the item whenever ge is open, assuming its note/stacked, it would automatically set the amount in ge to full.

if(item != null){
	//checks and etc.
  	if(item.interact()){
		//conditionalsleep
    }
}

 

Edited by progamerz
  • Like 1
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...