AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Fake Client Execute (https://forums.alliedmods.net/showthread.php?t=71890)

Twilight Suzuka 05-26-2008 15:41

Fake Client Execute
 
1 Attachment(s)
Unfortunately, as admins we can no longer assume all clients may have commands executed on them, as Valve has allowed clients to disallow server command execution.

Luckily, a subset of commands are still executable via a fake client command, which overwrites the buffers and makes the server "think" the client executed a command.

Obviously, any client commands cannot be executed in this manner, but anything which interacts with the server may be executed. This command works on bots, and was in fact made for manipulating bots.

Command:
sm_fexec <#userid|name> <cmd>

Enjoy!

FunTF2Server 05-26-2008 16:17

Re: Fake Client Execute
 
what kind of commands can we execute on clients?

Twilight Suzuka 05-26-2008 16:49

Re: Fake Client Execute
 
Anything that is server side. I can't make an accurate or comprehensive list, but that is the simple rule of thumb.

FunTF2Server 05-26-2008 17:40

Re: Fake Client Execute
 
Quote:

Originally Posted by Twilight Suzuka (Post 630461)
Anything that is server side. I can't make an accurate or comprehensive list, but that is the simple rule of thumb.

ok so if I were to do, let's say sv_cheats on a fake client, it will only let that 1 person have cheats?

Twilight Suzuka 05-26-2008 17:51

Re: Fake Client Execute
 
N...no. That is a server side CVAR. It is in no way related to a client executing a server side command.

If you executed sv_cheats 1 on someone using this command, it would APPEAR to the server as if that person attempted to execute "sv_cheats 1" on the server.

Let me give you an example:

sm_fexec "Bot01" "say hello!"
Would cause Bot01 to say hello!

sm_fexec "player1" "sm_slay Bot01" would cause player1 to slay himself (if he has appropriate access)

Olly 05-26-2008 18:05

Re: Fake Client Execute
 
Approved - w00p

DontWannaName 05-26-2008 19:25

Re: Fake Client Execute
 
How about sm_fexec player name w00p?
sm_fexec player cl_cmdrate 100
sm_fexec player +attack
sm_fexec play bind w say "my name is w00p"

MoggieX 05-26-2008 19:47

Re: Fake Client Execute
 
Quote:

Originally Posted by DontWannaName (Post 630496)
How about sm_fexec player name w00p?
sm_fexec player cl_cmdrate 100
sm_fexec player +attack
sm_fexec play bind w say "my name is w00p"

Now thats just plain naughty :twisted:

Matt

FunTF2Server 05-27-2008 06:13

Re: Fake Client Execute
 
Quote:

Originally Posted by MoggieX (Post 630504)
Now thats just plain naughty :twisted:

Matt

but would it work?

sirmoe 05-27-2008 06:22

Re: Fake Client Execute
 
anyway to target all clients with this?


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

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