Raised This Month: $203 Target: $400
 50% 

Is it possible to replace the game engine's ban message with sourcebans?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 08-03-2021 , 06:50   Is it possible to replace the game engine's ban message with sourcebans?
Reply With Quote #1

Hello, when a player I have banned with Sourcebans wants to re-login to the game in less than 5 minutes, the Game engine's ban kicks in and it doesn't look pretty from a view point of view. I want to replace this message with Sourcebans message. i.e. instead of engine ban message, I want continuous sourcebans message to appear. I believe the pictures below will tell you everything.

This article appears when a Player is banned.



but the text in this picture appears when she tries to log in to the server again.
__________________
HTML Code:
<a href="https://www.gametracker.com/server_info/157.90.180.232:27215/" target="_blank"><img src="https://cache.gametracker.com/server_info/157.90.180.232:27215/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a>
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-03-2021 , 12:02   Re: Is it possible to replace the game engine's ban message with sourcebans?
Reply With Quote #2

Then edit the Sourcebans source code to always kick the player instead of banning them. You can only display custom messages when kicking players.
__________________
Sreaper is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Turkey
Old 08-04-2021 , 14:25   Re: Is it possible to replace the game engine's ban message with sourcebans?
Reply With Quote #3

Quote:
Originally Posted by Sreaper View Post
Then edit the Sourcebans source code to always kick the player instead of banning them. You can only display custom messages when kicking players.
Where should I make the changes? so which banclint code should i replace with kickclient?
__________________
HTML Code:
<a href="https://www.gametracker.com/server_info/157.90.180.232:27215/" target="_blank"><img src="https://cache.gametracker.com/server_info/157.90.180.232:27215/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a>
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-04-2021 , 20:43   Re: Is it possible to replace the game engine's ban message with sourcebans?
Reply With Quote #4

Quote:
Originally Posted by Darkwob View Post
Where should I make the changes? so which banclint code should i replace with kickclient?
Yes. Just make it like the other kick is.
__________________

Last edited by Sreaper; 08-04-2021 at 20:45.
Sreaper is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:40.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode