Jump to content
McKay Development

roughnecks

Member
  • Posts

    70
  • Joined

  • Last visited

Everything posted by roughnecks

  1. zed.manager._steam.setPersona(5); //"5": "LookingToTrade" -- https://github.com/DoctorMcKay/node-steam-user/blob/master/enums/EPersonaState.js zed.manager._steam.gamesPlayed(zed.config.customGame); Hello, I have the following code since forever. It's been a few days now that my bot status is correctly displaying the message "Looking to Trade" but it's not showing up as green anymore (playing a game), but blue - online. Did steam change this? Any fix? Thanks
  2. Is there something I could possibly do to investigate? It's now clear that it happens in a group chat, when I send commands to the bot; If I have just restarted the bot, there's a 90% chance of getting the timeout on the first command I send soon after, otherwise it happens very randomly. Also, I keep receiving emails about marking a post solved, but I cannot find any means to do that.. Am I blind? 😮
  3. I don't remember since I then opted for another solution 😃
  4. OK, I had found that.. Still not sure how to use it tho. Thanks
  5. I was chatting with a friend in an group chat at that moment - and the bot was inside the chat group as well.. (not sure if related).
  6. Hello, I'm getting this error in console every minute/couple of minutes and I don't understand what part of my code is responsible: [00:40:31] [LOG] Error: Request timed out at Timeout._onTimeout (/home/redacted/node_modules/@doctormckay/stdlib/components/promises.js:17:12) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)
  7. Hello, when my bot receives a trade offer, usually there's 1 notification about it in steam chat that doesn't go away automatically. I have to open chat manually on the browser and let it clear. So, is there a way to fix that automatically? Thanks
  8. Hello, I'm trying to fix a dependabot issue on a repository of mine: Dependabot cannot update nth-check to a non-vulnerable version The latest possible version that can be installed is 1.0.2 because of the following conflicting dependencies: [email protected] requires nth-check@~1.0.1 via a transitive dependency on [email protected] [email protected] requires nth-check@~1.0.1 via a transitive dependency on [email protected] No patched version available for nth-check The earliest fixed version is 2.0.1. Can you help to fix this ^ ? Thanks P.S. Posted this as a github issue but no one replied. https://github.com/DoctorMcKay/node-steamcommunity/issues/294
  9. Hi. I was trying to get group's members list by calling "getGroups" and I was expecting to have A Chat Room Group State object in response, which in turn should contain members - An array of Chat Room Member but all I got was "User Chat Room Group State". group_state: { user_chat_room_state: [Array], chat_group_id: '4817935', time_joined: 2019-03-12T22:26:00.000Z, desktop_notification_level: 0, mobile_notification_level: 0, time_last_group_ack: 2019-05-01T12:09:46.000Z, unread_indicator_muted: false } } ] So, I just don't know but something is wrong here. If it's the DOC wrong, how am I supposed to get members list apart from "joinGroup"? Thanks as always.
  10. Hi, in my bot.config I have a masterclangroup ID64 set up so that my bot can join it. What I'd like to know is if it's necessary to have the bot joining at every boot and why? Secondly, is there a way to check if the bot has already joined my group and skip that process or is it unnecessary? Thanks
  11. Did like you suggested and it looks like it's working fine now! Thanks
  12. Hello My BoT is in a couple group chat rooms and is catching all messages starting with "!" in order to execute commands. I have an issue every time someone joins the chat room and Steam displays this: BoT returns: UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'startsWith' of null I thought that "messages" and server_messages were 2 different items, so why the error when my code is: function parseMessage(groupID, chatID, message, senderID, senderAccountID, sender) { if (message && !message.startsWith('!')) { return; } Isn't the "joined" stuff a server message? How do I get rid of the error? Thanks as always
  13. Thanks, worked! Any other places where bbcode is needed? Or any documentation relative to them?
  14. Hi Even though my BoT is addressing me with "@roughnecks" in group chat, I don't get highlighted. Any way to make this work? Thanks
  15. Just to be clear. zed.manager._steam.chat.getClanChatGroupInfo(103582791464211888, function (err, response) { if (!err) { console.log(response); } else { console.log(err); } }); That is my actual group clan id, but in response I'm getting: ======================================================= [11:37:11] [LOG][11:37:11] [LOG] { chat_group_summary: { chat_rooms: [ [Object] ], top_members: [ [steamID], [steamID], [steamID] ], role_ids: [], role_actions: [], party_beacons: [], chat_group_id: '5001420', chat_group_name: 'the lostlords clan', active_member_count: 3, active_voice_member_count: 0, default_chat_id: '15574067', clanid: SteamID { universe: 1, type: 7, instance: 0, accountid: 34690482 }, chat_group_tagline: '', accountid_owner: null, chat_group_avatar_sha: null, rank: null, default_role_id: null, appid: null, chat_group_avatar_url: null, watching_broadcast_steamid: null } } ====================================================== Which is NOT my Group. I was able to get my groupID using the "getInviteLinkInfo" method and now I'm testing chat messages and it works, but I need a way to get groupID inside the bot without an invite link.
  16. zed.manager._steam.chat.joinGroup(groupId, function (err, response) But I don't have the correct groupId, which I thought I'd get using "getClanChatGroupInfo" first and looking at response (chat_group_summary).
  17. zed.manager._steam.chat.getClanChatGroupInfo(mygroupID64, function (err, response) { if (!err) { console.log(response); } else { console.log(err); } });
  18. OK but, as I said earlier, I got a different group info using my groupID64 and when I try to join it returns "error code 10".
  19. Hello. I'm trying to join a group of mine but I have issues with IDs. If I use <groupID64>number</groupID64> - taken from my group url after adding "/memberslistxml?xml=1" - in "chat.getClanChatGroupInfo" I get info about a group which isn't mine. Then if I try to join my group, either by using groupID64 or groupID I can read while editing my group on Steam ( http://i.imgur.com/zCUqOcd.png ) i get an eresult 10 (Busy). Can you clarify which ID is which and how do I get them? Thanks
×
×
  • Create New...