Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3569
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. You can't do it with steam-user.
  2. You might run into fewer rate limits using steam-session to login and get your cookies.
  3. Yes. Those attributes indicate which casket an item is contained in. When you fetch a casket's contents, the items inside of it are spat into your inventory as standard CSOEconItem objects, and you need to check attributes 272 and 273 to figure out which items are contained within the casket. Those messages just get sent automatically. There's nothing you need to send to request them. You need to listen for all of those messages. SO_Create is sent when you receive a new item, SO_Update is sent when an item in your inventory is changed in some way, SO_UpdateMultiple is the equivalent of multiple SO_Update messages.
  4. Not as far as I'm aware. I'm not super familiar with CS:GO stuff.
  5. 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.
  6. getInventoryHistory is deprecated and I'd be surprised if it still works. You should use IEconService/GetTradeHistory instead.
  7. 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.
  8. 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`); });
  9. Either you're on an old version of steam-tradeoffer-manager, or your trade url isn't valid.
  10. I'm not aware of any way to do that without rooting/jailbreaking the phone.
  11. I need you to clarify what you're trying to transfer from and to. From a phone to a bot?
  12. This is a bug; update to 4.28.3 and it should be fixed.
  13. Probably just Steam being dumb as usual.
  14. 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.
  15. 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.
  16. Maybe try calling setPersona(EPersonaState.Online) periodically. Maybe the backend partially forgets that you're online.
  17. 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.
  18. Yes, descriptions will still be there when loading an inventory directly like that.
  19. No, steam-tradeoffer-manager only works if you can get an API key.
  20. Knowing Valve, they probably do have a separate currency enum for the GC. I don't know where you'd find it, though.
  21. ^ this is correct. logOn does not return a promise; you need to wait for the loggedOn event.
  22. 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.
×
×
  • Create New...