Jump to content
McKay Development

flameoflust69

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by flameoflust69

  1. Fixed this by updating the schema steammessages_clientserver_2.json "CMsgClientRichPresenceInfo": { "edition": "proto2", "fields": { "rich_presence": { "rule": "repeated", "type": ".CMsgClientRichPresenceInfo.RichPresence", "id": 1 } }, "nested": { "KV": { "fields": { "key": { "type": "string", "id": 1 }, "value": { "type": "string", "id": 2 } } }, "RichPresence": { "fields": { "steamid_user": { "type": "fixed64", "id": 1 }, "rich_presense": { "rule": "repeated", "type": ".CMsgClientRichPresenceInfo.KV", "id": 3 } } } } }, And make changes for requestRichPresence inside friends.js because it returns array of object now not bytes let response = {}; body.rich_presence = body.rich_presence || []; for (let rp of body.rich_presence) { let kv = rp.rich_presense; if (!kv || !rp.steamid_user || kv.length == 0) { continue; } response[rp.steamid_user] = { richPresence: kv, localizedString: null, }; } resolve({users: response});
  2. Tried calling CMsgClientRichPresenceRequest through Steamworks with nethook attached, and CMsgClientRichPresenceRequest is still working and not null
  3. Yeah, it seems CMsgClientRichPresenceRequest isn't working. You can listen to user event if your bot is friends with the target account. Another limitation is that it can't check invisible users
×
×
  • Create New...