Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
Last time I faced such situation I had made a variable called LastConnection, and would use it under on player connect (if last connection was more then a second ago then send message otherwise don't send any message like they joined).
Same goes for OnPlayerDisconnect.
Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
Looks like they're using different IPs, so making an IP connection limiter will not help you.
I have some advices and different types of solutions.
1. try to filter player names.
2. Limit a connection and reject some of the connections if your server is under heavy load.
Posts: 162
Threads: 37
Joined: Feb 2017
Reputation:
0
Sad news, I tried all what you guys said but none of them worked (iLearner's and RogueDrifter's ways)! Bots still keep connecting to my server.
Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
Mine was to avoid the spam not to prevent them from joining.
And again, did you try using YSF?
Posts: 1,192
Threads: 10
Joined: Dec 2017
Reputation:
0
@OP:
1- send me here the gpci id of the bots that are connecting to your server, use gpci and save it in a string then print it, if it has a special pattern you can stop it from entering
-
2-you can try using the minconnectiontime param in your server cfg it determines the amount of connections the server can accept in a time, if you set it to 1000ms (1 second) it will only accept one connection every second and others will be ignored.