mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 00:24:35 +00:00
Moved
This commit is contained in:
parent
026432b76f
commit
3fe81c1b8a
2 changed files with 10 additions and 10 deletions
|
|
@ -24,18 +24,9 @@ function CreateServer( %mission, %missionType )
|
||||||
//Call for a GetTeamCount update
|
//Call for a GetTeamCount update
|
||||||
GetTeamCounts(%game);
|
GetTeamCounts(%game);
|
||||||
|
|
||||||
// Set when server starts
|
|
||||||
// Used to reset timelimit (if voted) when map changes
|
|
||||||
$DefaultTimeLimit = $Host::TimeLimit;
|
|
||||||
|
|
||||||
// Prevent package from being activated if it is already
|
// Prevent package from being activated if it is already
|
||||||
if (!isActivePackage(TeamCountsTriggers))
|
if (!isActivePackage(TeamCountsTriggers))
|
||||||
activatePackage(TeamCountsTriggers);
|
activatePackage(TeamCountsTriggers);
|
||||||
|
|
||||||
// Auto Daily Hard Server Restart at a specific time
|
|
||||||
// getTimeDif from zDarkTigerStats.cs
|
|
||||||
if($dtStats::version)
|
|
||||||
schedule(getTimeDif("10\t00\tam"),0,"quit");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -234,6 +234,15 @@ function CreateServer(%mission, %missionType)
|
||||||
// TraversalRoot Console spam fix
|
// TraversalRoot Console spam fix
|
||||||
if($Host::ClassicSuppressTraversalRootError)
|
if($Host::ClassicSuppressTraversalRootError)
|
||||||
suppressTraversalRootPatch();
|
suppressTraversalRootPatch();
|
||||||
|
|
||||||
|
// Set when server starts
|
||||||
|
// Used to reset timelimit (if voted) when map changes
|
||||||
|
$DefaultTimeLimit = $Host::TimeLimit;
|
||||||
|
|
||||||
|
// Auto Daily Hard Server Restart at a specific time
|
||||||
|
// getTimeDif from zDarkTigerStats.cs
|
||||||
|
if($dtStats::version)
|
||||||
|
schedule(getTimeDif("10\t00\tam"),0,"quit"); //10AM server time
|
||||||
}
|
}
|
||||||
|
|
||||||
function initGameBots( %mission, %mType )
|
function initGameBots( %mission, %mType )
|
||||||
|
|
@ -815,7 +824,7 @@ function GameConnection::onConnect( %client, %name, %raceGender, %skin, %voice,
|
||||||
//Changed to allow botskins
|
//Changed to allow botskins
|
||||||
%temp = detag( %skin );
|
%temp = detag( %skin );
|
||||||
if(%temp $= "")
|
if(%temp $= "")
|
||||||
%client.skin = addTaggedString( "base" );
|
%client.skin = addTaggedString( "base" );
|
||||||
else
|
else
|
||||||
%client.skin = addTaggedString( %skin );
|
%client.skin = addTaggedString( %skin );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue