Raised This Month: $7 Target: $400
 1% 

cl filterstuff check


Post New Thread Reply   
 
Thread Tools Display Modes
JocAnis
Veteran Member
Join Date: Jun 2010
Old 01-22-2019 , 09:28   Re: cl filterstuff check
Reply With Quote #11

is making menu "server want to change your fps (rules)" "yes, accept" "no (kick)" also consider as slowhacking a client ?
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 01-22-2019 , 10:00   Re: cl filterstuff check
Reply With Quote #12

Quote:
Originally Posted by JocAnis View Post
is making menu "server want to change your fps (rules)" "yes, accept" "no (kick)" also consider as slowhacking a client ?
No as long as you ask for the permission to change anything.

Quote:
Originally Posted by iceeedr View Post
PHP Code:
#include <amxmodx>

#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""

new Trie:Fps

public plugin_init()
    
register_plugin(PLUGINVERSIONAUTHOR)

public 
plugin_cfg() 
{
    
Fps TrieCreate()
    
    
TrieSetString(Fps"fps_max""101")
}

public 
client_putinserver(id
        
query_client_cvar(id"fps_max""Cvar_Result")


public 
Cvar_Result(id, const cvar[], const value[]) 

    static 
value_check[6]
    
    
TrieGetString(Fpscvarvalue_checkcharsmax(value_check))
    
    if(!
equal(valuevalue_check))
        
server_cmd("kick #%d ^"If you would enter to the server let fps_max 101^""get_user_userid(id))

I think this one will kick anybody who doesn't have 101, i.e > or < 101.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-22-2019 , 10:20   Re: cl filterstuff check
Reply With Quote #13

Quote:
Originally Posted by JocAnis View Post
is making menu "server want to change your fps (rules)" "yes, accept" "no (kick)" also consider as slowhacking a client ?
That was alright before commands were blocked on the client-side (Feb 2013). Now it's impossible, even if you do that.
__________________
klippy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 01-22-2019 , 10:49   Re: cl filterstuff check
Reply With Quote #14

Quote:
Originally Posted by SomewhereLost View Post
I think this one will kick anybody who doesn't have 101, i.e > or < 101.
You're right, code updated.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-22-2019 , 11:57   Re: cl filterstuff check
Reply With Quote #15

Quote:
Originally Posted by Sanjay Singh View Post
If this is altering client setting then check hns by exoleent in which it self there are slow hacks which alter players setting , according to u then excolent is also wrong? If you knw my point then tell me other way to block player from getting fps more than 100.
Show me one setting that is changed by this plugin
__________________

Mordekay is offline
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 01-22-2019 , 13:38   Re: cl filterstuff check
Reply With Quote #16

Quote:
Originally Posted by Mordekay View Post
Show me one setting that is changed by this plugin
my bad it was sub plugin for hns uqstats 2.42 which included slow hack
http://prntscr.com/mapdwh

Anyways rather than arguing in this why cant you help for fps?
__________________

Last edited by Sanjay Singh; 01-22-2019 at 13:39.
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 01-22-2019 , 13:40   Re: cl filterstuff check
Reply With Quote #17

Quote:
Originally Posted by iceeedr View Post
PHP Code:
#include <amxmodx>

#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""

public plugin_init()
    
register_plugin(PLUGINVERSIONAUTHOR)

public 
client_putinserver(id)
{
    if(!
is_user_bot(id) || !is_user_hltv(id))
        
query_client_cvar(id"fps_max""Cvar_Result")
}

public 
Cvar_Result(id, const cvar[], const value[]) 

    new 
iValue str_to_num(value)
    
    if(
iValue 125)
        
server_cmd("kick #%d for having illegal fps value !"get_user_userid(id))

thanks for helping butt what if player changed that value inside server like bypassing entry by using defaut value and then after entry use that command again.
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 01-22-2019 , 13:53   Re: cl filterstuff check
Reply With Quote #18

Quote:
Originally Posted by Sanjay Singh View Post
thanks for helping butt what if player changed that value inside server like bypassing entry by using defaut value and then after entry use that command again.
Do a trick

PHP Code:
#include <amxmodx>

#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""

#define TASKID 1996

public plugin_init()
    
register_plugin(PLUGINVERSIONAUTHOR)

public 
client_putinserver(id)
{
    if(!
is_user_bot(id) || !is_user_hltv(id))
    {
        
query_client_cvar(id"fps_max""Cvar_Result")
        
set_task(5.0"Observer"id TASKID, .flags "b")
    }
}
    
public 
Cvar_Result(id, const cvar[], const value[]) 

    new 
iValue str_to_num(value)
        
    if(
iValue 125)
        
server_cmd("kick #%d for having illegal fps value !"get_user_userid(id))
}

public 
Observer(TaskId)
{
    new 
id TaskId TASKID
    query_client_cvar
(id"fps_max""Cvar_Result")
}

public 
client_disconnect(id)
{
    
remove_task(TASKID id)

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
raizo11
BANNED
Join Date: Dec 2013
Location: https://t.me/pump_upp
Old 01-22-2019 , 14:04   Re: cl filterstuff check
Reply With Quote #19

this is the best way https://forums.alliedmods.net/showthread.php?t=170020

Becouse 80% use protectors and you can not detect their settings
raizo11 is offline
Send a message via ICQ to raizo11 Send a message via AIM to raizo11 Send a message via MSN to raizo11 Send a message via Yahoo to raizo11 Send a message via Skype™ to raizo11
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 07:30.


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