diff --git a/cfg/!launch_iw7_mod.bat b/cfg/!launch_iw7_mod.bat index ee431cb4..196e830b 100644 --- a/cfg/!launch_iw7_mod.bat +++ b/cfg/!launch_iw7_mod.bat @@ -1,10 +1,9 @@ @echo off set cfg="config_mp.cfg" -set name="IW7 MP 1" set mod= set game_exe=iw7-mod.exe -cd /D %cd% +cd /D "%~dp0" start /B /wait /abovenormal %game_exe% +set onlinegame 1 +set fs_game "%mod%" -nosteam \ No newline at end of file diff --git a/cfg/!start_mp_server.bat b/cfg/!start_mp_server.bat index ace5d3a0..6cb98c00 100644 --- a/cfg/!start_mp_server.bat +++ b/cfg/!start_mp_server.bat @@ -1,11 +1,11 @@ @echo off :://///////////////////////////////////////////////////////////////////// -::/// IW7-Mod Server Configuration start-up file /// +::// IW7-Mod Server Configuration startup file // :://///////////////////////////////////////////////////////////////////// ::// This config best view with Notepad++ or other non-windows notepad // :://///////////////////////////////////////////////////////////////////// -::// Your edited server_zm.cfg in the "main" folder goes here // -::// This is were you edit your hostname, map & gamemodes from. // +::// Your edited server_mp.cfg goes in the "main" folder // +::// This is were you edit your hostname, map & gamemodes from // :://///////////////////////////////////////////////////////////////////// set cfg=server.cfg @@ -14,7 +14,7 @@ set name="IW7 MP 1" set mod= :://///////////////////////////////////////////////////////////////////// -:://You're done!! WARNING!!! Don't mess with anything below this line // +::// You're done! WARNING! Do not mess with anything below this line // :://///////////////////////////////////////////////////////////////////// set game_exe=iw7-mod.exe @@ -22,10 +22,10 @@ set game_exe=iw7-mod.exe title IW7 - %name% - Server restarter echo Server "%name%" will load %cfg% and listen on port %port% UDP! echo To shut down the server close this window first! -echo (%date%) - (%time%) %name% server start. +echo (%date%) - (%time%) %name% server start. -cd /D %cd% +cd /D "%~dp0" :server -start /wait /abovenormal %game_exe% -dedicated +set onlinegame 1 +set fs_game "%mod%" +set net_port "%port%" +exec %cfg% +map_rotate -nosteam +set g_hardcore 0 +set xblive_privatematch 0 -echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +start /wait /abovenormal %game_exe% -dedicated +set onlinegame 1 +set fs_game "%mod%" +set net_port "%port%" +exec %cfg% +map_rotate +set g_hardcore 0 +set xblive_privatematch 0 +set sv_lanOnly 0 +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. goto server \ No newline at end of file diff --git a/cfg/!start_zm_server.bat b/cfg/!start_zm_server.bat index beba3664..71396d19 100644 --- a/cfg/!start_zm_server.bat +++ b/cfg/!start_zm_server.bat @@ -1,11 +1,11 @@ @echo off :://///////////////////////////////////////////////////////////////////// -::/// IW7-Mod Server Configuration start-up file /// +::// IW7-Mod Server Configuration startup file // :://///////////////////////////////////////////////////////////////////// ::// This config best view with Notepad++ or other non-windows notepad // :://///////////////////////////////////////////////////////////////////// -::// Your edited server_zm.cfg in the "main" folder goes here // -::// This is were you edit your hostname, map & gamemodes from. // +::// Your edited server_zm.cfg goes in the "main" folder // +::// This is were you edit your hostname, map & gamemodes from // :://///////////////////////////////////////////////////////////////////// set cfg=server_zm.cfg @@ -14,7 +14,7 @@ set name="IW7 ZM 1" set mod= :://///////////////////////////////////////////////////////////////////// -:://You're done!! WARNING!!! Don't mess with anything below this line // +::// You're done! WARNING! Do not mess with anything below this line // :://///////////////////////////////////////////////////////////////////// set game_exe=iw7-mod.exe @@ -22,10 +22,10 @@ set game_exe=iw7-mod.exe title IW7 - %name% - Server restarter echo Server "%name%" will load %cfg% and listen on port %port% UDP! echo To shut down the server close this window first! -echo (%date%) - (%time%) %name% server start. +echo (%date%) - (%time%) %name% server start. -cd /D %cd% +cd /D "%~dp0" :server -start /wait /abovenormal %game_exe% -dedicated +cpMode +set onlinegame 1 +set fs_game "%mod%" +set net_port "%port%" +exec %cfg% +map_rotate +set g_hardcore 0 +set xblive_privatematch 0 -echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +start /wait /abovenormal %game_exe% -dedicated +cpMode +set onlinegame 1 +set fs_game "%mod%" +set net_port "%port%" +exec %cfg% +map_rotate +set g_hardcore 0 +set xblive_privatematch 0 +set sv_lanOnly 0 +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. goto server \ No newline at end of file