-
Posts
3656 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Correct.
-
Yes, this is the case. You need to use a loginKey for passwordless authentication; the sentry file is used to remember your machine for Steam Guard (and probably is also necessary when logging on with a loginKey). I don't know where the real client stores the loginKey; I've looked for it briefly in the past but I didn't find it. It might be stored somewhere encrypted.
-
It's basically just a record of trade offer IDs that TradeOfferManager has seen and the last-seen state they were in, so that you don't get newOffer emitted for every trade offer every time you restart your bot. If you're okay with that happening, you don't need to save and restore poll data. Also, it's where data you set on a trade offer with the data() method is stored.
-
All the data you need would be in the item schema, but deciphering it can be a challenge.
-
This isn't really the place to ask JavaScript questions. Stack Overflow is a better place for that. But, here's an example that will add 5 keys: manager.loadInventory(440, 2, true, (err, inventory) { if (err) { console.log(err); return; } let offer = manager.createOffer(recipient); // filter inventory to Mann Co. Supply Crate Keys // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter let keys = inventory.filter(item => item.market_name == 'Mann Co. Supply Crate Key'); // get only the first 5 // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice let fiveKeys = keys.slice(0, 5); offer.addMyItems(fiveKeys); offer.send((err, status) => { // ... }); });
-
That's not something I'm going to help with.
- 1 reply
-
- csgo commend
- csgo
-
(and 2 more)
Tagged with:
-
i want to use proxy when it receives a rate limit warning
Dr. McKay replied to denpro331's topic in node-steam-user
You're not using a supported version of steam-user, so I can't help you. -
I don't know why you'd only be getting that data. Here's the response I got to the same exact call: { chat_group_summary: { chat_rooms: [ [Object] ], top_members: [ [SteamID], [SteamID] ], role_ids: [], role_actions: [], party_beacons: [], chat_group_id: '22328242', chat_group_name: 'Price Bot', active_member_count: 2, active_voice_member_count: 0, default_chat_id: '78507305', clanid: SteamID { universe: 1, type: 7, instance: 0, accountid: 42048766 }, chat_group_tagline: '"IN DEVELOPMENT..."', chat_group_avatar_sha: null, rank: null, default_role_id: null, appid: null, watching_broadcast_channel_id: '0', active_minigame_id: null, avatar_ugc_url: null, disabled: null, steamid_owner: null, chat_group_avatar_url: null, watching_broadcast_steamid: null } } Maybe your account is limited and limited accounts don't have all the data returned to them? Maybe you need to update steam-user?
-
Show the full code.
-
That's the same error and console output that your first code should produce. Did you run the wrong file or not save it?
-
The error is AccessDenied. Sounds like you don't have access to that group chat. But also that looks like the output your first code should produce. Did you run the wrong file?
-
Yes, there's a method to kick someone from a chat room group.
-
Having a limited account shouldn't affect activity status or accepting friend requests.
-
Sure, although I'm not sure what circumstances prompt a notification.
-
https://github.com/DoctorMcKay/node-steam-user/wiki/SteamChatRoomClient#getclanchatgroupinfoclansteamid-callback
-
requestRichPresence is not the appropriate method to set your persona state to online. Use setPersona instead.
-
Yeah, that should work for you. If you're logging in with an account name and password to an account that has mobile 2FA enabled, you need to provide a code every time even if you pass the steamguard string.
-
Are you setting your bot's persona status to online?
-
Are you giving it a two factor code?
-
The arguments passed to the login callback are err, sessionID, cookies, steamguard, oAuthToken. You've left out the cookies argument, which is why you aren't getting the correct value in steamguard.