Raised This Month: $32 Target: $400
 8% 

[CS:GO] ReservedSlots using 'connect' and limit bypass fix [UPDATED 04/04/2021]


Post New Thread Reply   
 
Thread Tools Display Modes
bayshades
Member
Join Date: Sep 2019
Old 06-15-2020 , 19:15   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #11

Nice work. Thanks for the share. Keep it up improving.

Last edited by bayshades; 06-15-2020 at 19:17.
bayshades is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-15-2020 , 19:56   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #12

For those ones who didn't understand the porpuse of the plugin, i just modified the plugin's description on the main thread, take a look

Quote:
Originally Posted by bayshades View Post
Nice work. Thanks for the share. Keep it up improving.
Thank you so much, hope you like it!
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Khayenoh
New Member
Join Date: Sep 2019
Old 06-16-2020 , 01:55   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #13

There is no option for recently entered income to be kicked?
Khayenoh is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-16-2020 , 02:04   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #14

Quote:
Originally Posted by Khayenoh View Post
There is no option for recently entered income to be kicked?
What do you mean by that?
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Old 06-16-2020 , 02:11   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #15

Quote:
Originally Posted by NanoC View Post
What do you mean by that?
He wants to kick "Shortest connection time player"
Effeff is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-16-2020 , 02:49   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #16

Quote:
Originally Posted by Effeff View Post
He wants to kick "Shortest connection time player"
Unfortunately i don't think there's another way so far to kick those non-vips who are trying to connect to a full server, this was the best way i found to do it, but stay tuned if i can find something
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Old 06-16-2020 , 03:57   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #17

Quote:
Originally Posted by NanoC View Post
Unfortunately i don't think there's another way so far to kick those non-vips who are trying to connect to a full server, this was the best way i found to do it, but stay tuned if i can find something
I think you misunderstood.

In your plugin, you are kicking the player who has the "highestValue" of whatever kick type you use. One kick type you have is called "Longest connection time". Instead, you can kick the player with the "Shortest connection time".

Example using your plugin:

Code:
switch(GetConVarInt(g_hcvarKickType))
{
	case 1:
	{
		value = GetClientAvgLatency(i, NetFlow_Outgoing);
	}
	case 2:
	{
		value = GetClientTime(i);
	}
	case 4: // Shortest connection time
	{
		value = GetClientTime(i) * -1.0;
	}
	default:
	{
		value = GetRandomFloat(0.0, 100.0);
	}
}

Last edited by Effeff; 06-16-2020 at 03:57.
Effeff is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-16-2020 , 04:20   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #18

Quote:
Originally Posted by Effeff View Post
I think you misunderstood.

In your plugin, you are kicking the player who has the "highestValue" of whatever kick type you use. One kick type you have is called "Longest connection time". Instead, you can kick the player with the "Shortest connection time".

Example using your plugin:

Code:
switch(GetConVarInt(g_hcvarKickType))
{
	case 1:
	{
		value = GetClientAvgLatency(i, NetFlow_Outgoing);
	}
	case 2:
	{
		value = GetClientTime(i);
	}
	case 4: // Shortest connection time
	{
		value = GetClientTime(i) * -1.0;
	}
	default:
	{
		value = GetRandomFloat(0.0, 100.0);
	}
}
Ahh, yeah sorry i misunderstood. That's a good feature, i'll be adding it to the git tomorrow, thank you for your reply
__________________
NanoC is offline
Send a message via Skype™ to NanoC
ph
AlliedModders Donor
Join Date: Mar 2006
Old 06-17-2020 , 08:58   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #19

Can this be used to TF2 (team fortress 2)
__________________
ph is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 06-17-2020 , 12:29   Re: [CS:GO] Reserved Slots using 'connect' and client limit bypass fix
Reply With Quote #20

Quote:
Originally Posted by ph View Post
Can this be used to TF2 (team fortress 2)
i'm not sure. If PTaH works on TF, i think yes, give it a try
__________________
NanoC is offline
Send a message via Skype™ to NanoC
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 13:04.


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