Took out ClassicTKLimit

We have our own tk system
This commit is contained in:
ChocoTaco1 2020-08-02 21:04:38 -04:00
parent 25bbb02051
commit 8c528d9564
3 changed files with 0 additions and 30 deletions

View file

@ -71,7 +71,6 @@ $Host::ClassicTelnet = 1;
$Host::ClassicTelnetListenPass = "changeme";
$Host::ClassicTelnetPassword = "changeme";
$Host::ClassicTelnetPort = 666;
$Host::ClassicTkLimit = 0;
$Host::ClassicUseHighPerformanceCounter = 0;
$Host::ClassicViralBanning = 1;
$Host::ClassicVoteLog = 1;

View file

@ -2497,20 +2497,6 @@ function DefaultGame::awardScoreTeamkill(%game, %victimID, %killerID)
messageClient(%killerID, 'MsgScoreTeamkill', '\c0You have been penalized for killing teammate %1.', %victimID.name);
%game.recalcScore(%killerID);
// z0dd - ZOD, 8/9/03. Auto vote TKers
if(!$Host::TournamentMode)
{
if(($Host::ClassicTkLimit > 4 && %killerID.teamKills >= $Host::ClassicTkLimit) && (getAdmin() == 0))
{
serverCmdStartNewVote(%victimID, "VoteKickPlayer", %killerID, 0, 0, 0, true);
bottomPrintAll("<color:ff0000>" @ %killerID.nameBase @ " Has " @ %killerID.teamKills @ " team kills. Recommend voting yes.", 4, 2);
logEcho(%killerID.nameBase @ " GUID: " @ %killerID.guid @ " TKS: " @ %killerID.teamKills, 1);
}
//else
//{
// BottomPrint(%killerID, "<color:ff0000>You have " @ %killerID.teamKills @ ", you better cut it out!", 2, 1 );
//}
}
}
function DefaultGame::awardScoreTurretTeamKill(%game, %victimID, %killerID)
@ -2520,20 +2506,6 @@ function DefaultGame::awardScoreTurretTeamKill(%game, %victimID, %killerID)
messageClient(%killerID, 'MsgScoreTeamkill', '\c0You have been penalized for killing your teammate %1, with a turret.', %victimID.name);
%game.recalcScore(%killerID);
// z0dd - ZOD, 6/12/03. Auto vote TKers
if(!$Host::TournamentMode)
{
if(($Host::ClassicTkLimit > 4 && %killerID.teamKills >= $Host::ClassicTkLimit) && (getAdmin() == 0))
{
serverCmdStartNewVote(%victimID, "VoteKickPlayer", %killerID, 0, 0, 0, true);
bottomPrintAll("<color:ff0000>" @ %killerID.nameBase @ " Has " @ %killerID.teamKills @ " team kills. Recommend voting yes.", 4, 2);
logEcho(%killerID.nameBase @ " GUID: " @ %killerID.guid @ " TKS: " @ %killerID.teamKills, 1);
}
else
{
BottomPrint(%killerID, "<color:ff0000>You have " @ %killerID.teamKills @ ", you better cut it out!", 2, 1 );
}
}
}

View file

@ -60,7 +60,6 @@ $Host::ClassicConnectLog = 1; // Logs all connections to
$Host::ClassicAntiTurtleTime = 6; // How many minutes after a stalemate in CTF are the flags returned
$Host::ClassicLimitArmors = 0; // Restrict armor types like turrets, larger team dictates amount avail
$Host::ClassicBadWordFilter = 0; // Replace potty mouths words with random garbage
$Host::ClassicTkLimit = 0; // When set to 5 or more and no admin is on server, a vote is started to kick the tker
$Host::ClassicAllowConsoleAccess = 0; // Allows super admins to use the servers console via Admin hud.
$Host::ClassicNoNullVoiceSpam = 0; // Allow or disallow NULL voice usage. 1 enabled NULL voice to be used.
$Host::ClassicBalancedBots = 0; // For every client join a bot is disconnected