Raised This Month: $51 Target: $400
 12% 

[CSGO] Ban reconnect / retry players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 11-30-2018 , 01:17   [CSGO] Ban reconnect / retry players
Reply With Quote #1

I have this problem:
My server have reserved slots and using rankme plugin which is reading mysql database everytime players connect. For that reason, if some one without vip flag , they can't join when server are full ( for example 31/32 - on last slot are for vip and admin flag to join ), and they will continously connect and then will get kicked afterward.
But that will cause server var jump up / lag / choke spike. Because rankme will read each time they retry.

So I'm looking a plugin that can temporary ban them for 5 minutes to prevent the lag.

Thanks
__________________
nguyenbaodanh is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-30-2018 , 02:52   Re: [CSGO] Ban reconnect / retry players
Reply With Quote #2

try changing the following line
https://github.com/rogeraabbccdd/Ken...ankme.sp#L1992

OnClientPutInServer

to

OnClientPostAdminCheck
__________________
8guawong is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 12-02-2018 , 23:36   Re: [CSGO] Ban reconnect / retry players
Reply With Quote #3

Quote:
Originally Posted by 8guawong View Post
try changing the following line
https://github.com/rogeraabbccdd/Ken...ankme.sp#L1992

OnClientPutInServer

to

OnClientPostAdminCheck
edited but can not compile, errors showing
__________________
nguyenbaodanh is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 12-02-2018 , 23:49   Re: [CSGO] Ban reconnect / retry players
Reply With Quote #4

Ok! replaced all , can compiled now. Let me try it
__________________
nguyenbaodanh is offline
Reply



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 22:30.


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