AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Scortched Earth (https://forums.alliedmods.net/showthread.php?t=98262)

devicenull 07-24-2009 01:32

Scortched Earth
 
2 Attachment(s)
This plugin will disable (add the cheats flag to) all commands that have been determined to be largely unneeded. This is done since at this point maintaining a list of "bad" commands has become useless.

There's a few exceptions, other then the command list: Any commands beginning with the following will be ignored:
ma_
mani_
sm_
es_

This may break other plugins, specifically those dependent on executing commands
This was only designed with CSS/DODS/TF2 servers in mind. Using it on other games may be a bad idea

There is no configuration variables available for this.

Please let me know of any commands you feel should be added to the whitelist.

DontWannaName 07-24-2009 03:09

Re: Scortched Earth
 
Shouldnt you allow people to change their rates?

devicenull 07-24-2009 13:35

Re: Scortched Earth
 
Quote:

Originally Posted by DontWannaName (Post 880365)
Shouldnt you allow people to change their rates?

This is only commands that exist on the server. All the rate commands should be uneffected.

Stinkyfax 07-31-2009 15:34

Re: Scortched Earth
 
Can't use cheat cvar sm_show_activity in multiplayer, unless the server has sv_c
heats set to 1.
Can't use cheat cvar sm_menu_sounds in multiplayer, unless the server has sv_che
ats set to 1.
Can't use cheat cvar sm_vote_delay in multiplayer, unless the server has sv_chea
ts set to 1.
Can't use cheat cvar sm_datetime_format in multiplayer, unless the server has sv
_cheats set to 1.
and so on.... :(

Stinkyfax 07-31-2009 15:44

Re: Scortched Earth
 
if (StrContains(curCmd,prefixlist[i],false))

Returns -1 on fail and index on succ.
The fun thing is that 0 is false for SM while all the sm_ have index 0 of substring "sm_"... change to if (... >= 0)

Stinkyfax 07-31-2009 15:51

Re: Scortched Earth
 
found another reason it fails...
the "continue" in condition is adressed to for loop, not while.

P.S. now it works, finally :)

M.I.A. 09-06-2009 07:24

Re: Scortched Earth
 
Hello.

I would like to comment that this may in fact be the best exploit blocking plugin ever made and avaliavble. I am shocked only 2 severs (counting mine LOL) are using it.

I recommend this to heavily targeted popular servers server owners.

This is a script I imagined thinking for why my server was crashing.. I later found out, it exists.

I now would like to find out if running this with other command blockers causes conflicts and are command blockers even actually needed except for mani/SM commands.

please confirm devicenull that you just ended 99.9% of HLS exploits Or are their still some fancy valve developer commands that cans till be used to harm the server. only he knows the answer.

rautamiekka 11-21-2009 00:43

Re: Scortched Earth
 
Quote:

Originally Posted by M.I.A. (Post 924721)
Hello.

I would like to comment that this may in fact be the best exploit blocking plugin ever made and avaliavble. I am shocked only 2 severs (counting mine LOL) are using it.

I recommend this to heavily targeted popular servers server owners.

This is a script I imagined thinking for why my server was crashing.. I later found out, it exists.

I now would like to find out if running this with other command blockers causes conflicts and are command blockers even actually needed except for mani/SM commands.

please confirm devicenull that you just ended 99.9% of HLS exploits Or are their still some fancy valve developer commands that cans till be used to harm the server. only he knows the answer.

The inpopularity is due to the amount of heavy work required to make it work with everything you have on the Server. However I do see the point in your recommendation.

vertexshader 12-07-2009 10:14

Re: Scortched Earth
 
Devicenull, I sent u a mail with some crash problem :) Check it pls

Quote:

[SM] Native "GetConVarFlags" reported: Invalid convar handle 0 (error 4)
L 12/06/2009 - 16:01:39: [SM] Displaying call stack trace for plugin "scortchedearth.smx":
L 12/06/2009 - 16:01:39: [SM] [0] Line 332, /home/groups/alliedmodders/forums/files/7/2/46025.attach::OnPluginStart()
L 12/06/2009 - 16:10:55: [SM] Native "UnhookEvent" reported: Invalid hook callback specified for game event "bomb_planted"
L 12/06/2009 - 16:10:55: [SM] Displaying call stack trace for plugin "c4timer.smx":
L 12/06/2009 - 16:10:55: [SM] [0] Line 83, /home/groups/alliedmodders/forums/files/1/4/9/5/8/15254.attach::OnPluginEnd()
OS: Win 7 x64

Protocol version 7
Exe version 1.0.0.34 (cstrike)
Exe build: 12:47:15 Aug 26 2009 (3945)

Metamod:Source version 1.8.0-dev
Build ID: 670:daed02c52b13-dev
Loaded As: Valve Server Plugin
Compiled on: Oct 29 2009
Plugin interface version: 11:7
SourceHook version: 4:4

SourceMod Version: 1.3.0-dev
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.0-dev)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Nov 23 2009 05:42:21
Build ID: 2865:f3551d6b1300-dev

deadlyruler 01-21-2010 18:30

Re: Scortched Earth
 
Quote:

Originally Posted by Stinkyfax (Post 886829)
if (StrContains(curCmd,prefixlist[i],false))

Returns -1 on fail and index on succ.
The fun thing is that 0 is false for SM while all the sm_ have index 0 of substring "sm_"... change to if (... >= 0)

I really need this plugin working to keep my server from being exploited by crashers/hackers. Could you please show me the whole line after you replace it? So that I can change the source and get this working on my server.


All times are GMT -4. The time now is 08:40.

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