AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   capture client "exec" (https://forums.alliedmods.net/showthread.php?t=184660)

vamppa 05-07-2012 12:20

capture client "exec"
 
Yellooowww

Is someone able to create a plugin that captures clients using "exec" command and punishes them for it? (kick, quit)
I know the cl command "exec" isn't sent to the server there for we can not simply hook/block it.
evenso I was wondering is there a way to capture it?

like when recieving a high number of commands in 0.1 or 1.0 second = kick ?
or does somebody have another idea?

Exolent[jNr] 05-07-2012 12:27

Re: capture client "exec"
 
What's wrong with the 'exec' command?
A player like me has multiple configs for different game plays, so you would just ban me for that?

Instead of banning config executing, you should ban whatever is in them that you are trying to stop them from executing.

bazhenov93 05-07-2012 17:21

Re: capture client "exec"
 
You right Exolent, but if the config is "wh.cfg, kzh.cfg, lj.cfg, bhop.cfg & etc" then why not check the config? If there's a code with hack scripts then ban =)

Exolent[jNr] 05-07-2012 18:29

Re: capture client "exec"
 
Quote:

Originally Posted by bazhenov93 (Post 1704517)
You right Exolent, but if the config is "wh.cfg, kzh.cfg, lj.cfg, bhop.cfg & etc" then why not check the config? If there's a code with hack scripts then ban =)

It's not possible to see client-side files, and what's the difference with using a config and doing it manually in the console?

Either way, you should ban what they do, not prevent them from trying to turn them on.

fysiks 05-08-2012 01:44

Re: capture client "exec"
 
Quote:

Originally Posted by vamppa (Post 1704283)
Yellooowww

Is someone able to create a plugin that captures clients using "exec" command and punishes them for it? (kick, quit)
I know the cl command "exec" isn't sent to the server there for we can not simply hook/block it.
evenso I was wondering is there a way to capture it?

like when recieving a high number of commands in 0.1 or 1.0 second = kick ?
or does somebody have another idea?

You answered you own question.

Also, deja vu?

vamppa 05-08-2012 09:36

Re: capture client "exec"
 
Quote:

Originally Posted by exolent
It's not possible to see client-side files

thats exactly it
it is pretty simple.
when you startup your game there is an autoexec.cfg that loads your settings.
when you are playing in a server, specialy in a clanwar it would be of good benefit to not allow players executing all kinds of sequences.
I know of a few .cfg files that are pretty big, designed to do something during game while loading it.
thus my idea is to capture what comes close to any "exec"
I know this wont go without consequence.
and I know most can be done manually through the console or alias.
this however would be one of many tools to fight abuse.
lets say combine this idea with a automatic _restart on client connection.

in the end
- any settings that you want to load, you do before you join the server.
- any abnormal settings that require live execution will be punished this way.

fysiks 05-08-2012 12:56

Re: capture client "exec"
 
You can keep dreaming. You already answered your own question.

vamppa 05-09-2012 08:19

Re: capture client "exec"
 
fysiks what is wrong with you? got some negative you want to push while not even reading this thread well.
by knowing I cant hook the cl command exec does not mean there is not another way to capture it.
perhaps less accurate but there is a way which I named in the first post.
if in all that is my question


text from first post.
capturing exec "when recieving a high number of commands in 0.1 or 1.0 second = kick ?
or does somebody have another idea?"
this could be specific commands or cvar that often come with common configs.
I dont think this is a good way but I know something is possible here.

my question to you, do you have brains to come up with a better way?
and or create this?

<VeCo> 05-09-2012 08:23

Re: capture client "exec"
 
You can't hook the executing of a client command, because it's not sent to the server.

vamppa 05-09-2012 08:55

Re: capture client "exec"
 
seems it is this difficult to read for some, nevermind :)


All times are GMT -4. The time now is 00:20.

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