Raised This Month: $32 Target: $400
 8% 

Simple TK Manager v1.0d Updated 5/27/2011


Post New Thread Reply   
 
Thread Tools Display Modes
WaYne82
New Member
Join Date: May 2011
Old 05-26-2011 , 10:08   Re: Simple TK Manager v1.0b Updated 4/12/2009
Reply With Quote #451

Quote:
Originally Posted by Mr. Dead View Post
So I recently put this on my Gungame server, and I like it very much so far. But I have a problem where some people do not forgive people and they get no options to slay, slap, etc. I have it so admins are not immune, so I wouldn't think that would be the problem I don't think?
Same Problem here. Admins are not immune but some People get no Options menu ?!?!
WaYne82 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 05-26-2011 , 12:17   Re: Simple TK Manager v1.0b Updated 4/12/2009
Reply With Quote #452

Quote:
Originally Posted by deadbwoy View Post
I have found a couple errors, here are the fixes:
change lines 999-1002 from
Code:
                    else if(a == victim > 0 && (cvar == 2 || cvar == 3))
                        PrintToChat(victim, "[STK] %s", msg1);
                    else if(a == attacker > 0 && (cvar == 2 || cvar== 3))
                        PrintToChat(attacker, "[STK] %s", msg2);
to
Code:
                    else if(victim > 0 && victim == a && (cvar == 2 || cvar == 3))
                        PrintToChat(victim, "[STK] %s", msg1);
                    else if(attacker > 0 && attacker == a && (cvar == 2 || cvar== 3))
                        PrintToChat(attacker, "[STK] %s", msg2);
and in translations, under "Auto Forgave":
change the second "en" to "fr"

I had already fixed this on my local copy but forgot to upload the changes. Also, the > 0 is not even needed because it is compared with a which must be >= 1.

Thanks for pointing those out and fixing them though, =)

I've updated the first post with those fixes.

Quote:
Originally Posted by pantsy View Post
weird, is it possible to turn off auto dying, like when you kill a teammate you automatically die, i'd rather have it that you kill a teammate then they get to choose what they do to you???

there must be a cvar i'm not seeing
Is sm_stk_reflect set to 1?

Set it to 0.

Also, what is sm_stk_punishmode set to?

Quote:
Originally Posted by duydangle View Post
On the newest CS:S, I can't get it too work. There are only 2 options: Forgive or not, no slay, timebomb, ...

May you guys help me?
Quote:
Originally Posted by Mr. Dead View Post
So I recently put this on my Gungame server, and I like it very much so far. But I have a problem where some people do not forgive people and they get no options to slay, slap, etc. I have it so admins are not immune, so I wouldn't think that would be the problem I don't think?
Quote:
Originally Posted by WaYne82 View Post
Same Problem here. Admins are not immune but some People get no Options menu ?!?!
What is sm_stk_punishmode set to?
Are other punishments enabled? Check the cvars. Post your config file here so I can check it out.

Are there any errors in the logs?
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)

Last edited by Lebson506th; 05-26-2011 at 12:21.
Lebson506th is offline
WaYne82
New Member
Join Date: May 2011
Old 05-27-2011 , 06:56   Re: Simple TK Manager v1.0c Updated 5/26/2011
Reply With Quote #453

Code:
// This file was auto-generated by SourceMod (v1.3.7)
// ConVars for plugin "simpletk.smx"


// If sm_stk_punishmode = 1, allow putting a beacon on the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowbeacon "1"

// If sm_stk_punishmode = 1, allow putting a firebomb on the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowfirebomb "1"

// If sm_stk_punishmode = 1, allow freezing the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowfreeze "1"

// If sm_stk_punishmode = 1, allow putting a freezebomb on the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowfreezebomb "1"

// If sm_stk_punishmode = 1, allow slaying the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowslay "1"

// If sm_stk_punishmode = 1, allow putting a timebomb on the attacker as a punishment.
// -
// Default: "1"
sm_stk_allowtimebomb "1"

// Manages how long a player is banned for once they reach the TK limit. (Less than 0 is a kick)
// -
// Default: "-1"
sm_stk_bantime "10"

// If sm_stk_punishmode = 1, set the time a TKer is burnt as a punishment. 0.0 to disable.
// -
// Default: "10"
sm_stk_burntime "10"

// Changes who the TK count message can be seen by. 0 - Nobody, 1 - Everyone, 2 - Person, 3 - Admin and person, 4 - Admins only
// -
// Default: "2"
sm_stk_countmessage "2"

// If sm_stk_punishmode = 1, set the time a TKer is drugged as a punishment. 0.0 to disable.
// -
// Default: "10"
sm_stk_drugtime "10"

// Enables(1) or disables(0) the plugin.
// -
// Default: "1"
sm_stk_enabled "1"

// Changes who the forgiven and not forgiven messages can be seen by. 0 - Nobody, 1 - Everyone, 2 - People involved, 3 - Admin and people involved, 4 - Admins only
// -
// Default: "1"
sm_stk_forgivemessage "1"

// Manages admin immunity mode. See documentation for full value list.
// -
// Default: "7"
sm_stk_immunity "0"

// Show a message to everyone(1) or admin only (2) when a player is kicked for TKing. 0 to disable
// -
// Default: "1"
sm_stk_kickmessage "1"

// Sets the number of TKs a player has to get before they are automatically kicked.
// -
// Default: "5"
sm_stk_limit "5"

// Sets the logging mode. 0 = No logging, 1 = Verbose logging, 2 = Only log TK Count and "Kicked" messages, 3 = Only log "Kicked" messages
// -
// Default: "2"
sm_stk_logging "2"

// Automatically slay any team attacker in spawn during this amount of seconds after spawn
// -
// Default: "10"
sm_stk_protecttime "1"

// Manages the TKer punishment if sm_stk_punishmode = 2. 0 - Warn, 1 - Slay, 2 - Burn, 3 - Freeze, 4 - Beacon, 5 - Freeze Bomb, 6 - Fire Bomb, 7 - Time Bomb, 8 - Drug, 9 - Remove % Cash, 10 - Slap
// -
// Default: "1"
sm_stk_punishment "0"

// Changes who the punishment messages can be seen by. 0 - Nobody, 1 - Everyone, 2 - People involved, 3 - Admin and people involved, 4 - Admins only
// -
// Default: "1"
sm_stk_punishmessage "1"

// Manages the TKer punishment modes. 0 - No additional punishment. 1 - Let the victim choose. 2 - Use sm_stk_punishment
// -
// Default: "1"
sm_stk_punishmode "1"

// Enables(1) or disables(0) reflecting damage back onto a team attacker.
// -
// Default: "1"
sm_stk_reflect "0"

// Sets the percentage of cash the victim can remove from the attacker. 0 to disable. Only for CSS.
// -
// Default: "25"
sm_stk_removecash "0"

// If sm_stk_punishmode = 1, slap the TKer for this amount of damage as a punishment. 0 to disable.
// -
// Default: "5"
sm_stk_slapdamage "25"

// Simple TK Manager plugin version
// -
// Default: "1.0c"
sm_stk_version "1.0c"
I`ve updated to 1.0c and thats my config file. sm_stk_immunity is set to 0 but when a admin tk`s there comes the menu to forgive but not the Options to slay or drug. Only when a Admin TK´s. When a player kills antoher normal player then they become the options menu.

Last edited by WaYne82; 05-27-2011 at 07:02.
WaYne82 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 05-27-2011 , 07:39   Re: Simple TK Manager v1.0c Updated 5/26/2011
Reply With Quote #454

So the forgive Yes/No comes up, but no other options, only when an admin TKs?

Ooohhh god. I missed an =. Whoops. Try.. erm... 1.0d which is attached.

If you say it works, I'll edit the first post.

5/27/2011 - v1.0d
  • Fixed admins not being able to be punished even when sm_stk_immunity was set to 0
  • Fixed a rare error when sm_stk_punishment was set to something invalid.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)

Last edited by Lebson506th; 05-27-2011 at 12:34.
Lebson506th is offline
WaYne82
New Member
Join Date: May 2011
Old 05-27-2011 , 08:55   Re: Simple TK Manager v1.0c Updated 5/26/2011
Reply With Quote #455

Now it works fine. thank you :-)
WaYne82 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 05-27-2011 , 12:37   Re: Simple TK Manager v1.0d Updated 5/27/2011
Reply With Quote #456

Awesome. Thanks for testing it for me. I'll update the first post.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Legerarmy
Junior Member
Join Date: May 2008
Old 06-24-2011 , 11:53   Re: Simple TK Manager v1.0d Updated 5/27/2011
Reply With Quote #457

hi guys.

I use this mod, but... if somebody makes a TK he will be slayed???
I dont want to get him slayed, (the first 10 sec.. ok)..

Now what we get:

Player make a TK, SLAY...
Other player dont forgive, and the next round he's slaying him...

so he's getting 2 slays for 1 TK...
How to fix that?
Legerarmy is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 06-24-2011 , 11:58   Re: Simple TK Manager v1.0d Updated 5/27/2011
Reply With Quote #458

sm_stk_reflect 0
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-24-2011 , 12:44   Re: Simple TK Manager v1.0d Updated 5/27/2011
Reply With Quote #459

also make sure in your server.cfg you dont' have mp_tkpunish on. set it to 0 otherwise, if he TKs someone then the next round at the start the TKer will be slayed.
TnTSCS is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 06-24-2011 , 13:39   Re: Simple TK Manager v1.0d Updated 5/27/2011
Reply With Quote #460

What game is that in?
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Reply



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 00:15.


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