Last active
August 21, 2019 13:05
Revisions
-
e39a562r revised this gist
Aug 21, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -148,3 +148,7 @@ rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Misc/BP_ToolBox* ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Misc/BP_BearTrap* ``` ### PaviseShield ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Shields/BP_PaviseShield* ``` -
e39a562r revised this gist
Aug 19, 2019 . 1 changed file with 0 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -128,10 +128,6 @@ rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_Rock* ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_ThrowingAxe* ``` ### 長弓 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Ranged/BP_Longbow* -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,10 @@ ## GCP 建立虛擬機 1. 區域請選台灣 2. 開機磁碟,選擇 `Ubuntu 18.04 LTS`,然後拉到下面選擇 10GB SSD 3. 允許 HTTP 跟 HTTPS 連線 ## 安裝 點擊虛擬機上面的 `SSH` 按鈕進入後台 ### 1. 先更新套件管理工具 ``` sudo apt update -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 35 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,28 +32,58 @@ quit" > update_mordhau.txt ./steamcmd.sh +login anonymous +runscript update_mordhau.txt ``` ## 開、關、更新伺服器 ### 啟動 mordhau 伺服器 ``` screen -dmS mordhau ./mordhau/MordhauServer.sh ``` ### 關閉 mordhau 伺服器 ``` screen -S mordhau -X quit ``` ### 更新 mordhau 伺服器 ``` ./steamcmd.sh +login anonymous +runscript update_mordhau.txt ``` ## 改設定 ### 改 Game.ini ``` nano mordhau/Mordhau/Saved/Config/LinuxServer/Game.ini ``` 改好之後按 `ctrl + x` 離開,然後按 `Y` 表示存檔,然後按 `Enter` 表示不改檔案名字 內容範例: ``` [/Script/Mordhau.MordhauGameMode] PlayerRespawnTime=0.000000 BallistaRespawnTime=30.000000 CatapultRespawnTime=30.000000 HorseRespawnTime=30.000000 DamageFactor=1.000000 TeamDamageFactor=0.500000 MapRotation=FFA_Contraband MapRotation=FFA_Tourney [/Game/Mordhau/Blueprints/GameModes/BP_DeathmatchGameMode.BP_DeathmatchGameMode_C] ScoreToWin=5000 [/Script/Mordhau.MordhauGameSession] MaxSlots=32 ServerName=台服 1vs1 單挑 禁亂鬥 快速重生 50殺 120hz [e39a562r] AdminPassword= BannedPlayers= ServerPassword= Admins=76561198027717994 Admins=76561198021697406 Admins=76561198018479545 Admins=76561198048740205 Admins=76561198121880695 ``` ### 改 Engine.ini ``` mordhau/Mordhau/Saved/Config/LinuxServer/Engine.ini ``` -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 52 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ ## 安裝 ### 1. 先更新套件管理工具 ``` sudo apt update @@ -14,6 +15,7 @@ sudo apt install lib32gcc1 ``` curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - ``` 官方建議開新使用者來安裝 steam 但是我懶所以算了 ### 4. 建立 mordhau 更新腳本 ``` @@ -64,3 +66,53 @@ NetServerMaxTickRate=120 ``` `ServerDefaultMap`: 預設地圖 `NetServerMaxTickRate`: 伺服器判斷命中與傷害的頻率,預設60即每秒60次 ## 禁道具 ### 火彈 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_FireBom* ``` ### 煙霧彈 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_SmokeBomb* ``` ### 標槍 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_Javelin* ``` ### 飛刀 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_ThrowingKnife* ``` ### 石頭 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_Rock* ``` ### 投擲斧 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_ThrowingAxe* ``` ### 大便 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Thrown/BP_Turd* ``` ### 長弓 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Ranged/BP_Longbow* ``` ### 獵弓 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Ranged/BP_RecurveBow* ``` ### 十字弓 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Ranged/BP_Crossbow* ``` ### 工具箱 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Misc/BP_ToolBox* ``` ### 陷阱 ``` rm ./mordhau/Mordhau/Content/Mordhau/Blueprints/Equipment/Misc/BP_BearTrap* ``` -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,6 +56,7 @@ nano mordhau/Mordhau/Saved/Config/LinuxServer/Game.ini mordhau/Mordhau/Saved/Config/LinuxServer/Engine.ini ``` 內容範例: ``` [/Script/EngineSettings.GameMapsSettings] ServerDefaultMap=/Game/Mordhau/Maps/Contraband/FFA_Contraband.FFA_Contraband [/Script/OnlineSubsystemUtils.IpNetDriver] -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 55 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,13 +4,62 @@ sudo apt update ``` 應該很快就跑完了 ### 2. 安裝 steam 需要的 lib32gcc1 ``` sudo apt install lib32gcc1 ``` ### 3. 下載 steam ``` curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - ``` ### 4. 建立 mordhau 更新腳本 ``` echo \ "@ShutdownOnFailedCommand @NoPromptForPassword 1 force_install_dir ./mordhau app_update 629800 validate quit" > update_mordhau.txt ``` ### 5. 下載 mordhau 伺服器 ``` ./steamcmd.sh +login anonymous +runscript update_mordhau.txt ``` ## 啟動 mordhau 伺服器 ``` screen -dmS mordhau ./mordhau/MordhauServer.sh ``` ## 關閉 mordhau 伺服器 ``` screen -S mordhau -X quit ``` ## 更新 mordhau 伺服器 ``` ./steamcmd.sh +login anonymous +runscript update_mordhau.txt ``` ## 改 Game.ini ``` nano mordhau/Mordhau/Saved/Config/LinuxServer/Game.ini ``` 改好之後按 `ctrl + x` 離開,然後按 `Y` 表示存檔,然後按 `Enter` 表示不改檔案名字 ## 改 Engine.ini ``` mordhau/Mordhau/Saved/Config/LinuxServer/Engine.ini ``` 內容範例: [/Script/EngineSettings.GameMapsSettings] ServerDefaultMap=/Game/Mordhau/Maps/Contraband/FFA_Contraband.FFA_Contraband [/Script/OnlineSubsystemUtils.IpNetDriver] NetServerMaxTickRate=120 ``` `ServerDefaultMap`: 預設地圖 `NetServerMaxTickRate`: 伺服器判斷命中與傷害的頻率,預設60即每秒60次 -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,13 @@ ``` sudo apt update ``` 應該很快就跑完了 ### 2. 安裝 docker ``` sudo apt install docker.io ``` 如果有問 [Y/n] 請選 Y ### 3. 使用 docker 下載 mordhau ``` -
e39a562r revised this gist
Aug 18, 2019 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,14 @@ ### 1. 先更新套件管理工具 ``` sudo apt update ``` ### 2. 安裝 docker ``` sudo apt install docker.io ``` ### 3. 使用 docker 下載 mordhau ``` sudo docker run -d --net=host --name=mordhau-dedicated cm2network/mordhau ``` -
e39a562r created this gist
Aug 18, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ we