-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question Question about the cookies
Dr. McKay replied to Mr Game and Watch's topic in node-steam-user
If you have the mobile authenticator enabled, then logging in from a new device won't ever result in a trade cooldown. Otherwise, it will, but only for that device, meaning you can test it safely without any risk. -
Same problem as https://dev.doctormckay.com/topic/882-themescrowdays-does-not-work/
-
Question Question about the cookies
Dr. McKay replied to Mr Game and Watch's topic in node-steam-user
Yes, they will work in other browsers. They expire rather quickly though (and immediately if you lose connection), so you won't get much use out of them. -
Question them.escrowDays does not work?
Dr. McKay replied to jafix's topic in node-steam-tradeoffer-manager
The problem was because you were missing a few arguments in your callback function. The names don't really matter, it's the order that matters. -
bot
-
item.type You need to set a language in the constructor for that to be present.
-
Possible to retrieve logonID after loggedOn emitted?
Dr. McKay replied to rektbot's topic in node-steam-user
No. You should be able to track whatever you want yourself in the same place where you store the SteamUser object. -
steamID is a SteamID object. If you want the 64-bit ID, use steamID.getSteamID64() JavaScript can't precisely track numbers that are larger than 253. You need to wrap it in quotes to make it a string for comparison. Correct regarding == and !=.
-
Are you confirming it if you're trying to take items from the bot?
-
Whatever you stored your SteamUser instance in.
-
bot.gamesPlayed([730])
-
Cannot read property 'player_name' of undefined
Dr. McKay replied to T1MOXA's topic in node-steam-user
You're overwriting the value of steamID in your outer loop, which changes the context of the closure. This is confusing, I know. Just do this and it should work: bot.on('friendsList', function() { Object.keys(bot.myFriends).forEach(function(steamID) { if(bot.myFriends[steamID] === 2) { bot.getPersonas([steamID], function(getName) { var friendName = getName[steamID].player_name; //Some code }); } }); }); -
ReferenceError: offer is not defined
Dr. McKay replied to jafix's topic in node-steam-tradeoffer-manager
Switch steamID, respond for offer -
https://github.com/DoctorMcKay/node-steamcommunity/blob/master/components/users.js#L345
-
Does the bot's Steam account own CS:GO?
-
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#commentmessage-callback
-
Question Not getting triggered on incoming offer
Dr. McKay replied to jafix's topic in node-steam-tradeoffer-manager
You are never giving TradeOfferManager login session cookies. You need something like: client.on('webSession', function(sessionID, cookies) { manager.setCookies(cookies, function(err) { if (err) { throw err; } }); }); You also need to renew the web session when it expires. -
Purpose of ID Events and how to listen for them?
Dr. McKay replied to rektbot's topic in node-steam-user
Please post in the correct board next time. I've moved your topic. An ID event is a special kind of event specific to steam-user where both the base event and the event suffixed with the SteamID of the relevant account are emitted. For example, if I sent you a chat message, both friendMessage and friendMessage#76561198006409530 would be emitted. Listening for the latter event is mostly useful for when you only care about one specific user. For example, you might hardcode a listener for friendMessage#yoursteamid to listen for admin commands (or perhaps something like on('friendMessage#' + config.adminSteamID)). -
It might be better for you to just learn how to work with Steam Guard first. If you're using email-based Steam Guard, then it will only prompt for a code once as long as you run it on the same machine (and you're using node-steam-user).
-
Not presently. Why do you need to disable it?
-
The next update to node-steamcommunity will give a different error message if your PIN is being rejected due to a rate-limit. There's currently no way to unlock your Family View session through node-steam-user.
-
GC messages go through the CM, but other than that they have no relation. Therefore, GC communication is out of scope for steam-user. You may want to check out node-globaloffensive. You could fork it and add whatever messages you need if they aren't there already.
-
Either your secret is wrong or your clock is wrong.
-
That doesn't make any sense.