Jump to content

Check if trade was succesfull


Recommended Posts

Posted

So the bot goes to trade, in the second trading window it accepts the trade and waits for the other player to accept as well. Is there an easy way to check if the other player accepted the trade? Because in this scenario, if the other player either denies or accepts the trade, the trade window closes.

Posted
5 minutes ago, Nor3g said:

Thank you so much!

I read the API and understood it as if this was during the trade window and not after, however I think I understand how I can make it work now! You've been great help! :)

Listen to the chatbox and sleep until the msg "trade successful" or whatever it says exactly and if you see it then it's true.

  • Like 1
Posted
1 hour ago, Malcolm said:

It may not be the best practice but when I deal with trading I wait to see if they've accepted the trade and then I accept the trade based on them accepting it.

Yes but that won't work if they are both waiting to see if the other one accepted the trade, and in my scenario it's actually two bots trading eachother so both of them checking won't work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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