mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-11 06:04:33 +00:00
Various changes and tweaks
MapRotation and MapLimits Few color changes
This commit is contained in:
parent
4440bc1454
commit
45a58d17fd
5 changed files with 490 additions and 480 deletions
|
|
@ -39,7 +39,7 @@ function PlayerNotify::AtSpawn( %game, %client, %respawn )
|
|||
if( !$Host::TournamentMode && $Host::EvoNoBaseRapeEnabled && $Host::EvoNoBaseRapeClassicPlayerCount > $TotalTeamPlayerCount ) {
|
||||
//If on, has the client gotten the notification already
|
||||
if($NoBaseRapeNotifyCount !$= 0) {
|
||||
messageAll('MsgNoBaseRapeNotify', 'No Base Rape is \c3Enabled.~wfx/misc/nexus_cap.wav');
|
||||
messageAll('MsgNoBaseRapeNotify', 'No Base Rape is \c1Enabled.~wfx/misc/nexus_cap.wav');
|
||||
$NoBaseRapeNotifyCount = 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ function PlayerNotify::AtSpawn( %game, %client, %respawn )
|
|||
//NoBaseRape is off
|
||||
//Has the client gotten the notification already
|
||||
if($NoBaseRapeNotifyCount !$= 1) {
|
||||
messageAll('MsgNoBaseRapeNotify', 'No Base Rape is \c3Disabled.~wfx/misc/diagnostic_on.wav');
|
||||
messageAll('MsgNoBaseRapeNotify', 'No Base Rape is \c1Disabled.~wfx/misc/diagnostic_on.wav');
|
||||
$NoBaseRapeNotifyCount = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ function TeamBalanceNotify::AtSpawn( %game, %client, %respawn )
|
|||
//Has the client gotten the notification already
|
||||
if($TeamBalanceNotifyCount !$= 1) {
|
||||
//If unbalanced, send a notification. Will continue to send notifications until teams are balanced.
|
||||
messageAll('MsgTeamBalanceNotify', 'Teams are unbalanced.');
|
||||
messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced.');
|
||||
//Only get the notification once per spawn.
|
||||
$TeamBalanceNotifyCount = 1;
|
||||
//Reset Stat
|
||||
|
|
@ -39,7 +39,7 @@ function TeamBalanceNotify::AtSpawn( %game, %client, %respawn )
|
|||
//Has the client gotten the notification already
|
||||
if($BalancedCount !$= 1) {
|
||||
//If balanced, send a notification.
|
||||
messageAll('MsgTeamBalanceNotify', 'Teams are balanced.');
|
||||
messageAll('MsgTeamBalanceNotify', '\c1Teams are balanced.');
|
||||
//Only get the balance notification once.
|
||||
$BalancedCount = 1;
|
||||
//Reset Unbalanced
|
||||
|
|
@ -53,7 +53,7 @@ function TeamBalanceNotify::AtSpawn( %game, %client, %respawn )
|
|||
if( ($PlayerCount[1] - $PlayerCount[2]) >= 3 || ($PlayerCount[2] - $PlayerCount[1]) >= 3 ) {
|
||||
//Run it once
|
||||
if($StatsBalanceCount !$= 1) {
|
||||
messageAll('MsgTeamBalanceNotify', 'It is currently %1 vs %2 with %3 observers.', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] );
|
||||
messageAll('MsgTeamBalanceNotify', '\c1It is currently %1 vs %2 with %3 observers.', $PlayerCount[1], $PlayerCount[2], $PlayerCount[0] );
|
||||
$StatsBalanceCount = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
8
autoexec/security.cs
Normal file
8
autoexec/security.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
memPatch("A3C300","A370C3A300E8D609A0FF8B46205053E98103A0FF");
|
||||
memPatch("A3C330","C70570C3A30000000000E8A109A0FF8B462085C0E96D03A0FF");
|
||||
memPatch("A3C400","E80BFB9FFF6089C38B1570C3A300B8FF00000029D039C37D0661E92509A0FFA380C3A30061A180C3A300E91509A0FF");
|
||||
memPatch("A3C430","E8DBFA9FFF6089C38B1570C3A300B8FF00000029D039C37D0661E9A009A0FFA380C3A30061A180C3A300E99009A0FF");
|
||||
memPatch("43C68B","E970FC5F00");
|
||||
memPatch("43C6AC","E97FFC5F00");
|
||||
memPatch("43CD3F","E9BCF65F00");
|
||||
memPatch("43CDEA","E941F65F00");
|
||||
Loading…
Add table
Add a link
Reference in a new issue