Jump to content
McKay Development

rosyy

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by rosyy

  1. Problem with connecting proxy.
    There are two outcomes when connecting a proxy:
    1. The proxy is working - the code is being executed.
    2. The proxy is working - but the code is not executed and there is no error in the console, because of this I cannot trace the problem and solve it.

    How can I track this error? I will be grateful for help

    Code:

    const SteamClient = require('steam-client');
    const SteamUser = require('steam-user');
    
    let user = new SteamUser({
      singleSentryfile: false,
      promptSteamGuardCode: false,
      dateDirectory: null,
      httpProxy: 'http://IP:PORT'
    });
    
    user.logOn({ accountName: 'USERNAME', password: 'PASSWORD' });
    
    user.on('error', e => {
    console.log(e);
    return;
    });
    
    user.on('emailInfo', function(address, validated) {
        if (validated == true) {
            console.log('Yes', validated);
    		return;
        } else (validated == false) 
    	{
            console.log('No', validated);
    		return;
        }
    });
  2. I am making a code that confirms the change of email on accounts. 
    Now I am using SteamCommunity.startConfirmationChecker, it works but I need to optimize the code and not use the checker and confirm only once.
    I know that the checker is already out of date, but unfortunately I could not find an alternative myself in order to perform only one confirmation.
    Any help would be welcome.

    Screenshot_10.png

×
×
  • Create New...