Jump to content


Photo

client.logOn does not work

node.js node-steam-user

  • Please log in to reply
1 reply to this topic

#1 Amir

Amir

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 05 October 2019 - 07:57 PM

i have windows and i test it and runs all ok but when i want to use centos 7 to run it on my server it does not work!! steam-user client.logOn does not give me error and do nothing it is so weird i have tried it into 4 different linux servers still the same what do you think the problem is? my code :

 

const SteamUser = require('steam-user');

var client = new SteamUser();


client.logOn({
    accountName: 'test',
    password: 'tes',
})

client.on('loggedOn', () => {
    console.log('logged on');
    
    
});

client.on('error', (err=> {
    console.log(err);
    
    
});


 

 



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,212 posts

Posted 07 October 2019 - 05:56 AM

Try adding client.on('debug', console.log) and see if there's anything useful in that output.







Also tagged with one or more of these keywords: node.js, node-steam-user

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users