Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3590
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. getInventoryHistory was written years ago, before the inventory history page showed more than just trades. I'm not aware of anything that scrapes the newer full inventory history page.
  2. getInventoryHistory is deprecated and I'd be surprised if it still works. You should use IEconService/GetTradeHistory instead.
  3. Every GC is just a copy of TF2, so check out the documentation on the TF2 wiki. value_bytes is not a serialized protobuf message. You need to either read that value as an integer or a float (little-endian), depending on what the item schema specifies the type of the attribute should be.
  4. You can either pass the steamID property from the offer, or the SteamID as you're doing in that last example, but the U needs to be capital. The ID type character is case-sensitive. So, for example, either of these will work: let offer = manager.createOffer(tradeUrl); manager.getUserInventoryContents(offer.partner, 440, 2, true, (err, inv) => { console.log(`Got ${inv.length} items`); }); // OR manager.getUserInventoryContents(`[U:1:${accountid}]`, 440, 2, true, (err, inv) => { console.log(`Got ${inv.length} items`); });
  5. Either you're on an old version of steam-tradeoffer-manager, or your trade url isn't valid.
  6. I'm not aware of any way to do that without rooting/jailbreaking the phone.
  7. I need you to clarify what you're trying to transfer from and to. From a phone to a bot?
  8. This is a bug; update to 4.28.3 and it should be fixed.
  9. Probably just Steam being dumb as usual.
  10. Yeah, it would be downloading all depots even if you aren't opted into a beta. maxsize is, as far as I'm aware, the size of the biggest build of that depot. Steam just assumes the worst and shows you the size of the largest build in a depot when you're downloading.
  11. Depots don't belong to betas; they might have a beta option though. What the Steam client calls a "beta" is actually a branch. The default branch is called "public", and any other branch is available in the beta tab of Steam. Public branches have their manifests listed plainly in appinfo (see the public and beta manifests in your screenshot; they match so both branches contain the same content for that depot). For private branches, you have to request the manifest info from Steam using the password.
  12. Maybe try calling setPersona(EPersonaState.Online) periodically. Maybe the backend partially forgets that you're online.
  13. It's not instance-linked. It just checks the offer created-at time and cancels it if the offer is older than your set cancelTime.
  14. Yes, descriptions will still be there when loading an inventory directly like that.
  15. No, steam-tradeoffer-manager only works if you can get an API key.
  16. Knowing Valve, they probably do have a separate currency enum for the GC. I don't know where you'd find it, though.
  17. ^ this is correct. logOn does not return a promise; you need to wait for the loggedOn event.
  18. You need to log on to do anything. You can just log on anonymously if all you want to do is call getProductInfo. I'll grant that it would be ideal to have a more descriptive error when you try to call a method before logging on, but I just haven't gotten around to updating all hundred+ functions to throw such an error. That said, the error you got isn't because you aren't logged on. It's because you didn't call getProductInfo with the expected arguments. There are a few example scripts on GitHub.
  19. https://github.com/DoctorMcKay/node-globaloffensive#itemacquired
  20. At the moment, I'm not aware of any public code for creating a new Steam account. At a minimum, you'd need to implement recaptcha solving.
  21. FriendsList.GetFriendsList#1 only retrieves your friends list, as in the list of SteamIDs that you're friends with. It doesn't include any persona or profile data.
  22. Did you log on? Show your full code please.
×
×
  • Create New...