AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   TS Script block (https://forums.alliedmods.net/showthread.php?t=6835)

EKS 10-16-2004 08:55

TS Script block
 
1 Attachment(s)
This plugin is designed to making scripts in TS harder to make and less effective. It will NOT competly block
"cheat" script nor prevent them from working. For that to happen it requires a client side part period.
It can also block keyboard viewing commands and so called "dobble fire" where both
+attack and +attack2 is used at once (When a player does this, only the first attack is vaild, (If both where pressed at the same exact time
then only +attack happens.) But remember the client prediction code will still show a client side effect)

THIS PLUGIN REQUIRES THE ENGINE MODULE

Now that cvar blocking has been removed ( as it no longer works ) valve added a even more powerfull system. This system can be used via another plugin i have posted, or you can use the one made by PM thats even more powerfull but a bit more complex to setup.
My cvar checker: Link
My PM`s checker: Link

FAQ
Q) What sort of issues will blocking keyboard movement make?
A) If someone uses the keyboard to look with ( basicly bind a +left, instead of the normal bind a +stafeleft) they will not be albe to do this.
Personaly i dont think anyone still uses the keyboard to look with, and blocking these commands is proberbly most effective against scripts

Q) What sort of issues will blocking cvars make?
A) None i can think off unless they using keyboard to look with. And need to change the cvar often(Witch in effect would be like changing the sensitivity cvar while playing)

Q) What sort of isses will blocking "dual attack" make?
A) Blocking this might piss alot of ppl off, but other then that.

Q) XXXX is in the logs and tried to do XXXX, should i ban him?
A) Thats your choice, but remember that the client tried to change cl_pitchspeed, could be something as stupid has him having cl_pitchspeed X in his config.cfg ( For some reason )

Q) My logs get spammed by XX used XXX like 100 times
A) The logs are writen for every time the user is doing it, that means if i do +left in the console. And the server is running at 100fps this it gets logged 100times a sec

Q) Why does ppl that use +left / +right get slaped?
A) Since there is not simple way to block the effect, we instead have to slap the user. So stop the players from abusing it, they get slapped with damange

Q) Does this plugin use alot of CPU?
A) No.

Q) Cant you just block scripts that include +attack?
A) no, not without a client side modifikation.

Q) I found a script that this plugin does not "block" can you please update the plugin?
A) I might, if you pm the script to me via either the TS boards or AMXX boards ( My name on them is EKS )

Installing the plugin:
1)Install the plugin like any other
2)Make sure the engine module is running
3)add sv_scriptblock / sv_script to amxx.cfg ( Remember cvars will only be checked on map restart)

sv_script 3 // 0 = Loging and echo disabled | 1 = Logs when someone is doing something restriced by the plugin | 2 = Echos when someone is doing something thats restriced | 3 = echo and log
sv_scriptblock 11

// Add the vaules together. (everything is 15 )
1 = Block keyboard looking // This is by far the thing thats gonna mess up most scripts
2 = Block holding both attack1 and 2 // Blocking players +attack and +attack2 at the same time
8 = Punish players using +left +right ( Since the plugin does not have a way to block the effect, we just slap the user instead)

Credits:
Twilight Suzuka <-> For example scripts & help
Ops in #AMXmod @ Quakenet for alot of help ( + AssKicker & CheesyPeteza )

Changelog
1.0.0 (16.10-2004)
- First version

FroXeN 12-23-2004 15:57

hoping people will learn scripting to the extreme can be cheating ^_^

CentaurChester 02-15-2005 08:32

Hey There
I use this plugin on our Server along with HLGaurd and Cheating Death.
Its helped quit a bit.

But sometime when I turn the gravity down just for fun.
Iv caught player useing the arrow keys as of way to a) get out the way
or b) to get to higher area of the map.

I'm just wondering. Is there a way to change it so instead slaping
them it just slays them?

so like Amx_slay2 (name) 2 (lighting bolt one)

Just wondering.. But Thanks for the plugin :)

EKS 02-16-2005 20:20

offcourse you can.

1) download the .sma
2) Search for "user_slap(id,10)" and replace with "user_kill(id)
3) Compile the .sma into a .amxx and its working

Woody56 02-17-2005 20:01

Quote:

Originally Posted by EKS
offcourse you can.

1) download the .sma
2) Search for "user_slap(id,10)" and replace with "user_kill(id)
3) Compile the .sma into a .amxx and its working

Kewl...SO how could i use max_rocket vs slap ?

http://forums.alliedmods.net/showthread.php?t=520

EKS 02-18-2005 07:02

Thats more complex, since you then need to get the player nick or using callfunc

Vague 04-19-2005 14:31

Hi, I've been looking around for awhile and I can't seem to figure out what the FOV does in the game that could be a potential hack threat?



public Used_Fov(id)
{
if(g_BlockCheck[id] == 1) return PLUGIN_CONTINUE

EchoAbuse(id,"has tried to change fov")
Write2Log(id,"has tried to change fov")
return PLUGIN_HANDLED
}


How would changing the FOV benefit some one?

What is YawSpeed as well..? Basically what I'm getting to is that, I'm just checking out what some of this stuff does so I can write a few script detection scripts that work to my custom preference. Thanks.

EKS 04-20-2005 17:48

fov == Field of View , if you increase it, you can potensialy see everything around you.

The other things are used to block scripting commands. Or block the changing of their cvars.
Im not going to go into what each cvar / command can be used for

Vague 04-20-2005 21:38

Quote:

Originally Posted by EKS
fov == Field of View , if you increase it, you can potensialy see everything around you.

The other things are used to block scripting commands. Or block the changing of their cvars.
Im not going to go into what each cvar / command can be used for

I understand what it does, but how could that benefit some one. How is that..hackish like? Your screen doesn't change or anything..?

EKS 04-21-2005 13:37

well, assuming the TS fov is 90 degrees, i could change it to 150 degrees. I would see 60 degrees more then every else.

I think this bug/exploit was fixed in TS. But i included code to block it anyways


All times are GMT -4. The time now is 03:19.

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