jfx. Posted January 2, 2017 Report Posted January 2, 2017 Hey, I'm assuming you would use getPersonas to get the nickname of the user that the 'bot' account has set for that user, this is my response. { '76561198144520197': { persona_state: 1, game_played_app_id: 0, game_server_ip: 0, game_server_port: 0, persona_state_flags: 256, online_session_instances: 4, published_instance_id: 4, persona_set_by_user: null, player_name: 'madgamer69', query_port: 65535, steamid_source: Long { low: 0, high: 0, unsigned: true }, avatar_hash: ByteBuffer { buffer: <Buffer 08 ff 1f 12 3a 09 05 80 fb 0a 01 00 10 01 7a 0a 6d 61 64 67 61 6d 65 72 36 39 fa 01 14 dc 5f 39 0c 61 4b 53 33 23 07 d2 d5 32 59 5e d2 0f 31 72 38 e8 ... >, offset: 29, markedOffset: -1, limit: 49, littleEndian: true, noAssert: false }, last_logoff: 2017-01-01T13:33:02.000Z, last_logon: 2017-01-02T03:11:08.000Z, clan_rank: null, game_name: '', gameid: 0, game_data_blob: ByteBuffer { buffer: <Buffer 08 df 06 12 68 09 05 80 fb 0a 01 00 10 01 10 01 18 00 20 00 28 00 30 80 02 38 04 40 04 7a 0a 6d 61 64 67 61 6d 65 72 36 39 a0 01 ff ff 03 c9 01 00 00 ... >, offset: 109, markedOffset: -1, limit: 109, littleEndian: true, noAssert: false }, clan_tag: null, facebook_name: null, facebook_id: null, avatar_url_icon: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/dc/dc5f390c614b53332307d2d532595ed20f317238.jpg' avatar_url_medium: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/dc/dc5f390c614b53332307d2d532595ed20f317238_medium.jpg' avatar_url_full: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/dc/dc5f390c614b53332307d2d532595ed20f317238_full.jpg'} } I have checked it is the correct steam id, they are friends, the account is online (as you can see by the persona_state). Is it possible to grab a nickname for a user using this method? I'm guessing it's: persona_set_by_user, however it is responding as null. Here is a screenshot of the account in question: http://i.imgur.com/42HCAII.png Quote
Dr. McKay Posted January 2, 2017 Report Posted January 2, 2017 Nicknames are not currently available. If this would be helpful to you, I can try to get around to it tonight. Quote
Dr. McKay Posted January 4, 2017 Report Posted January 4, 2017 https://github.com/DoctorMcKay/node-steam-user/releases/tag/v2.15.0 Quote
jfx. Posted January 4, 2017 Author Report Posted January 4, 2017 Thank you very much! Needed for my bot in order for the user to easily identify users. 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.