Jump to content
McKay Development

[help] client.webLogOn


budysvk

Recommended Posts

Hello I am having other error. Code:


community.on('sessionExpired', function(err) {
	if (err) {
		console.log('sessionExpired: '+err);
	}

	community.stopConfirmationChecker();
	client.webLogOn();
});

And error in console: client is not defined. How to call weblogon function please? Thanks

Link to comment
Share on other sites

Okay , now i am using community.login(account, login); when my session end , but only sometimes i cant log with bot, It says error in steamguard, my code: 

    SteamTotp.getTimeOffset(function(err, offset, latency) {
    account.twoFactorCode = SteamTotp.generateAuthCode(account.shared_secret, offset);
	account.auth = false;
	logger.debug(account);
	community.login(account, login);
	});

 i can login when i run node but when trying refresh session:

community.on('sessionExpired', function(err) {
	if (err) {
		console.log('sessionExpired: '+err);
	}

	community.stopConfirmationChecker();
	community.login(account, login);
	console.log('=========================REFRESHING SESSION=========================');
});

It says: Error SteamGuard , only sometimes, and sometimes trying to log many times and display error: Too many attempts

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...