Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3631
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Are you getting an error when accepting?
  2. Show your code, please.
  3. 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.
  4. 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.
  5. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback
  6. I don't believe there's any way to extract it from a phone at this time, no.
  7. Please elaborate? It's in the response to enableTwoFactor, but I doubt that's what you're asking.
  8. I don't know, I'm not really responsible for (or privy to) any financial stuff.
  9. 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.
  10. You should have to pay Steam Analyst for use of their API.
  11. That means "no buffer space available". Perhaps you're out of memory, or you've opened too many files or sockets?
  12. Don't use the confirmation checker and instead just use acceptConfirmationForObject as needed.
  13. 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;
  14. 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.
  15. Logging in with a Steam account is very unlikely to change anything.
  16. https://steamerrors.com/84
  17. 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.
  18. Are you logging into an individual user? Add this to the loggedOn callback: console.log(client.steamID.getSteam3RenderedID());
  19. 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.
  20. if (itemsToGive.length >0) {} }else{This looks like a syntax error to me.
  21. You shouldn't need to. Try to send the trade. If your session has expired, relog and then send it again.
  22. That means that your session has expired, and you need to login again.
  23. Don't do it that way, that's a very bad idea. Write the entire 64-bit number to the buffer.
×
×
  • Create New...