From 3b6dc5d974d4727bce404da057a8eb8d665d3277 Mon Sep 17 00:00:00 2001 From: Andrew Marchukov Date: Sun, 20 Feb 2022 23:10:18 +0300 Subject: [PATCH] fixes (changelog in readme) --- Dockerfile | 2 +- README.md | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1dd3153..2c99549 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,4 +23,4 @@ RUN apt-get update && apt-get install --no-install-recommends --no-install-s WORKDIR /home/steam/steamcmd USER steam ENTRYPOINT /home/steam/steamcmd/steamcmd.sh +force_install_dir /home/steam/steamcmd/sandstorm/ +login anonymous +app_update 581330 +quit && \ - /home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping -hostname="$HOSTNAME" -Port=$PORT -QueryPort=$QUERYPORT ${LAUNCH_SERVER_ENV} + /home/steam/steamcmd/sandstorm/Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping ${LAUNCH_SERVER_ENV} -hostname="$HOSTNAME" -Port=$PORT -QueryPort=$QUERYPORT diff --git a/README.md b/README.md index 90773db..ed0456f 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,12 @@ Changelog ``` -Feb 17, 2022 +Feb, 2022 some fixes in modmap.env mod.io token moved from Engine.ini to GameUserSettings.ini (because NWI) fixed steam warning in dockerfile "Please use force_install_dir before logon!" changed readme +changed ENTRYPOINT now you can use LAUNCH_SERVER_ENV to set map ``` @@ -66,9 +67,7 @@ services: - /home/user/coop-modmap/config/txt:/home/steam/steamcmd/sandstorm/Insurgency/Config/Server:ro - /home/user/coop-modmap/Mods:/home/steam/steamcmd/sandstorm/Insurgency/Mods:rw ports: - - "${PORT}:${PORT}/tcp" - "${PORT}:${PORT}/udp" - - "${QUERYPORT}:${QUERYPORT}/tcp" - "${QUERYPORT}:${QUERYPORT}/udp" ``` ### .env example @@ -77,7 +76,7 @@ services: HOSTNAME=[ISMC] MOD MAPS ONLY @120hz PORT=12345 QUERYPORT=54321 -LAUNCH_SERVER_ENV=-MapCycle=MapCycle -Mods -ModList=Mods.txt -mutators="ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage,FpLegs,JumpShoot" -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security +LAUNCH_SERVER_ENV=LAUNCH_SERVER_ENV=Ministry?Scenario=Scenario_Ministry_Checkpoint_Security?Game=CheckpointHardcore?password=MyPa$$word?MaxPlayers=10 -MapCycle=MapCycle -Mods -ModList=Mods.txt -mutators="ISMCarmory_legacy,ImprovedAI,NoRestrictedArea,ScaleBotAmount,AdvancedSupplyPoints,WelcomeMessage,JoinLeaveMessage,FpLegs,JumpShoot" -GameStatsToken=my_token -GameStats -GSLTToken=my_token -ModDownloadTravelTo=TORO?Scenario=Scenario_TORO_Checkpoint_Security ``` ## Server auto update