Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3545
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. The first error means that the data is temporarily unavailable, and you should try again. It's Steam's fault. The second error: https://steamerrors.com/26
  2. When Steam goes down the application will be notified of the connection being closed. Experimental does mean that there could be problems, yes.
  3. Your cookies need to be valid, of course. You also need to send more data when accepting a trade offer. For example, you need to include the offer ID in the POST fields, along with some other stuff.
  4. Linux/Unix doesn't seem to think it very important to notify applications of closed TCP connections when the network goes down. You could use node-steam-client's experimental UDP support if this is a situation that will affect you regularly: var SteamClient = require('steam-client'); var client = new SteamClient.CMClient(SteamClient.EConnectionProtocol.UDP); var user = new SteamUser(client);
  5. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#getconfirmationstime-key-callback
  6. This isn't really the right place to ask for SteamBot help.
  7. loggedOn will be emitted when it reconnects.
  8. You don't need to delete all those properties; steam-tradeoffer-manager will just ignore them. You need to provide a callback to offer.send()
  9. That's slightly tricky with async requests. You may want to use a module like https://www.npmjs.com/package/async
  10. I have never attempted to sign into Steam from PHP. I believe there might be libraries out there that do it, but I can't help you there.
  11. autoRelogin will handle all cases in which it gets disconnected from Steam, including if your Internet goes down. It can't actually tell the difference, really. Steam being unavailable is Steam being unavailable, regardless of whose end the problem is on.
  12. I don't believe there's currently an API or an existing module/library that will do that for you, sorry.
  13. Are you logged in? You need to be logged in to use that.
  14. You can handle trade offers with steam-tradeoffer-manager.
  15. You'll need to either get more IP addresses or make less requests.
  16. You've provided no details, but I can hazard a guess and say that tradeRequest isn't what you're looking for. It's emitted when a Steam real-time trading request is received, not when a trade offer is received.
  17. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#getconfirmationstime-key-callback
  18. I believe Steam will sometimes lock down your trades while you're accepting an offer, but I'm not certain about the exact conditions.
  19. You need to call setCookies and wait for its callback before you try to do anything else.
  20. Steam is never in excellent condition, especially at the times when you're getting these errors.
  21. There should be more output.
  22. What data do you have that you want to get a rarity for? Just the name? If so then yes, you need to get the data from an inventory or from the market.
  23. The callback argument should be a callback. If you don't know what that is, I suggest that you find some online JavaScript classes.
  24. That's the line number where the error occurred. Nobody can help you any further without the code and the full error message.
×
×
  • Create New...