Aske Posted January 3, 2021 Report Share Posted January 3, 2021 Do i use the event "tradeRequest" wrong. Cause when sending a request to the steam account thats logged in it only print on the event "tradeOffers" and not "tradeRequest" My Test event: SteamAccount.on('tradeRequest', function(steamID, respond) { console.log("Incoming trade request from " + steamID.getSteam3RenderedID() + ", accepting"); respond(true); }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 4, 2021 Report Share Posted January 4, 2021 That event is for real-time trades, which have been removed from the Steam UI. That's not for trade offers. Quote Link to comment Share on other sites More sharing options...
Aske Posted January 4, 2021 Author Report Share Posted January 4, 2021 54 minutes ago, Dr. McKay said: That event is for real-time trades, which have been removed from the Steam UI. That's not for trade offers. Which one should be used instead? Quote Link to comment Share on other sites More sharing options...
SnaBe Posted January 4, 2021 Report Share Posted January 4, 2021 9 hours ago, Aske said: Which one should be used instead? You probably want to listen for the 'newOffer' event using your steam-tradeoffer-manager instance. Dr. McKay 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.