New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop spamming the Steam-Servers (change Interval) #10
Comments
I released the most simple solution, we just delay creating bots to 1 bot per second. Try it. I don't have enough accounts. |
The delay is to short. I changed the delay to 5s first and was able to connect 80 bots, then I got the "Invalid Password"-Error again. Now I modified the delay to something random between 5 and 10 seconds and nearly all bots connected and started farming! I will update program.cs with a delay of 5 - 15 seconds. I think then it would be possible to connect over 200 bots. I know it will take long until all bots connected and this isn´t as fast as in the beginning, but its the best solution so far. Edit: The delays has to be added for reconnects also. Just add this here so I won´t forget. |
See my answer @ JustArchiNET#10
I took your idea and improved it greatly, so bots now limit steam logins also on reconnects + they're sleeping asynchronously (we should avoid Thread.Sleep() at all cost because it's blocking main thread too) Pull my latest changes and test if all of your bots still work properly. |
Still need feedback ^ |
I would say it works now with the 5s delay but I´m getting some errors with debian(mono) after ~110 bots connected:
There are 5 users trying to reconnect at the same time. With Windows it looks like its working, there were 188 bots connected at the same time. But ~20 bots were missing and didn´t connected for some reason. The log is gone so I can´t figure out what happened. Also there are no messages that those bots tried to reconnect, so dunno. Maybe its better to read the delay from config? I think it would help if someone has more bots then me. Its like there is a limit per minute or hour like you said and this way everyone could use its own delay depending on how much bots he owns. A user like you with 5 bots don´t need a 5s delay. Update: Tested it the second time now with debian and I have still the same problem. |
For now I think that we leave 5 sec on, and make it switchable in future. |
Anyway, fixed for now. |
Theres one more reason why bots can´t connect > the interval for connecting your different bots is to low. Steam completely blocks access to their servers for some time if you spam 3 logons in just 1 second. I tried to login with Steam-Client after running ASF and get an error, that my login-attempt failed. (login-credentials definitely correct)
The text was updated successfully, but these errors were encountered: