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

[CSGO] Client limiter


Post New Thread Reply   
 
Thread Tools Display Modes
utaker
Senior Member
Join Date: Dec 2013
Old 07-08-2016 , 01:37   Re: [CSGO] Client limiter
Reply With Quote #81

Quote:
Originally Posted by Wilczek View Post
It is not possible (*), because technically on a map change every client disconnects and reconnects to the server. So from the engine's perspective, all players look the same.

(*) - Maybe if you created some sort of array to keep in the memory which clients were previously connected, that would work... But I definitely don't have a time to tamper with this.

Volunteer devs needed here please
utaker is offline
sernikk
Member
Join Date: Oct 2013
Old 08-18-2016 , 18:50   Re: [CSGO] Client limiter
Reply With Quote #82

I have an issue where i want MAX 28 with gotv included.
sv_visiblemaxplayers 28
host_info_show 2
sm_admin_slots 1

And it will kick people when it shows 26/27 (or 27/28 when you click on the server).
How to change that? I had the same issue with normal reservation plugin


Nevermind i changed to sv_visiblemaxplayers 27 and it works

Last edited by sernikk; 08-18-2016 at 18:55.
sernikk is offline
Razvann.
Senior Member
Join Date: Jul 2012
Old 03-25-2017 , 10:54   Re: [CSGO] Client limiter
Reply With Quote #83

Quote:
Originally Posted by Wilczek View Post
It is not possible (*), because technically on a map change every client disconnects and reconnects to the server. So from the engine's perspective, all players look the same.

(*) - Maybe if you created some sort of array to keep in the memory which clients were previously connected, that would work... But I definitely don't have a time to tamper with this.
I have 1 similar 'problem'..
I have bot_quota 10, but when my server is full (ex. 25/25+1 hiden) and map is changed Bots joins first (until 10 players are joining and automatically server kick the bots) and if 25 players are connecting some of them will be kicked because Bots joins first in Game, u understand?
How can I avoid this problem without putting bot_quota 0?

Last edited by Razvann.; 03-25-2017 at 10:56.
Razvann. is offline
Send a message via Yahoo to Razvann.
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 05-09-2017 , 10:28   Re: [CSGO] Client limiter
Reply With Quote #84

Any way to fix this?
https://i.gyazo.com/6e9444cae9e441be...0ab6114a96.png
Ejziponken is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-09-2017 , 10:30   Re: [CSGO] Client limiter
Reply With Quote #85

What do you mean by fix?
__________________
Wilczek is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 07-18-2017 , 11:15   Re: [CSGO] Client limiter
Reply With Quote #86

Quote:
Originally Posted by Wilczek View Post
What do you mean by fix?
Hide it.
Ejziponken is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 07-18-2017 , 11:37   Re: [CSGO] Client limiter
Reply With Quote #87

I don't know... These are standard SM messages for player kick. You would have to catch them, process and then probably return Plugin_Handled to block them.
__________________
Wilczek is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 07-18-2017 , 13:08   Re: [CSGO] Client limiter
Reply With Quote #88

You could hook player_disconnect
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 07-18-2017 , 15:02   Re: [CSGO] Client limiter
Reply With Quote #89

I guess he doesn't want to block every kick message on this server... I think this event doesn't return the kick message, so we'd need an array of all userid that were kicked and compare them with uid returned from player_disconnect.

Please correct me if I'm wrong
__________________
Wilczek is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 07-18-2017 , 15:07   Re: [CSGO] Client limiter
Reply With Quote #90

Quote:
Originally Posted by Wilczek View Post
I guess he doesn't want to block every kick message on this server... I think this event doesn't return the kick message, so we'd need an array of all userid that were kicked and compare them with uid returned from player_disconnect.

Please correct me if I'm wrong
Im fine with blocking all kick messages. They are useless anyway. no? :p
Ejziponken 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 02:18.


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