Jump to content

Featured Replies

Posted

I have my own server and was wondering how would I go about executing configs on a client PC so I can screw with their binds/cs settings. I use amxmodx if that helps. I heard there was some plugin that could do this but amxmodx forums prohibit the discussion of it. I don't want to have to type in amx_exec clientname "command" a ton of times to change all the settings I want. Any help? PS. This is for a CS 1.6 server.

 

Edit:

 

I saw this post

 

this is used when you have admin on a server that allows you to execute commands for a client

save them into a .cfg and run it when you want to screw somebody up

its kind of short right now

 

Code:

 

admin_execclient "namehere" "unbindall wait; wait; wait; wait; wait;" admin_execclient "namehere" "unbind `; wait; wait; wait; wait; wait;" admin_execclient "namehere" "bind uparrow exit; wait; wait; wait; wait; wait;" admin_execclient "namehere" "fps_max 1; wait; wait; wait; wait; wait;" admin_execclient "namehere" "bind mouse1 exit; wait; wait; wait; wait; wait;" admin_execclient "namehere" "m_accel 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 999999999999999999999999999999999999999999999999; wait; wait; wait; wait; wait;" admin_execclient "namehere" "sensitivity 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999999999999999999999; wait; wait; wait; wait; wait;" admin_execclient "namehere" "bind ` cl_timeout fucker; wait; wait; wait; wait; wait;" admin_execclient "namehere" "cl_timeout fucker;"

 

 

any ideas for improvement?

 

But that would mean if someone comes in I'd have to go out of cs, replace the "namehere" to the person's name, then execute it?

Did you even try looking for the plugin?

 

http://www.amxmodx.org/forums/viewtopic.php?p=3612

 

To use it, all you do is type:

 

amx_execclient "The persons name you want to do stuff too here" "A whole bunch of console commands."

 

There are tons of things you can do with this like, unbind all keys, make them take an infinite amount of screenshots, make them take a demo from the point they start playing till when they leave (Could be hours if your server is popular), your choices are pretty much endless.

  • Author

Thanks for your reply but actually I decided to write my own amxmodx plugin to do it. Heres what I got so far:

 

developer 1

unbindall

unbind '

hud_capturemouse 0

hud_draw 0

hud_saytext_time 0

con_color \'0 0 0\'

fps_max 1

fps_modem 1

rate 1

crosshair 0

cl_updaterate 1

cl_cmdrate 1

cl_hidefrags 1

cl_righthand 0

cl_pitchup 1

cl_pitchdown 1

cl_pitchspeed 1

cl_yawspeed 1

cl_crosshair_color \'50 250 50\'

gl_cull 0

gl_flipmatrix 1

nosound 1

hideradar

m_accel 99999999999999999999999

sensitivity 99999999999999999

violence_ablood 0

clear

name \'I FUCKED WITH THE WRONG ADMIN\'

bind w +back

bind s +forward

bind a +right

bind d +left

bind mouse1 kill

bind y \'say I GOT PWNED!!! OMG I'M SORRY!\'

say I GOT PWNED! OMG OMG! IM SORRY!

alias m_pitch \'screenshot; wait; snapshot; wait\'

condump

cd eject

kill

 

If there's something in there that you think is pointless please tell me. Also if there is something that could be added that would be great too. I am also planning on having it write the config to autoexec.cfg

  • Author
it seems as one of the commands will kick a player after all the others are executed... do any of you know which one it would be and why..? thx
it seems as one of the commands will kick a player after all the others are executed... do any of you know which one it would be and why..? thx

 

Could you clarify that a little? Are you saying that it executes like half of the commands you listed, then it automatically kicks the player?

  • Author
Could you clarify that a little? Are you saying that it executes like half of the commands you listed, then it automatically kicks the player?

 

It actually executes all the commands before kicking the player. I've tried removing some of the last commands (besides cd eject and kill) but the player is still kicked. I tested it on a friend (after having him backup his config) and his CD drive did eject with all the commands there.

 

The reason I want the player to stay connected is so everyone in the server can have a laugh and I can screw around with him some more =)

 

What command would cause a player to be kicked after a short delay? Maybe one of the rates? Or maybe from the combination of commands being executed in such a short period of time?

It's probably either one of the rate commands, fps commands, or gl commands. I'm too tired to test all of them, or think properly for that matter.
  • Author
I tried all of them manually but none of them kicks me out of the server... I'm thinking maybe from executing all these client commands so fast may be kicking the client?
ADD THE SCREENSHOT TAKER! I did it to my friend to test on my dad's 6 GB shitty computer and I did it. The computer sucked so it basicly filled up his harddrive. Of course this is controlled experiments. I did it to my 'normal high performance computer' and of course with added with some commands like slow fps and alot of things then it will take a while to minimize cs and close it. It did lag my computer when using the list of things that someone posted and stuff so it took me a while to exit cs because my computer was slowed by the infinate screeenshots as well. Think of it as infinately copying like 4 files at a time and making it really laggy o.o
ADD THE SCREENSHOT TAKER! I did it to my friend to test on my dad's 6 GB shitty computer and I did it. The computer sucked so it basicly filled up his harddrive. Of course this is controlled experiments. I did it to my 'normal high performance computer' and of course with added with some commands like slow fps and alot of things then it will take a while to minimize cs and close it. It did lag my computer when using the list of things that someone posted and stuff so it took me a while to exit cs because my computer was slowed by the infinate screeenshots as well. Think of it as infinately copying like 4 files at a time and making it really laggy o.o

 

You can accomplish something like that with exec client.

 

alias m_pitch "screenshot; wait; snapshot; wait"

 

It propably won't lag them out (havn't tested it) and it takes a screenshot and a snapshot 3 times a second.

heehe that owns. all i need now is an rcon pass cracker. if only they existed e.e

 

Offtopic: HOLYSHIT. I just tried this fake SteamDown2 and it shut down my computer immediately and I was afraid it screwed EVERYTJOJG up. anyways it just shut it down in like 1 sec o.o. yayyy. :lmfao:

Guest
This topic is now closed to further replies.