Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3398
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. I don't know, I'm not really responsible for (or privy to) any financial stuff.
  2. 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.
  3. You should have to pay Steam Analyst for use of their API.
  4. That means "no buffer space available". Perhaps you're out of memory, or you've opened too many files or sockets?
  5. Don't use the confirmation checker and instead just use acceptConfirmationForObject as needed.
  6. 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;
  7. 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.
  8. Logging in with a Steam account is very unlikely to change anything.
  9. 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.
  10. Are you logging into an individual user? Add this to the loggedOn callback: console.log(client.steamID.getSteam3RenderedID());
  11. 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.
  12. if (itemsToGive.length >0) {} }else{This looks like a syntax error to me.
  13. You shouldn't need to. Try to send the trade. If your session has expired, relog and then send it again.
  14. That means that your session has expired, and you need to login again.
  15. Don't do it that way, that's a very bad idea. Write the entire 64-bit number to the buffer.
  16. Okay, here's the flow of how this works: CS:GO client sends a GCStorePurchaseInit to the GC with the items you want to buy You get back a GCStorePurchaseInitResponse containing a result (1 = OK) and a transaction ID (64-bit, even though it can currently fit into 32 bits) Concurrently, you get a ClientMicroTxnAuthRequest message via Steam. Discard the first byte of the payload (seems to be 1 in the dump you sent, not sure if that's always the case or what the significance of it is), then decode the remainder of the payload as Binary KeyValues (require('binarykvparser').parse(payload.toBuffer().slice(1))). The interesting stuff in there is the total/BillingTotal and transID (orderid is there if you want to make sure it matches what the GC sent back). Grab the transID and send it back in ClientMicroTxnAuthorize (little-endian encoded, as always) and append a 32-bit value of 2 (unsure what the significance of this is, or if it ever changes from 2. Could perhaps be an authorization result, where 1 is deny or something). You'll get back ClientMicroTxnAuthorizeResponse with a payload containing a 32-bit eresult value (1 = OK), and a 1-byte unknown value of 0. If successful, If successful, send GCStorePurchaseFinalize to the GC containing the transaction ID you from the GC before (not transID) to get your items.
  17. All I can say is that your cookies don't appear to be valid. Did you change IPs? It appears that Steam locks sessions to a particular IP.
  18. https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getuserdetailscallback
  19. Remove listeners if you're done with it. But it being emitted is an indicator that something is still trying to do something even when you've logged off.
  20. Would you mind sending me your NetHook dump? It would probably be a good idea to zip it up, encrypt the zip, attach the zip to a reply here, and PM me the password. You can't attach files to PMs. Also, for what purpose are you doing this?
  21. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#logindetails-callback callback -> steamguard
×
×
  • Create New...