Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3389
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. You can't try to send the offer until the callback of webSession. Please read up on asynchronous JavaScript and callbacks.
  2. There are some examples in the examples directory that may help: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/tree/master/examples
  3. I don't provide Steam support. I suggest that you take some JavaScript lessons, as I'm only here to help with library integration questions, not with JavaScript basics. You may want to look at Array.prototype.map perhaps.
  4. That's up to you. Look at the contents of backpack and find what you're looking for.
  5. The order of your inventory and err arguments is wrong. Order matters. Also, you might try printing the error if one occurs for more insight.
  6. This may help: https://sporto.github.io/blog/2012/12/09/callbacks-listeners-promises/
  7. Have you added a phone number to your account?
  8. https://github.com/DoctorMcKay/node-steam-user#chatmessagerecipient-message-type
  9. No, you'd need to create two separate TradeOfferManager objects.
  10. offer.getUserDetails(function(err, me, them) { if (err) { throw err; } if (them.escrowDays > 0) { offer.decline(); } });
  11. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getuserdetailscallback
  12. In the callback, provided it was successful, the offer's data will be updated and you can just run your logic there. But no, it won't arrive in newOffer again once it's emitted once.
  13. You also realize that in order to join a VAC-secured server, you'll need to implement VAC? And that you'd be fully insane to try to implement VAC.
  14. You realize that you'll need to implement the game server's protocol yourself, correct?
  15. That is currently not supported. What do you need it for?
  16. You don't have to buy games. Just adding $5 to your wallet is sufficient.
×
×
  • Create New...