TheMaster Posted April 3 Report Share Posted April 3 the NewOffers event in the steam trader offer manager no longer posts trader offers nor the trade status change after the cs2 update i think this need to be updated Quote Link to comment Share on other sites More sharing options...
loganWP Posted April 3 Report Share Posted April 3 this.steamTradeofferManager = new steamTradeofferManager({ domain: "localhost", language: "en", community: this.steamcommunity, pollInterval: steamTradeofferManagerPollInterval, useAccessToken: true }); you need to add this to constructor useAccessToken: true Quote Link to comment Share on other sites More sharing options...
TheMaster Posted April 3 Author Report Share Posted April 3 3 hours ago, loganWP said: this.steamTradeofferManager = new steamTradeofferManager({ domain: "localhost", language: "en", community: this.steamcommunity, pollInterval: steamTradeofferManagerPollInterval, useAccessToken: true }); you need to add this to constructor useAccessToken: true yo man thank u very much u sve me a lot of hassle how u found this tho? 5 minutes ago, TheMaster said: yo man thank u very much u sve me a lot of hassle how u found this tho? but when i use this the webapi is null its not getting the webapi correctly client.on('webSession', async (sessionID, cookies) => { manager.setCookies(cookies, function(err) { if (err) { console.log(red,err); process.exit(1); // Fatal error since we couldn't get our API key return; } console.log(green,"Got API key: " + manager.apiKey); webapi=manager.apiKey //fetchActiveTradeOffers(); // Call the function } ); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted April 3 Report Share Posted April 3 4 hours ago, TheMaster said: but when i use this the webapi is null its not getting the webapi correctly That's the point. Enabling useAccessToken disable fetching an API key. 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.