Problem Sourcebans printing to Server.
2 Attachment(s)
I am currently using Sourcebans version 1.6.3. I've gone through the web banning issues. When I ban a player, the print message to the server changes. The player writes something else in 2 attempts before 5 minutes pass. And I want to prevent that. I always want to have sourcebans write their own ban message. Can anyone help?
This article appears when a Player is banned. https://i.ibb.co/G9xWtjF/left4dead2-...4-10-002-1.jpg but the text in this picture appears when she tries to log in to the server again. https://i.ibb.co/grFmtnZ/left4dead2-...4-20-838-1.jpg Why I want to change. Because sometimes, sometimes not even the player hits the "OK" Button without reading the text there. He doesn't know why he's banned on the server or how to get information. and as you can see, the second message does not write any website or anything to get information, I am trying to show sourcebans its own message, ie the message in the first picture, every time the player tries to login to the server while the player is banned, but I couldn't help. Can anyone help? |
Re: Problem Sourcebans printing to Server.
According to the current SourceBans++ file, sb_main.sp:
Comment out where the plugin issues game engine bans, e.g.: 1. Line 1635 - 1636 2. Line 2549 - 2551 Eventually also: 3. Line 1539 - 1542 4. Line 2658, you might also want to alter the plugin from using BanClient to use KickClient instead: Something like for example Code:
KickClient(target, "%t", "Banned Check Site", WebsiteAddress); ATTENTION PLEASE! The stuff about caching the bans with game engine bans does something good, such as e.g. keeping people banned when you're having unreliable connectivity towards your SQL database(s). If you are performing changes like the ones mentioned above (that you actually asked for), then your game server will send all the queries on each and every connect that players are doing towards your server. While I'm banned on your server, you are opening up for the possibility that I can do reconnect spam towards your server, and then your game sever will spam your database with queries every individual time I'm trying to connect, which can potentially lead to "DoS" attack like consequences for your database server. The game engine ban "cache" is actually doing good things for your servers / infrastructure! |
Re: Problem Sourcebans printing to Server.
Quote:
|
Re: Problem Sourcebans printing to Server.
Quote:
The likelihood of someone taking advantage of this change on your server is probably very low, so feel free to go with his suggestion. But if one day and you see hundreds of kicked messages in your logs, you will know why. |
All times are GMT -4. The time now is 05:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.