You are right.
And this works fine on Windows
update.txt
Code:
logout
force_install_dir "../Half-Life czero"
login anonymous
app_set_config 90 mod czero
app_update 90 validate
steamcmd_run.bat
Code:
@echo off
echo.
echo SteamCMD started!
echo.
steamcmd +runscript update.txt
echo.
echo SteamCMD finished!
echo.
timeout /T 5 /nobreak
- If steamcmd not start download at first launch, try again. SteamCMD maybe update itself first.
hlds.exe
Code:
-console -game czero +map cs_italy -maxplayers 10
- When launch hlds.exe server and it shutdown itself.
Server was missing steam_appid.txt file and it created new one.
Launch server again.
- When server is running, but notice you
Code:
♥MasterRequestRestart
Your server is out of date. Please update and restart.
...one reason is
server started with wrong steam_appid number.
This happen if steam_appid.txt file have wrong number before server is launched.
But server will overwrite number from file when launched. You just need start server second time.
- Happens only on CZERO mod ??
You could create batch file to run right mode with right steam_appid number.
czero.bat
Code:
@echo off
cls
:czero
echo 80> steam_appid.txt
start /wait hlds.exe -console -game czero +map cs_italy -maxplayers 10
goto czero
hl.bat
Code:
@echo off
cls
:hl
echo 70> steam_appid.txt
start /wait hlds.exe -console -game valve +map boot_camp -maxplayers 10
goto hl
cstrike.bat
Code:
@echo off
cls
:cstrike
echo 10> steam_appid.txt
start /wait hlds.exe -console -game cstrike +map cs_italy -maxplayers 10
goto cstrike
__________________