-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
If you're using steam-user and your account has email-based Steam Guard enabled, when you run the bot and Steam prompts for a code, the module will automatically prompt you to enter the code. Once you do and hit enter, it will proceed with the login. You can post group announcements using steamcommunity, but discussion forums are not supported and are unlikely to ever be, due to spam concerns.
-
Yes, and yes.
- 1 reply
-
- node.js
- node-steam-tradeoffer-manager
-
(and 2 more)
Tagged with:
-
Assuming your clock is correct, this will tell you how many seconds are left until the code will change: let secondsRemaining = 30 - (Math.floor(Date.now() / 1000) % 30); But note that once a code changes, you still have another 30 seconds to use it before it comes invalid.
-
How to make my program have a one time login?
Dr. McKay replied to jonteee's topic in node-steam-user
You want to use the rememberPassword log on option. -
No, those are the same exact URL.
-
No, that isn't normal. Just running const SteamUser = require('steam-user') runs at around 60 MB for me.
-
The user event will be emitted anytime Steam sends a persona state notification, which happens automatically for all your friends whenever their states change, provided you're marked as online.
-
Get your friends list from myFriends and check each of their statuses in users.
-
If you're specifying a custom dataDirectory, then it's not going to get saved to appdata.
-
There's no reason anything should have changed. v3 hasn't been touched in months. Incidentally, I suggest that you update to v4.
-
It's in their persona_state_flags. You can see the available flags here. So, you'd want to check if (user.persona_state_flags & SteamUser.EPersonaStateFlag.ClientTypeMobile)
-
is there any way i can use offer.id to accept the offer?
Dr. McKay replied to venfiw's topic in node-steam-tradeoffer-manager
No, there is no such function as declineConfirmationForOffer. If you want to accept a given offer by ID, you'll need to first retrieve it using getOffer. -
Question Error: cannot send an empty trade offer.
Dr. McKay replied to Kappa's topic in node-steam-tradeoffer-manager
You need to research how asynchronous code works in JavaScript. -
In what way?