Jump to content
McKay Development

luisisito

Member
  • Posts

    2
  • Joined

  • Last visited

luisisito's Achievements

  1. Ok, I removed this code in one backend setInterval(() => { client.setPersona(SteamUser.EPersonaState.Online); }, ONLINE_INTERVAL); And now is working fine. It's weird why setting the status in both instances throws Revoked. Anyways my problem is solved thanks for your time and I apologize for this simple issue.
  2. Hi, I'm trying to build a steam bot everything was going well until I had the need to integrate the bot to two different backends on the same VPS. This means that I have to log in twice with the same public IP, I was reading about it and supposedly this can be done without problems by modifying the logonID parameter at each login, however, although I do this when I log in for the second time in the another backend of the same VPS immediately the first session gives me the error "Revoked" which is 26 of eResult. I am using version 5.0.1 of node-steam-user and here is the simple code that repeats the problem: const SteamUser = require('steam-user'); const client = new SteamUser(); const username = 'your_steam_username'; const password = 'your_steam_password'; const authCode = 'xxxxx'; const ONLINE_INTERVAL = 5 * 60 * 1000; client.logOn({ accountName: username, password: password, authCode, logonID: Math.random() * 100000000, }); client.on('loggedOn', () => { console.log('Logged into Steam'); setInterval(() => { client.setPersona(SteamUser.EPersonaState.Online); }, ONLINE_INTERVAL); }); client.on('error', (err) => { console.log(`Error: ${err.message} ${err.eresult}`); //OUTPUT IF I RUN 2ND INSTANCE: //Error: Revoked 26 }); Thanks in advance for any solution.
×
×
  • Create New...