EnelGy Posted September 4, 2020 Report Share Posted September 4, 2020 Hello I have seen the answer on this "And the reason is because you need to set logonID to something unique in logOn if you're logging into the same account from the same public IP." Can you be with this answer more specific ??? What should I do here ? let logonId = details.logonID; if (logonId) { let maxUint32 = Math.pow(2, 32) - 1; if (typeof logonId == 'string' && logonId.match(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/)) { logonId = StdLib.IPv4.stringToInt(logonId) ^ PRIVATE_IP_OBFUSCATION_MASK; } else if (typeof logonId == 'number' && logonId > maxUint32) { this._warn(`logonID ${details.logonID} is greater than ${maxUint32} and has been truncated.`); logonId = maxUint32; } } Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 5, 2020 Report Share Posted September 5, 2020 Just set logonID to some number when you log on, and use a different number for each instance of the account. Quote Link to comment Share on other sites More sharing options...
EnelGy Posted September 5, 2020 Author Report Share Posted September 5, 2020 (edited) where to set the logonID ?? in logon.js ??? Edited September 5, 2020 by EnelGy Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 5, 2020 Report Share Posted September 5, 2020 Do not edit the module. const SteamUser = require('steam-user'); let user = new SteamUser(); user.logOn({ accountName: 'your_account', password: 'your_password', logonID: 12345 }); Quote Link to comment Share on other sites More sharing options...
EnelGy Posted September 5, 2020 Author Report Share Posted September 5, 2020 (edited) Thanks a lot ! Edited September 5, 2020 by EnelGy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.