AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   FreeKill Manager (https://forums.alliedmods.net/showthread.php?t=223323)

Blizzard_87 08-12-2013 07:20

FreeKill Manager
 
1 Attachment(s)
FreeKill Manager
v1.0.1
By Blizzard_87

ThreadStart
Description
FreeKill Manager is an extract from my JailBreak Storm Mod.

This plugin Automaticly manages guards who freekill prisoners.
when ever a guard kills certain amount of prisoners in a set amount of time will auto be set as a freekiller
and slayed and moved to prisoner team, by default they will not be able to join guard team for X amount of rounds.

punishment modes.
0 - move to prisoner and blocked from joining guards X amount rounds
1 - move to prisoner and banned from joining guards
2 - banned from joining guards and kicked from server upon freekilling.

Admin Commands
say /fkm
opens up list of currently connected players who are freekillers
allows you to dismiss there title and takes away there freekiller status.

Cvars
fkm_punishment "0"
// 0 - switch to Terrorist + block | 1 - switch + ban from ct | 2 - ban + kick
fkm_rounds_ct_blocked "5"
// if punishment is ban from ct, this is how many round they are blocked from joining
fkm_checktimer "2.0"
// How Many Seconds To Check For Multiple Kills
fkm_freekills "5"
// Amount Of Kills Allowed Before Considered FreeKiller
fkm_forceteamjoin "t" or "any"
// Force Humans To Join Team

ChangeLog
- v1.0.1 - added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.

- v1.0.0 - Inital Release.

ThreadEnd
.

sami_spt 08-12-2013 07:36

Re: FreeKill Manager
 
good work!

what if there was 2 ct players, and 30 terrorist.

all of them attacked him at once and he killed all ! :P Free Ban

If the 1st time he doesnt added to the list of freekillers, then all terrorists will co-operate and attack him at once for 2-3-4-5 rounds :)

Blizzard_87 08-12-2013 07:48

Re: FreeKill Manager
 
Quote:

Originally Posted by sami_spt (Post 2011393)
good work!

what if there was 2 ct players, and 30 terrorist.

all of them attacked him at once and he killed all ! :P Free Ban

If the 1st time he doesnt added to the list of freekillers, then all terrorists will co-operate and attack him at once for 2-3-4-5 rounds :)

thanks.

there would be one way.. is if he attacked Rebels then it could cancel out the task.. which would stop the guard from becoming a freekiller...

but that means i would have to add a MINI Rebel addon to this... unless i used API...

Jhob94 08-12-2013 07:56

Re: FreeKill Manager
 
And dont regist cvars like that...
I think if you want use like that, make it load a cfg file with cvars. Yes, is possible to add it in others files but some people dont know how so is better you load from cfg file ;)

Blizzard_87 08-12-2013 08:01

Re: FreeKill Manager
 
Updated Version 1.0.1

added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.

YamiKaitou 08-12-2013 10:12

Re: FreeKill Manager
 
Quote:

Originally Posted by Jhob94 (Post 2011409)
And dont regist cvars like that...
I think if you want use like that, make it load a cfg file with cvars. Yes, is possible to add it in others files but some people dont know how so is better you load from cfg file ;)

What is wrong with the way he is registering the cvars? It looks fine to me, I see no errors or issues.


Quote:

Originally Posted by Blizzard_87 (Post 2011412)
Updated Version 1.0.1

added mini rebel addon
so if prisoner is set rebel the task for checking freekill wont start.

Either remove the old versions or specify what each file is for

Jhob94 08-12-2013 13:45

Re: FreeKill Manager
 
Quote:

Originally Posted by YamiKaitou (Post 2011495)
What is wrong with the way he is registering the cvars? It looks fine to me, I see no errors or issues.

I know. What i meant was that it would be more easy for begginers know changing the cvars...

YamiKaitou 08-12-2013 14:47

Re: FreeKill Manager
 
Quote:

Originally Posted by Jhob94 (Post 2011615)
I know. What i meant was that it would be more easy for begginers know changing the cvars...

My experience shows that beginners are changing the cvar values with config files, not by editing the plugin. So it shouldn't make any difference

Jhob94 08-12-2013 15:00

Re: FreeKill Manager
 
My experience shows that beginners doesnt even knows that can make cvars in config files.
What now? Make pool thread? :3
Dont need. You are correct. (Or not)

Blizzard_87 08-12-2013 15:20

Re: FreeKill Manager
 
Quote:

Originally Posted by YamiKaitou (Post 2011495)
Either remove the old versions or specify what each file is for

Done.


All times are GMT -4. The time now is 01:51.

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