Kiska Posted July 4, 2016 Report Share Posted July 4, 2016 Hello there! I have a trouble. My account can't generate API'keys, so i was edited index.js from steam-tradeoffer-manager folder, and i found this.apiKey = null and changed it to this.apiKey = options.apiKeyand in my js script i'm use this: var manager = new TradeOfferManager({"domain": "example.com", // Our domain is example.com "language": "en", // We want English item descriptions "apiKey": "myAPIKEY", "pollInterval": 5000 // We want to poll every 5 seconds since we don't have Steam notifying us of offers });Now, i can run my script without errors. For debug i use steam.on('debug', console.log); manager.on('debug', console.log);After the start script i'm send some offerts to my "bot". And bot can't detect these offers. And i haven't errors in logs. So what i can do with that? I got this in console: Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 5, 2016 Report Share Posted July 5, 2016 There's a reason why you can't supply your own API key. The key it uses must be associated with the Steam account you're using. You can't use another account's key. If your account is limited, you'll just have to pay $5. Quote Link to comment Share on other sites More sharing options...
Kiska Posted July 5, 2016 Author Report Share Posted July 5, 2016 Why this so important? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted July 5, 2016 Report Share Posted July 5, 2016 Because that's how it works. Quote Link to comment Share on other sites More sharing options...
Kiska Posted July 5, 2016 Author Report Share Posted July 5, 2016 Okay, close thread, works fine for me. 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.