Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stateMessage is truncated when user is "In non-Steam game<br/>" #290

Open
mendhak opened this issue Aug 13, 2022 · 0 comments
Open

stateMessage is truncated when user is "In non-Steam game<br/>" #290

mendhak opened this issue Aug 13, 2022 · 0 comments

Comments

@mendhak
Copy link

mendhak commented Aug 13, 2022

Hello,

When the user is in a non steam game, the stateMessage appears to be truncated. Is there any way that the full text can be retrieved? That is, show the name of the game being played even if it's a non Steam game?

stateMessage: 'In non-Steam game<br/>',

Example output

CSteamUser {
  _community: SteamCommunity {
    _jar: RequestJar { _jar: [CookieJar] },
    _captchaGid: -1,
    _httpRequestID: 1,
    chatState: 0,
    _options: {},
    request: [Function (anonymous)] {
      get: [Function (anonymous)],
      head: [Function (anonymous)],
      post: [Function (anonymous)],
      put: [Function (anonymous)],
      patch: [Function (anonymous)],
      del: [Function (anonymous)],
      delete: [Function (anonymous)],
      cookie: [Function (anonymous)],
      jar: [Function (anonymous)],
      defaults: [Function (anonymous)]
    }
  },
  steamID: SteamID { universe: 1, type: 1, instance: 1, accountid: 23904332 },
  name: 'Mendhak',
  onlineState: 'in-game',
  stateMessage: 'In non-Steam game<br/>',
  privacyState: 'public',
  visibilityState: '3',
  avatarHash: '8a2c550cc88bd781c4b0888f414c06d2463b1761',
  vacBanned: false,
  tradeBanState: 'None',
  isLimitedAccount: false,
  customURL: 'mendhak',
  memberSince: 2006-08-06T00:00:00.000Z,
  location: '',
  realName: 'Mendhak',
  summary: 'No information given.',
  groups: [
    SteamID { universe: 1, type: 7, instance: 0, accountid: 4755837 },
    SteamID { universe: 1, type: 7, instance: 0, accountid: 4771848 },
    SteamID { universe: 1, type: 7, instance: 0, accountid: 5080300 }
  ],
  primaryGroup: SteamID { universe: 1, type: 7, instance: 0, accountid: 4755837 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant