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

Already on GitHub? Sign in to your account

Login not working with latest Version #13

Closed
awillinger opened this Issue Mar 28, 2013 · 4 comments

Comments

Projects
None yet
3 participants

I am currently having Problems caused by the latest Version of the library.
Currently, I am not able to login into the Steam Network, the Bot simply sits there and does nothing (somehow).

Code I am using:

bot.logOn(loginData['username'], loginData['password'], sentryHash);
bot.on('loggedOn', function() {
    showSuccess('['+getTimeStamp()+'] Login successful!');
    bot.setPersonaState(Steam.EPersonaState.Online);
    bot.setPersonaName('BOT'); // to change its nickname
});

(whereas getTimeStamp and showSuccess are custom functions, first one displays the Time/Date in the format dd.mm.yyyy hh:ii:ss and showSuccess prints out green Text)
I have already tried to wipe the entire directory and install it again, but it doesn't change anything.
After I downgraded to an older Version again, everything is working ..

draivin commented Mar 28, 2013

What is your node version? Latest node-steam only works with node 0.10+.
You can also add an event handler for debug so you can see exactly what was the bot's last action.

bot.on('debug', function(msg) {
  console.log('debug:', msg);
});

I am running v0.8.19

draivin commented Mar 28, 2013

Latest node-steam only works with node 0.10+.

Then update your node or use an older version of node-steam. :)

Owner

seishun commented Mar 28, 2013

Looks like the question has already been answered. But I guess this deserves a note in the readme to prevent any further confusion.

@seishun seishun closed this Mar 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment