Jump to content
McKay Development

NoiseBaphomet

Member
  • Content Count

    7
  • Joined

  • Last visited

  1. Thank you very much for the support and help. This is when you see that I am new hehe
  2. client.getPersonas([steamID], function(err,personas) { var persona = personas[steamID.getSteamID64()]; var name = persona ? persona.player_name : ("[" + steamID.getSteamID64() + "]"); console.log(name); }); this works, thanks
  3. I think I am using the latest version since I just installed the module const SteamUser = require('steam-user'); const config = require('./config.json'); const client = new SteamUser(); const logOnOptions = { accountName: config.username, password: config.password }; client.logOn(logOnOptions); client.on('loggedOn', () => { //mensaje cuando se logra iniciar sesion console.log('Entraste a Steam :)'); console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID() + " /// "); //ponerse el estado En Linea client.setPersona(SteamUser.EPersonaState.Online); //p
  4. D:\bot\bot.js:75 var persona = personas[steamID.getSteamID64()]; ^ TypeError: Cannot read property '76561198987247955' of null at D:\bot\bot.js:75:27 at Immediate.<anonymous> (D:\bot\node_modules\steam-user\node_modules\@doctormckay\stdlib\components\promises.js:90:6) at processImmediate (internal/timers.js:461:21)
  5. D:\bot\bot.js:75 var persona = personas[steamID.getSteamID64()]; ^ TypeError: Cannot read property '76561198987247955' of null at D:\bot\bot.js:75:27 at Immediate.<anonymous> (D:\bot\node_modules\steam-user\node_modules\@doctormckay\stdlib\components\promises.js:90:6) at processImmediate (internal/timers.js:461:21)
  6. Hello, I am really new to this and I would very much appreciate you helping me, I already have time looking at the github but it confuses me since there are no examples, my question is how can I get the nickname when I receive a message from some steam friend? look they use getpersona but always sends me mistakes I had already left this behind but the truth is that I am not satisfied I just want to be able to do something like... [automatic message] Hello "nickname", I am currently resting blablabla
  7. Hi, I'm new, where can I find the documentation? I have error in "var persona = personas[steamID.getSteamID64()]; ^ in [
×
×
  • Create New...