Thanks for the fast reply. I forgot to mention, this is a L4D2 server.
- Get a clean server.
- Install sourcemod, latest Downtown with 11 slots, latest sockets, latest sdk hooks. Install confogl but do not run it. Just vanilla. There is nothing special in server.cfg.
- Install the core+command module.
- I wanted the commands to be blocked only, so i set smac_antispam_cmds to 0.
Well, restart your server and try to lag it.
I could do it without problems, tho i see the commands in the block list, the first part of the source code.
At first, before i even installed the server,
i merged a few modules together in one plugin:
Quote:
Core (as the base to put the other plugins in)
AutoTrigger detection
Command
Cvar Protection
Eye Angles Test
Rcon Protection
Anti Speedhack
|
(
see attachment for the final result i used on my server).
I used the source of the release version, latest includes. It compiled without warnings or errors from the second try, as i fixed a few mistakes i did.
The final result loaded totally fine, but it was late, so i decided not to check for anything except lag commands, because i have them bound to a key. I also changed the "true" parameter on ban action to "false" (in the command module) so it would just block them.
The commands worked.
I thought i merge plugins like a ****, so i thought i would give the compiled version from the sticky post a try. Before doing so, i did not remove the auto-generated cfg file, as it had the needed settings already. I restarted the server, and i could still lag it.
As the last thing, i removed myself from admins, as i thought this could give me immunity (i didn't read the source code, it was faster to remove myself and reboot) but still the same.
PS: The plugin is loading and shows up under loaded plugins, no error logs (i had some before related to an extra quotation sign in the admin file), so the logs work, but SMAC isn't giving me any errors.