roughnecks Posted April 24, 2019 Report Posted April 24, 2019 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 Quote
Dr. McKay Posted April 24, 2019 Report Posted April 24, 2019 There's no reason you shouldn't be able to use the number with getClanChatGroupInfo. That is your group's 64-bit SteamID. The ID in your group edit page is the accountid portion of your group's SteamID. You can turn it into a full SteamID by putting it in this string: "[g:1:x]" For example, the Valve group's accountid is 4, so we get https://steamcommunity.com/gid/[g:1:4] Quote
roughnecks Posted April 24, 2019 Author Report Posted April 24, 2019 There's no reason you shouldn't be able to use the <groupID64> number with getClanChatGroupInfo. That is your group's 64-bit SteamID. 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". Quote
roughnecks Posted April 24, 2019 Author Report Posted April 24, 2019 zed.manager._steam.chat.getClanChatGroupInfo(mygroupID64, function (err, response) { if (!err) { console.log(response); } else { console.log(err); } }); Quote
Dr. McKay Posted April 25, 2019 Report Posted April 25, 2019 Can you show the code you're using to try to join the group chat? Quote
roughnecks Posted April 25, 2019 Author Report Posted April 25, 2019 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). Quote
roughnecks Posted April 25, 2019 Author Report Posted April 25, 2019 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. Quote
Dr. McKay Posted April 25, 2019 Report Posted April 25, 2019 That SteamID (like all 64-bit SteamIDs) is too big to be represented as a JavaScript number. It's being rounded. Wrap it in quotes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.