-
Posts
3660 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Stacking rust items (amount)
Dr. McKay replied to SimpleThings's topic in node-steam-tradeoffer-manager
The fromitemid asset id should disappear, and the amount of the toitemid should increment by however much the amount of the fromitemid was. -
Stacking rust items (amount)
Dr. McKay replied to SimpleThings's topic in node-steam-tradeoffer-manager
I've never used it myself. I'm sure you can figure it out. I'm going to assume that you pass the asset ID of the stack you want to put onto another one as fromitemid, the asset ID of the stack you want to put items onto as toassetid, and the amount of items you want to move as quantity. -
Stacking rust items (amount)
Dr. McKay replied to SimpleThings's topic in node-steam-tradeoffer-manager
You would call it whenever you want to combine some item stacks in your inventory. When you want to do it is up to you. That method doesn't belong in steam-tradeoffer-manager since it has nothing to do with trade offers. -
Stacking rust items (amount)
Dr. McKay replied to SimpleThings's topic in node-steam-tradeoffer-manager
https://steamapi.xpaw.me/#IInventoryService/CombineItemStacks -
Is there a way to check the Steam Services Status? [Serious post]
Dr. McKay replied to John Arrow's topic in node-steam-user
SteamDB is pretty much scraping a bunch of different stuff to get status information. It used to be possible to get the number of people connected to Steam using GetNumberOfCurrentPlayers with appid 0, but that appears not to work anymore so they're likely scraping it from the stats page. For the Steam Store/Community/WebAPI statuses, they're probably just requesting the homepage every so often and checking if it returns a successful response. CS:GO has an API endpoint you can use to get server status. For GC status, they just have bots that connect to GCs and report when they get disconnected. -
Use getConfirmations to get your account's pending confirmations, and either use respondToConfirmation or call respond on the confirmation object itself.
-
What kind of string do you want? It's a binary value.
-
Handling getUserInventoryContents
Dr. McKay replied to Duodecim's topic in node-steam-tradeoffer-manager
You can't retrieve multiple users' inventories at once, if that's what you're asking. -
Yes, once you're logged on you can check the publicIP property of the SteamUser object.
-
Your proxy refused your connection.
-
Rust uses Steam Inventory Service. It's possible that you might be able to use the SplitItemStack API method. I've never tried using it.
-
Check what the actual error message is in the err.
-
Handling getUserInventoryContents
Dr. McKay replied to Duodecim's topic in node-steam-tradeoffer-manager
You can use the array filter function to filter an inventory to a specific set of items. -
It's definitely a good idea for busy bots to prune their polldata once in a while. It should probably be done automatically by the module, but for the moment it needs to be done manually. I have a new major version in the works; I'll see about adding auto-pruning to it.
-
I misread your code the first time. Looks like your problem is actually that addAccount doesn't return anything.
-
Yes, promotional free licenses are not the same as free-on-demand licenses. Those have to be added through the store site. You can use steamstore's addFreeLicense method to acquire a promotional free license.
-
accounts is always going to be empty when your /log listener executes, so no accounts will get added and nothing will be returned. I misread the code.
-
Use the game's appid with requestFreeLicense, not the packageid you want. Steam will figure out which package to give you.
-
How to make a comment on a forum topic?
Dr. McKay replied to Jack Nolddor's topic in node-steamcommunity
Not at the moment, and it's unlikely to be supported in the future due to the potential for spam. -
Mistake in performSearch function?
Dr. McKay replied to What Comes Around's topic in node-steamcommunity
marketSearch({appid: 730}, (err, results) => { ... }); -
Mistake in performSearch function?
Dr. McKay replied to What Comes Around's topic in node-steamcommunity
The mistake is in your code. marketSearch only takes two arguments, options and callback. Remove the 730 and false. -
I don't believe there's a limit.