-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question node-steam-user question about logOn method
Dr. McKay replied to johnnyJ's topic in node-steam-user
client.setOption('promptSteamGuardCode', false); -
No.
-
Question node-steam-user question about logOn method
Dr. McKay replied to johnnyJ's topic in node-steam-user
You can't know until you try to login. If settings are left at their default, the module will prompt for the appropriate code from stdin. You can set promptSteamGuardCode to false and listen for the steamGuard event if you want, and that will also tell you what kind of code it needs. -
Nope.
-
This is normal. Steam turns on Steam Guard automatically after you login via the client a few times.
-
I don't believe it's currently possible from this module to disable Steam Guard entirely.
-
steamLogin, steamLoginSecure, (only if logging in via web) steamMachineAuth, sessionid
-
Unfortunately not. I might have worked on reverse-engineering the Source protocol to join a game server, but to join any useful server you'd have to implement VAC which is just insane enough that I'm not touching it.
-
client.GamesPlayed blocking other code from executing
Dr. McKay replied to ZuccMarkerberg's topic in node-steam-user
It executes once because you only told it to execute once.- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
client.GamesPlayed blocking other code from executing
Dr. McKay replied to ZuccMarkerberg's topic in node-steam-user
Yeah, it only gets printed once because you never told it to do anything beyond that point.- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
client.GamesPlayed blocking other code from executing
Dr. McKay replied to ZuccMarkerberg's topic in node-steam-user
You're doing something wrong in your code.- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
Question Where is tradehold duration for csgo item?
Dr. McKay replied to vinegarbaba's topic in node-steam-tradeoffer-manager
It's in owner_descriptions. -
Those are for talking to the GC (which you can do). You can't join a game server.
-
client.GamesPlayed blocking other code from executing
Dr. McKay replied to ZuccMarkerberg's topic in node-steam-user
You're most certainly doing something wrong, nothing "blocks code from executing".- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
You don't.
-
Not presently.
-
You would probably want to do something like this: Initialize a variable to 0 to count the user's owned metal Loop over the user's inventory, and add 9 to that variable for every refined, 3 for every reclaimed, and 1 for every scrap If that variable is If it's >=, then loop over their inventory again, starting with refined and add ref until they don't have any more or the amount you need Keep going with rec and eventually scrap If, at the end, you're short a bit, add the smallest currency unit to go above your required price
-
No.
-
You probably need to set logonID in the logOn method to some nonzero value.
-
It's unlikely that chat in node-steamcommunity will be fixed since everything goes through the CM now, and that's what node-steam-user is designed for.
-
exclude Mysterious Trading Card
Dr. McKay replied to neverhood's topic in node-steam-tradeoffer-manager
You can use Array.prototype.filter to filter out things you don't want. -
It's a normal CM connection using normal CM protobuf messages. node-steam-user does all this. At some point I'll add support for new chat to steam-user but it'll be a bit.
-
How to add it?
-
Question Can't get market_hash_name in trade
Dr. McKay replied to romatello's topic in node-steam-tradeoffer-manager
You could always call the API yourself. But your bot is getting killed because you don't have enough memory. -
https://github.com/DoctorMcKay/node-steam-user#mynicknames