Raised This Month: $ Target: $400
 0% 

How can I get a cvar value from a client?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Reel mafioso
Member
Join Date: Oct 2014
Location: wouldn't you like to kno
Old 05-07-2015 , 07:40   Re: How can I get a cvar value from a client?
Reply With Quote #1

Well Idk why it's so hatred this slowhacking, nobody bothers to explain why it's hated and why I should avoid using it with a clear example. My only intention was to set their rates up according to the server, as the most common reason for loss (sometimes choke too) are cvars not set the best. Which alternative function should I use then?. What can happen when I use console_cmd or client_cmd ?
Also for making it worse for some people, it can be for people who have slower internet, but the only thing that matters most is updaterate. Clients have mostly 30 or 60 maybe even higher, they request too much updates and get choke then blame the server "Hurr i only get ping here wtf". My updaterate set on the server is 24 as I have a low bandwidth for a server i'm planning to use privately and not all the time anyway.
Reel mafioso is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 05-07-2015 , 08:31   Re: How can I get a cvar value from a client?
Reply With Quote #2

Slowhacking or not, 24 is a terrible update rate, and suggests you shouldn't be running a server on that connection in the first place.

The issue with slowhacking is that, given your server connection, you will "optimize" the client to your server which then in turn makes their experience on literally every other server shit aswell. So they have a sub-par experience on your server because it can't do better, and they will have a sub-par experience on every other server because you fucked with their settings. This doesn't just apply to rates, but also to binds and other random variables.

Use the commands fysiks suggested, and stay away from people's configs. They will hate your server more for slowhacking than for a nonoptimal experience on an already bad connection.
__________________
In Flames we trust!
Nextra is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2015 , 08:53   Re: How can I get a cvar value from a client?
Reply With Quote #3

Also, since it hasn't been mentioned, it's impossible to send commands to a client after they leave.

But, as Nextra (and myself said) the server already had this functionality built into the game. Simply use the server settings I posted above and there will be no need to use any client commands and there is nothing to "set back" for the player.
__________________
fysiks is offline
Reel mafioso
Member
Join Date: Oct 2014
Location: wouldn't you like to kno
Old 05-07-2015 , 08:53   Re: How can I get a cvar value from a client?
Reply With Quote #4

Quote:
Originally Posted by Nextra View Post
Slowhacking or not, 24 is a terrible update rate, and suggests you shouldn't be running a server on that connection in the first place.

The issue with slowhacking is that, given your server connection, you will "optimize" the client to your server which then in turn makes their experience on literally every other server shit aswell. So they have a sub-par experience on your server because it can't do better, and they will have a sub-par experience on every other server because you fucked with their settings. This doesn't just apply to rates, but also to binds and other random variables.

Use the commands fysiks suggested, and stay away from people's configs. They will hate your server more for slowhacking than for a nonoptimal experience on an already bad connection.
Okay. Thank you for trying to explain, but you didn't quite hit the target. Why do people say "Don't do this" without a reason? I specifically ask for a reason not to use console/client_cmd. Hopefully someone can tell me the reason. I removed the plugin and added sv_minupaderate and sv_minrate commands (I only had max counterparts). Theoretically you can host a server on dial up, but you will have to have a ridiculously low rate and updaterate. I have found some guides on setting maxrate and maxupdaterate, and the numbers I use are the above mentioned.

Last edited by Reel mafioso; 05-07-2015 at 08:55.
Reel mafioso is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2015 , 08:56   Re: How can I get a cvar value from a client?
Reply With Quote #5

Quote:
Originally Posted by Reel mafioso View Post
Theoretically you can host a server on dial up
Not really. The game was originally designed for ONE player to use dial-up. It was NOT designed for a server to be hosted on dial-up which equates to MANY players using that same connection.
__________________
fysiks is offline
Reel mafioso
Member
Join Date: Oct 2014
Location: wouldn't you like to kno
Old 05-07-2015 , 09:21   Re: How can I get a cvar value from a client?
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Not really. The game was originally designed for ONE player to use dial-up. It was NOT designed for a server to be hosted on dial-up which equates to MANY players using that same connection.
Exactly, I said Theoretically,If you couple in 56kbit/s transfer speed with 300ms latency, you could expect rate to be <50 and updaterate <10 ? (Used an online calculator, it said it was "Too low", assumed less than 10). Either way when I did the math, I could run a 12 player goldsource server with 10000 rate and 30 updaterate.
Reel mafioso 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 18:41.


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