Map Repetition Checker Toggle

This commit is contained in:
ChocoTaco 2019-12-04 00:23:29 -05:00
parent 08b50156b5
commit cf5440b41c
3 changed files with 36 additions and 30 deletions

View file

@ -64,6 +64,7 @@ $Host::EmptyServerReset = 1;
$Host::EmptyServerResetTime = 120; $Host::EmptyServerResetTime = 120;
$Host::EnableAutobalance = 1; $Host::EnableAutobalance = 1;
$Host::EnableLakUnlimitedDJ = 1; $Host::EnableLakUnlimitedDJ = 1;
$Host::EnableMapRepetitionChecker = 1;
$Host::EnableMortarTurret = 0; $Host::EnableMortarTurret = 0;
$Host::EnableNoBaseRapeNotify = 1; $Host::EnableNoBaseRapeNotify = 1;
$Host::EnableNetTourneyClient = 0; $Host::EnableNetTourneyClient = 0;

View file

@ -20,6 +20,8 @@ $PreviousMission1back = "";
//Ran in MissionTypeOptions.cs //Ran in MissionTypeOptions.cs
function MapRepetitionChecker( %game ) function MapRepetitionChecker( %game )
{
if($Host::EnableMapRepetitionChecker)
{ {
//Debug //Debug
//%MapRepetitionCheckerDebug = true; //%MapRepetitionCheckerDebug = true;
@ -54,6 +56,7 @@ function MapRepetitionChecker( %game )
} }
} }
} }
}
function MapRepetitionCheckerFindRandom() function MapRepetitionCheckerFindRandom()
{ {

View file

@ -180,6 +180,7 @@ $Host::MapPlayerLimits["Whiteout", "Bounty"] = "8 -1";
$Host::EmptyServerReset = 1; //To control whether the server auto resets when empty $Host::EmptyServerReset = 1; //To control whether the server auto resets when empty
$Host::EmptyServerResetTime = 120; //Time in Minutes to reset an empty server $Host::EmptyServerResetTime = 120; //Time in Minutes to reset an empty server
$Host::EnableAutobalance = 1; //Will autobalance when teams are uneven. $Host::EnableAutobalance = 1; //Will autobalance when teams are uneven.
$Host::EnableMapRepetitionChecker = 1; //Enable or Disable the Map Repetition Checker
$Host::EnableMortarTurret = 0; //Enable or Disable Mortar Turret $Host::EnableMortarTurret = 0; //Enable or Disable Mortar Turret
$Host::EnableNetTourneyClient = 1; //Enable or Disable Tourney Net Client checking $Host::EnableNetTourneyClient = 1; //Enable or Disable Tourney Net Client checking
$Host::EnableNoBaseRapeNotify = 1; //Get a base rape notification $Host::EnableNoBaseRapeNotify = 1; //Get a base rape notification
@ -191,6 +192,7 @@ $Host::AntiCloakEnable = 1; //Enable or disable AntiCloak
$Host::AntiCloakPlayerCount = 6; //How many to enable Cloak $Host::AntiCloakPlayerCount = 6; //How many to enable Cloak
$Host::PUGautoPassword = 0; //Auto enable a password in tournament mode $Host::PUGautoPassword = 0; //Auto enable a password in tournament mode
$Host::PUGPassword = "pickup"; //PUG password, Auto or enable/disable thru admin menu $Host::PUGPassword = "pickup"; //PUG password, Auto or enable/disable thru admin menu
$Host::PUGpasswordAlwaysOn = 0; //If you want the pug password Always on
$Host::EmptyServerReset = 1; //Whether or not you want the server to reset when its empty $Host::EmptyServerReset = 1; //Whether or not you want the server to reset when its empty
$Host::DMSLOnlyMode = 0; //Shocklance Only Mode for Deathmatch $Host::DMSLOnlyMode = 0; //Shocklance Only Mode for Deathmatch
$Host::SCtFProMode = 0; //Pro mode for LCTF $Host::SCtFProMode = 0; //Pro mode for LCTF