Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3659
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. 10,000, 1,000, and variable.
  2. Are you saying that you have the secret on your mobile device as well, in addition to on the server?
  3. It doesn't look like you're renewing your web session. You need to call client.webLogOn() when it expires (listen for sessionExpired on your SteamCommunity). It also doesn't hurt to call it periodically, say every hour.
  4. Are you getting an error when accepting?
  5. Show your code, please.
  6. It's intentional. If you want names and such, you need to set a language. If you don't need them, don't set it. Not setting a language saves resources and memory as information for the given language needs to be downloaded from Steam separately and cached in memory.
  7. If you need to execute the script from php, you can use exec or shell_exec If you need to call into a running script from php, you could set up an HTTP server in node and call it with curl in php.
  8. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  9. I don't believe there's any way to extract it from a phone at this time, no.
  10. Please elaborate? It's in the response to enableTwoFactor, but I doubt that's what you're asking.
  11. I don't know, I'm not really responsible for (or privy to) any financial stuff.
  12. https://steamerrors.com/28 If the offer isn't actually accepted, then Steam is just being cranky and you can't do anything except wait.
  13. You should have to pay Steam Analyst for use of their API.
  14. That means "no buffer space available". Perhaps you're out of memory, or you've opened too many files or sockets?
  15. Don't use the confirmation checker and instead just use acceptConfirmationForObject as needed.
  16. https://www.npmjs.com/package/steamid var SteamID = require('steamid'); var steamid3 = (new SteamID(steamid64)).steam3(); If you want the accountID and not the Steam3 rendered format as your title implies ([u:1:46143802]) then you just want to do: var SteamID = require('steamid'); var accountID = (new SteamID(steamid64)).accountid;
  17. That will send accept requests to Steam literally as quickly as possible, forever. So no, that won't work. Offer properties don't automatically get updated. You need to request the offer's new status from Steam if you want to know the current data. You also want to add some delays so you don't spam Steam and get banned.
  18. Logging in with a Steam account is very unlikely to change anything.
  19. https://steamerrors.com/84
  20. It's indeed inside valueBytes. Wear is attribute 8, and I believe paintindex is attribute 7 (it might be 6 so check that one if 7 doesn't give you the expected result). Loop the attributes array till you find the attribute with the expected defindex, then call valueBytes.readFloat() to get the value as a float.
  21. Are you logging into an individual user? Add this to the loggedOn callback: console.log(client.steamID.getSteam3RenderedID());
  22. Your session is probably expiring. You should call webLogOn every hour or so to refresh it, and also when sessionExpired is emitted on the SteamCommunity instance.
  23. if (itemsToGive.length >0) {} }else{This looks like a syntax error to me.
×
×
  • Create New...