Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.34k stars 910 forks source link

Trade Request Timeout #376

Closed adammankowski1 closed 11 years ago

adammankowski1 commented 11 years ago

I opening new Trades invites in bot via: OpenTrade(STEAMID); and setting my bool inTrade to True But i don't want to open next trade, unitl the current invite expires

I Tried to add to event OnTradeTimeout in Bot.cs inTrade = false, and then bot should send next trade invite, but bot don't launching OnTradeTimeout when invite expires Bug?

adammankowski1 commented 11 years ago

You are having the bot send a trade request and the user does not accept it. At this point you are expecting the OnTradeTimeout to fire, correct?

Yep

waylaidwanderer commented 11 years ago

OnTradeTimeout doesn't handle users not accepting the trade request, but it handles users being AFK during a trade. What you're looking for hasn't been implemented yet, but if you look at how Steam messages are handled you can implement it yourself.

adammankowski1 commented 11 years ago

Ahh, thanks, i'll do as you said.