Jessecar96 / SteamBot

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

Possible to set bot status? #111

Closed coffman34 closed 11 years ago

coffman34 commented 11 years ago

I have looked around, and haven't been able to find anything for it. But is it possible to set the bot's status to Busy when a trade is initiated, so that other's know that they are occupied?

thisisaloginforgithub commented 11 years ago

If this doesn't work, couldn't you have the bot automatically respond to players who message the bot or invite the bot to trade to let them know that the bot is busy.

coffman34 commented 11 years ago

Steam already notifies a person if the trade cannot be initiated due to the player already being in a trade. I was thinking the Busy - Online status could give people a visual indicator on whether the bot is currently in a trade. That way they can watch the name to see when it changes to initiate the trade.

Derongan commented 11 years ago

Bot.SteamFriends.SetPersonaState(EPersonaState.Busy);

coffman34 commented 11 years ago

Boom. Thank you!

coffman34 commented 11 years ago

I believe that there is no notification to the bot that another user wants to trade with it. I could be wrong though. But it seems that Steam handles that with a message to the player. Just figured it would a better visual indication than attempting the trade, to be told no.

On Tue, Dec 11, 2012 at 9:12 PM, thisisaloginforgithub < notifications@github.com> wrote:

If this doesn't work, couldn't you have the bot automatically respond to players who message the bot or invite the bot to trade to let them know that the bot is busy.

— Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/111#issuecomment-11273932.