Jessecar96 / SteamBot

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

SteamKit2 what is the name of callback to get new trade offer? #1142

Closed valeriy-efimov closed 6 years ago

valeriy-efimov commented 6 years ago

I found in code "TradeProposedCallback" and "TradeResultCallbac" but they are not called when I get a new offer.

"SteamNotifications.NotificationCallback" called when I get a new offer but also when a new comment, message, etc. In the end, it comes out too often and I get from steam "Access Denied You don't have permission to access "http://store.steampowered.com/" on this server. Reference" How can I fix this problem? Without making a crutch in the form of a delay.

Noobgam commented 6 years ago

427

Took a look.

  1. TradeProposedCallback / TradeResultCallback are not directly related to SteamBot.
  2. They are being validly called in SteamBot on new tradeoffer invitations/completions.