Raised This Month: $95 Target: $400
 23% 

TS Script block


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   DS (30)
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 10-16-2004 , 09:55   TS Script block
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (ts_scriptblock.sma - 2592 views - 7.9 KB)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.

Last edited by EKS; 06-26-2006 at 11:20.
EKS is offline
FroXeN
Senior Member
Join Date: Apr 2004
Location: Freecode is a loser.
Old 12-23-2004 , 16:57  
Reply With Quote #2

hoping people will learn scripting to the extreme can be cheating ^_^
__________________
Looking for friends!!!

http://Ms-Proxy.Com Join the fun!
FroXeN is offline
Send a message via ICQ to FroXeN
CentaurChester
Junior Member
Join Date: Nov 2004
Location: Calgary Ab Canada
Old 02-15-2005 , 09:32  
Reply With Quote #3

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
__________________
-CentaurChester-
http://68.145.169.87/
Admin for CC's Calgary CS Server
CentaurChester is offline
Send a message via MSN to CentaurChester Send a message via Yahoo to CentaurChester
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 02-16-2005 , 21:20  
Reply With Quote #4

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
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Woody56
Junior Member
Join Date: Oct 2004
Old 02-17-2005 , 21:01  
Reply With Quote #5

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
Woody56 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 02-18-2005 , 08:02  
Reply With Quote #6

Thats more complex, since you then need to get the player nick or using callfunc
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Vague
Junior Member
Join Date: Apr 2005
Old 04-19-2005 , 15:31  
Reply With Quote #7

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.
Vague is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 04-20-2005 , 18:48  
Reply With Quote #8

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
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Vague
Junior Member
Join Date: Apr 2005
Old 04-20-2005 , 22:38  
Reply With Quote #9

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..?
Vague is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 04-21-2005 , 14:37  
Reply With Quote #10

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
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
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 14:28.


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