Jump to content


Photo

createAccount doesn't work

node.js node-steam-user

Best Answer Dr. McKay , 12 May 2016 - 12:43 PM

You need to wait until the loggedOn event is emitted.

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 JoshKent

JoshKent

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 12 May 2016 - 09:29 AM

Hi, if I try to create an Account, it logs in, but doesn't do anything after that:

var SteamUser = require('steam-user');
var steam_user = new SteamUser();

steam_user.logOn();
steam_user.createAccount("*username*", "*password*", "*email*", function(result,steamid){
	console.log(result);
	console.log(steamid);
});

I also tried logging in as an actual user, but then the createAccount function still doesn't do anything, what am I doing wrong?

Thank you in advanced.



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,070 posts

Posted 12 May 2016 - 12:43 PM   Best Answer

You need to wait until the loggedOn event is emitted.







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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users