The Undefeated Posted September 5, 2017 Posted September 5, 2017 Is there a way to find out if a sale is completed or aborted? Both return the same GE Box status.
Deceiver Posted September 5, 2017 Posted September 5, 2017 could maybe get the color of the green/red bar and if it matches do x
Butters Posted September 5, 2017 Posted September 5, 2017 Actually a good question, I was using Status.PENDING_BUY or Status.PENDING_SALE after aborting a sale/buy. But works kinda funky.
The Undefeated Posted September 5, 2017 Author Posted September 5, 2017 (edited) Hmm. getAmountTraded returns the total amount bought so you could use that, but getAmountRemaining will just return the amount it would buy in total even if it's completely bought already. Edited September 5, 2017 by The Undefeated
Antonio Kala Posted September 5, 2017 Posted September 5, 2017 (edited) Collect to inventory and check inv to see if you got back what you had in the offer. Edited September 5, 2017 by Antonio Kala
Alek Posted September 5, 2017 Posted September 5, 2017 Yeah, use colors instead of our hooks which give you the precise information...