Anti-TK Manager (Version 1.1.3 / Updated January 19 2011)
7 Attachment(s)
Anti-TK Manager
This plugin was originally inspired off FlyingMongoose's "ATAC Control" a number of you people probably already know of ATAC from the AMXModX days and then SourceMod as well. We were having a number of problems with the SourceMod version and when reading through the code and trying to understand what was going on got so confused at excess/redundant code. At that point I decided to make a new Anti-TK plugin that worked with the mod I was interested in at the time Zombie Panic Source. I decided to go with a different approach, rather than re-invent the wheel, I utilized the current funcommand methods for my punishments. I believe this plugin has very clean code but a lot of features are not fully completed/implemented and I would like some community feedback before I continue. I have spoken to FlyingMongoose and he is happy to also help with this plugin and his ATAC can be found here http://forums.alliedmods.net/showthread.php?p=479235. I am not sure what versions of SourceMod this requires have not tested it with lower versions. I have created cvars and compile options to disable features. If you disable through the compile variables it will decrease the code/plugin size. let me know what you are looking for and would like to see. Information This plugin has been designed to handle Anti-TK players. It currently contains a small subset of the features of ATAC however most of the code is there and the rest should be easy to add. If there is a feature you are looking for let me know. I am currently aware that if a TK'er dies when TK'ing you, and you punish them while they are dead I believe they will not get punished. But please report any abnormalities you find. Requirements SourceMod v1.3.1+ For SourceBans support you need the following: You need to compile the plugin manually with the sourcebans.inc as per the compile instructions above. You need to be running the latest SVN version of the SourceMod SourceBans plugin so we can detect the plugin properly as we are using new features. Currently you need to manually compile the latest version of the plugin from: http://code.google.com/p/sourcebans/source/browse/#svn/trunk/game_upload/addons/sourcemod/scripting%3Fstate%3Dclosed Installation Details Download the "antitk.phrases.txt" translation file and save to your addons\sourcemod\translations directory. Pre-compiled: Download the "antitk.smx" and save to your addons\sourcemod\plugins directory. This version does not have SourceBans support. Self-Compile: Download the "antitk.sp" and save to your addons\sourcemod\scripting directory. Create a directory called "antitk" in the "scripting" folder so you have the following addons\sourcemod\scripting\antitk Download the "funcommands.sp" and save to the addons\sourcemod\scripting\antitk directory you just created. Download the "keyvalues.sp" and save to the addons\sourcemod\scripting\antitk directory. Code:
If you want SourceBans support and have SourceBans running: Code:
To Compile with Debug Enabled: Server ConVars
* See the antitk.changelog.txt for old version information.
Please let me know if you experience any issues or problems. Other plugins made by me: AFK Manager (Any Mod): http://forums.alliedmods.net/showthread.php?p=708265 |
Re: Anti-TK Manager
Quote:
|
Re: Anti-TK Manager
What's tsunami is saying is...you are reinventing the wheel...just polishing it up ;).
|
Re: Anti-TK Manager
Quote:
Now back on-topic, people can feel free to test and provide feedback :) |
Re: Anti-TK Manager
Well, after sifting through your source, I'll approve it.
|
Re: Anti-TK Manager
New Version 1.0.4 Released.
|
Re: Anti-TK Manager
Any help would be appreciated!
Running latest Insurgency server with 1.1.0-dev SM L 11/26/2008 - 11:55:51: [SM] Native "GetConVarBool" reported: Invalid convar handle 0 (error 4) L 11/26/2008 - 11:55:51: [SM] Displaying call stack trace for plugin "antitk.smx": L 11/26/2008 - 11:55:51: [SM] [0] Line 468, antitk.sp::(null)() L 11/26/2008 - 11:55:51: [SM] [1] Line 370, antitk.sp::(null)() L 11/26/2008 - 11:56:05: [SM] Native "GetConVarBool" reported: Invalid convar handle 0 (error 4) L 11/26/2008 - 11:56:05: [SM] Displaying call stack trace for plugin "antitk.smx": L 11/26/2008 - 11:56:05: [SM] [0] Line 468, antitk.sp::(null)() L 11/26/2008 - 11:56:05: [SM] [1] Line 370, antitk.sp::(null)() |
Re: Anti-TK Manager
Quote:
If so did you modify any of the options in the antitk.sp before compiling? Which cvars are you running? Thanks. |
Re: Anti-TK Manager
I simply got the .smx from the first page. I've never compiled a plugin before, althou i assume it's fairly easy espically if the tools to do it are included with SM. So no, i didn't mod any options in the .sp
http://i38.tinypic.com/28mcsoy.png Pretty much i know funcomands beacon and blind work in Insurgency(not alot of things do). So i just want people to have those options to choose from, None of the other options. I want people banned for 60 minutes after they tk'ed 4 times. I think i get those errors when there is a tk, mirror damage works, or the killer is killed by the person he kiills(if they are on the same team) so that works, but nothing is prompting users for punishments or anything. |
Re: Anti-TK Manager
1 Attachment(s)
Hmm I think I see a flaw in my include structure, it seems that since it includes the other file the line numbers are looking wrong...
At least I can't seem to trace down the line number, can you try this version? Also the Ban time is currently in seconds, so you will need to multiply that number by 60. Can you also give me an output of "sm version" and maybe try updating SourceMod? I don't see how you are receiving this error even though the lines aren't matching. |
All times are GMT -4. The time now is 07:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.