10.03.2017, 04:56
Quote:
Would've thought it would be wise to have anti-spam measures in your script...
|
Also, back in December 2016 when I was facing this kind of issues, I had done these steps to avoid them completely:
- The usual antibots spam include (IP)
- Anti spam script.
- Made a global variable 'lastconnect', and would check if the last connection to the server was before 1 sec, if yes send the message to all with the usual text 'x has joined the server', this way you would avoid the spam they create while joining.
- Made a global variable 'lastdisconnect', similiar to last connect.
- And in the end, lasttext[MAX_PLAYERS].
With anti spams & these variables, the problem was fully solved for me.