Jump to content
McKay Development

Recommended Posts

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

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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".

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...