Raised This Month: $ Target: $400
 0% 

ForgiveTK


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-22-2005 , 19:32   ForgiveTK
Reply With Quote #1

This plugin adds a simple TK system to any source server, so players can forgive teamkills & teamattacks.
TK/TA can be forgiven either via a menu or via chat

Usage:
say /forgivetk ( Forgives the latest team kill )
say /forgiveta ( Forgives the latest team attack )
say /tacount - Shows you your current TA / TK count
say /tkcount - Shows you your current TA / TK count

Credits:
Copyright (C) 2004-2007 Erling K. Sæterdal
Menu code based on code from CSDM ( http://www.tcwonline.org/~dvander/cssdm ) Created by BAILOPAN
Adminloading function from Xaphan ( http://forums.alliedmods.net/showthread.php?p=333756 ) Created by Devicenull
Helping on misc errors/functions: BAILOPAN,sslice,devicenull,PMOnoTo,cybermind ( most who idle in #sourcemod on GameSurge realy )


Download 1.2.4
Download source


Changelog
Quote:
1.2.4
- Removed sound prechancing.

FTK 1.2.1
- Added: Better ins mod support

FTK 1.2.0
- Added: Betteroffset scanner to change players health
- Fixed: Plugin not removing hooks to all events correctly (Valve magic)
- Changed: ALOT of code to make plugin simpler to maintain
- Changed: Alot of others things to, but i forget

FTK 1.1.10
- Changed: Now requires sourcemm 1.4.x

FTK 1.1.9
- Fixed: Potensial crash regarding executing config files

FTK 1.1.8
- Added: cvar ftk_admininterface to enable or disable use of the AdminInterface in this plugin
- Added: Plugin should now the admin immunity right if its not connected to BAT ( class: ForgiveTK, access flag: immunity )
- Changed: Plugin now uses AdminInterface 1

FTK 1.1.7
- Added: Support for slaying again
- Changed: Some other things, dont know what

FTK 1.1.6
- Fixed: Plugin now able to change HP of players in DoD S
- Removed: Slap like effect ( may come back, but requires a sig scanner )

FTK 1.1.5
- Added: Plugin now has CVAR callbacks, meaning cvar changes to: ftk_teamattackcount,ftk_teamkillcount,ftk_opt ion,ftk_punishoption take effect instantly.
- Added: Plugin now uses diffrent Event catches ( Idea by BAILOPAN ) , meaning plugin should use less cpu as less string comparisons are required

FTK 1.1.4
- Added: say /tkcount | say /tacount - Shows the player his current TA / TK count
- Fixed: the 1.1.3 Release was screwed somehow. So all changes listed in changelog may not have made it to the public

FTK 1.1.3
- Added: ESC based menus
- Added: Support for AdminInterface ( Makes admins with "immunity" flag immune to being kicked / banned )
- Fixed: Posible crash on showig forgive tK text
- Fixed: On Getting punishing players that where being disconnected
- Changed: Parts of the code to make it more crash proof

Last edited by EKS; 06-28-2008 at 07:37.
EKS is offline
Opossum
Senior Member
Join Date: Dec 2004
Location: weedcheaters.com
Old 12-22-2005 , 20:26  
Reply With Quote #2

nice, just one question: mp_tkpunish 0 or 1 in combination with this?
__________________
194.126.237.23:27015

194.126.237.23:27015
Opossum is offline
Send a message via ICQ to Opossum Send a message via AIM to Opossum Send a message via MSN to Opossum Send a message via Yahoo to Opossum
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-22-2005 , 20:43  
Reply With Quote #3

Quote:
Originally Posted by Opossum
nice, just one question: mp_tkpunish 0 or 1 in combination with this?
Off
EKS is offline
andre31
Junior Member
Join Date: Dec 2005
Old 12-28-2005 , 03:04  
Reply With Quote #4

oh you beautiful man you , been waiting on something nice and simple like this for source. will try it out on a dods server today.

just 1 question what happens, if i set the plugin to the manual command option and the max amount of unforgiven tks to 5, what happens to the player who makes 5 unforgiven tk's? is it a kick, ban or a slay
andre31 is offline
andre31
Junior Member
Join Date: Dec 2005
Old 12-28-2005 , 03:56  
Reply With Quote #5

get error message

cminterface.cpp (531] : Assertion Failed: NULL != m_hConnection

and vac doesn't run

when i install the plugin and add the correct line to metaplugin.ini.

when i edit out the line server starts up fine and vac is enbaled

windows 2003 server, with latest BAT admin and sourcemm 1.1.2
andre31 is offline
Monkwarrior
Junior Member
Join Date: Oct 2005
Location: Holland
Old 12-28-2005 , 05:45  
Reply With Quote #6

Damn, I am coding something like this for mattie
Several questions:
1) could you make the forgive string variable, so servers can set their own forgive string. I have always been using "np" as forgive string: most players are too lazy to type forgivetk, so let's make it easy for them to forgive.
2) are players kicked or banned and for how long ? (variables ?)
3) It would be nice to have admins excluded from being kicked/banned, so adding a small list of steamID's for admins would be a nice-to-have I guess

Thanks EKS, great work.
It's all about forgiving not punishing

Monk.
Monkwarrior is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-28-2005 , 12:47  
Reply With Quote #7

@andre31
I havent tested it on dod, but i will when i come home on the 30th.

Il look at adding a command for a custom text.

If a player reaches max TK count, he gets kicked. I can add a temp ban to it if its wanted
EKS is offline
andre31
Junior Member
Join Date: Dec 2005
Old 12-28-2005 , 13:58  
Reply With Quote #8

for some wierd reason the plugin loads fne it just disables vac. a 2 min temp ban would be perfect, also a little bit of text linked to server name displayed, in console of banned player, so i can add forums url so that a player can post to be unbanned. we keep a hlsw player mdb of past infractions so its easier to come to a decision on whether or not to unban
andre31 is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-28-2005 , 14:16  
Reply With Quote #9

Quote:
Originally Posted by andre31
for some wierd reason the plugin loads fne it just disables vac. a 2 min temp ban would be perfect, also a little bit of text linked to server name displayed, in console of banned player, so i can add forums url so that a player can post to be unbanned. we keep a hlsw player mdb of past infractions so its easier to come to a decision on whether or not to unban
Thats realy odd about VAC, il test this when i get home.
You want a log of the players kicked ? And there is a real limit in how much information can be shown to the client when he is kicked, priting in console migh be futile as all players may not have it open
EKS is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 12-28-2005 , 16:21  
Reply With Quote #10

Quote:
Originally Posted by andre31
for some wierd reason the plugin loads fne it just disables vac. a 2 min temp ban would be perfect, also a little bit of text linked to server name displayed, in console of banned player, so i can add forums url so that a player can post to be unbanned. we keep a hlsw player mdb of past infractions so its easier to come to a decision on whether or not to unban
I hear that servers are having problems staying in secure mode due to a Valve problem. This probably doesn't have any thing to do with the plugin.
L. Duke 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 17:26.


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