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

fps_override & fps_max


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-02-2015 , 22:49   fps_override & fps_max
Reply With Quote #1

Hello everyone,

I got a simple question in regards to fps_override and fps_max commands. I got a server with multijump enabled and it seems that people who use the fps commands can strafe better. This to me seems like an unfair advantage, so I was thinking of a way to block it.

Some of you might say that, fps has nothing to do with it, but from what I have seen, there are doubts in my head. Would anyone be able to shed some light on this issue?

I'm using sv_airaccelrate 100 with this multijump plugin.

https://forums.alliedmods.net/showthread.php?t=10159
Spirit_12 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-03-2015 , 07:16   Re: fps_override & fps_max
Reply With Quote #2

You cannot force clients to use a specific FPS setting
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-03-2015 , 10:17   Re: fps_override & fps_max
Reply With Quote #3

I know, I can't force them to a specific number, but I don't see any harm is setting an upper limit. In my understanding counter strike 1.6 only needs 100.5 fps by default and that too with vsync disabled.

Can you explain why they can strafe better when they use those high fps settings?
why does it effect the player movement when they use 300 or 400 fps?
Was this not the same reason for the removal of developer 1 command?

I do remember there was a plugin on this forum, that can check all client cvar values and set upper and lower limits for them. I'm not forcing them to use 100, but I wanna lock the upper limit to 100, so they can't have an unfair advantage.

Last edited by Spirit_12; 01-03-2015 at 10:20.
Spirit_12 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-03-2015 , 10:31   Re: fps_override & fps_max
Reply With Quote #4

You can't even set limits on Client CVars. You can check the values and then kick them if it is too high or low, but you can't change it.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-04-2015 , 19:25   Re: fps_override & fps_max
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
You can't even set limits on Client CVars. You can check the values and then kick them if it is too high or low, but you can't change it.
Checking and kicking was what I meant, when I said set limits.

Can you help me with this little code. I know that I'm comparing an array to a value, which is why it won't compile. How could I fix this?

PHP Code:
public client_connect(id)
{
    if (!
is_user_bot(id))
        
query_client_cvar(id"fps_max""cvar_result_func");
}

public 
cvar_result_func(id, const cvar[], const value[])
{
    if (
value[] > 125)
        
client_print(0,print_chat,"%s is using fps over 125"name);
        
    new 
name[32];
    
get_user_name(idname31);
    
    
log_amx("(%s)'s fps_max value = ^"%s^""namevalue);

Spirit_12 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 01-05-2015 , 05:11   Re: fps_override & fps_max
Reply With Quote #6

You need to str_to_num(value).
__________________
Kia 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 00:11.


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