Jump to content
McKay Development

Can't recieve incoming trade offers


Recommended Posts

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.apiKey

and 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: 

 

post-197-0-82581600-1467621918_thumb.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...