Jessecar96 / SteamBot

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

Trade not completed #502

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi, I have just cloned the GIT and loaded them on new updated Mono. I have the same bug from this summer; I can't complete a trade.

I want use the bot for drop my coupons, gifts and others Steam Items. When I try to make a trade, the Trade console is displayed (in Steam). I can move item for trade, I click "Ready", Steam Trade say "Wainting for bot reply" and after few second, the trade is closed with "timeout", the bot never reply a log or a message to user.

I have not modified the source at this time. I need this feature work before make all my ideas.

How can fix them ?

Bot.log;

[Cadeaux 2013-11-16 13:56:52] DEBUG: SteamKit2.SteamTrading+TradeProposedCallback [Cadeaux 2013-11-16 13:56:54] DEBUG: SteamKit2.SteamTrading+SessionStartCallback [Cadeaux 2013-11-16 13:56:55] DEBUG: SteamTrading.SessionStartCallback handled successfully. Trade Opened.

No log for closing Trade or others...

waylaidwanderer commented 11 years ago

Are you using a custom userhandler?

levelKro notifications@github.com wrote:

Hi, I have just cloned the GIT and loaded them on new updated Mono. I have the same bug from this summer; I can't complete a trade.

I want use the bot for drop my coupons, gifts and others Steam Items. When I try to make a trade, the Trade console is displayed (in Steam). I can move item for trade, I click "Ready", Steam Trade say "Wainting for bot reply" and after few second, the trade is closed with "timeout", the bot never reply a log or a message to user.

I have not modified the source at this time. I need this feature work before make all my ideas.

How can fix them ?

Bot.log;

[Cadeaux 2013-11-16 13:56:52] DEBUG: SteamKit2.SteamTrading+TradeProposedCallback [Cadeaux 2013-11-16 13:56:54] DEBUG: SteamKit2.SteamTrading+SessionStartCallback [Cadeaux 2013-11-16 13:56:55] DEBUG: SteamTrading.SessionStartCallback handled successfully. Trade Opened.

No log for closing Trade or others...


Reply to this email directly or view it on GitHub: https://github.com/Jessecar96/SteamBot/issues/502

mustafagezen commented 11 years ago

The trade system is only intended to accept/receive TF2 items. Someone already wrote the code to accept other steam items.

Look here: SteamBot/SteamTradeDemoHandler.cs

ghost commented 11 years ago

The code stop on Validate() function. I'm using the SimpleUserHandler, I have added few Log.Debug() to find where the code stop. I'm looking now the SteamTradeDemoHandler.cs now ...

mustafagezen commented 11 years ago

Aha, remove everything from Validate, and insert return true;

Let me know if it works.

ghost commented 11 years ago

It's work, thank you very much, I can build my project now.

The DemoTrade is new (not available from my previous Clone of this GIT) and work fine.

This issue is now solved.