mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
Fix the watchdog
This commit is contained in:
parent
a28db1e2fd
commit
94142d7aa9
@ -489,8 +489,8 @@ set iw4x_onelog ""
|
||||
|
||||
|
||||
// CUSTOM
|
||||
set bot_pvb_helper_noPlayersOnTeam "allies"
|
||||
set bot_pvb_helper_customBotClassTeam "axis"
|
||||
set bot_pvb_helper_noPlayersOnTeam "axis"
|
||||
set bot_pvb_helper_customBotClassTeam "allies"
|
||||
set scr_showHP "1"
|
||||
set scr_allowFPSBooster "1"
|
||||
set bot_sniperCheck "1"
|
||||
@ -526,15 +526,15 @@ set bots_manage_fill "9"
|
||||
set bots_manage_fill_spec "0"
|
||||
set bots_manage_fill_mode "1"
|
||||
set bots_manage_fill_kick "1"
|
||||
set bots_team "custom"
|
||||
set bots_team "axis"
|
||||
set bots_team_amount "0"
|
||||
set bots_team_force "1"
|
||||
set bots_team_mode "1"
|
||||
set bots_skill "8"
|
||||
set bots_skill_axis_hard "1"
|
||||
set bots_skill_axis_med "0"
|
||||
set bots_skill_axis_hard "0"
|
||||
set bots_skill_axis_med "4"
|
||||
set bots_skill_allies_hard "0"
|
||||
set bots_skill_allies_med "3"
|
||||
set bots_skill_allies_med "4"
|
||||
set bots_loadout_reasonable "0"
|
||||
set bots_loadout_allow_op "0"
|
||||
set bots_loadout_rank "-1"
|
||||
@ -553,7 +553,7 @@ set bots_play_ads "1"
|
||||
|
||||
|
||||
// iw4madmin
|
||||
set sv_printradarupdates "1"
|
||||
set sv_printradarupdates "0"
|
||||
|
||||
|
||||
// _killcam
|
||||
|
@ -30,6 +30,7 @@ watchSniper()
|
||||
for ( ;; )
|
||||
{
|
||||
wait 15;
|
||||
logPrint("keepalive\n");
|
||||
|
||||
numPlayers = 0;
|
||||
numSnipers = 0;
|
||||
|
@ -18,6 +18,7 @@ echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
|
||||
echo (%date%) - (%time%) %name% server watchdog start.
|
||||
|
||||
::https://superuser.com/questions/699769/batch-file-last-modification-time-with-seconds
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
:Server
|
||||
@ -25,6 +26,7 @@ for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c e
|
||||
|
||||
timeout /t %check_rate% /nobreak > nul
|
||||
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
if "%modif_time_temp%" == "%modif_time%" (
|
||||
|
@ -18,6 +18,7 @@ echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
|
||||
echo (%date%) - (%time%) %name% server watchdog start.
|
||||
|
||||
::https://superuser.com/questions/699769/batch-file-last-modification-time-with-seconds
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
:Server
|
||||
@ -25,6 +26,7 @@ for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c e
|
||||
|
||||
timeout /t %check_rate% /nobreak > nul
|
||||
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
if "%modif_time_temp%" == "%modif_time%" (
|
||||
|
@ -18,6 +18,7 @@ echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
|
||||
echo (%date%) - (%time%) %name% server watchdog start.
|
||||
|
||||
::https://superuser.com/questions/699769/batch-file-last-modification-time-with-seconds
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
:Server
|
||||
@ -25,6 +26,7 @@ for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c e
|
||||
|
||||
timeout /t %check_rate% /nobreak > nul
|
||||
|
||||
dir "%log_path%"\"%log_file%" > nul
|
||||
for /f "delims=" %%i in ('"forfiles /p "%log_path%" /m "%log_file%" /c "cmd /c echo @ftime" "') do set modif_time_temp=%%i
|
||||
|
||||
if "%modif_time_temp%" == "%modif_time%" (
|
||||
|
Loading…
x
Reference in New Issue
Block a user