From 312c0e5807c7066481e6ebf522ba21c9a041fc85 Mon Sep 17 00:00:00 2001 From: robviren Date: Mon, 23 May 2022 22:18:44 -0500 Subject: [PATCH] Works --- Dockerfile | 8 ++++---- config/ServerGameSettings.json | 2 +- config/ServerHostSettings.json | 4 ++-- start.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index f08b1ea..683a864 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,12 @@ RUN mkdir -p /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAsset RUN wget -qO- https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | bsdtar -xvf- -C /root/.wine/drive_c/steamcmd/ # Persist Volumes -VOLUME [ "/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Saves/"] -VOLUME [ "/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/" ] +VOLUME [ "/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Saves"] +VOLUME [ "/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings" ] # Expose Ports -EXPOSE 27015/udp -EXPOSE 27016/udp +EXPOSE 9876/udp +EXPOSE 9877/udp # Running as a bash script works, does not work otherwise COPY ./init.sh / diff --git a/config/ServerGameSettings.json b/config/ServerGameSettings.json index 5f6aacc..5475fab 100644 --- a/config/ServerGameSettings.json +++ b/config/ServerGameSettings.json @@ -1,5 +1,5 @@ { - "GameModeType": "PvP", + "GameModeType": "PvE", "CastleDamageMode": "Always", "SiegeWeaponHealth": "Normal", "PlayerDamageMode": "Always", diff --git a/config/ServerHostSettings.json b/config/ServerHostSettings.json index 6185c27..e8591be 100644 --- a/config/ServerHostSettings.json +++ b/config/ServerHostSettings.json @@ -1,8 +1,8 @@ { "Name": "Hangout Excuse", "Description": "A great reason to hangout and what not", - "Port": 27015, - "QueryPort": 27016, + "Port": 9876, + "QueryPort": 9877, "MaxConnectedUsers": 40, "MaxConnectedAdmins": 4, "ServerFps": 30, diff --git a/start.sh b/start.sh index 2e0e68d..b1398f0 100644 --- a/start.sh +++ b/start.sh @@ -1,2 +1,2 @@ # wine /root/.wine/drive_c/steamcmd/steamcmd.exe +force_install_dir "C:\VRisingServer" +login anonymous +app_update 1829350 +quit -xvfb-run wine /root/.wine/drive_c/vrisingserver/VRisingServer.exe \ No newline at end of file +xvfb-run -a wine /root/.wine/drive_c/vrisingserver/VRisingServer.exe \ No newline at end of file