Comments (10)
I think I may try out adding a symlink for the mods folders
from eggs.
I have found a workaround of sorts for how to get mods on the ark server. It's pretty simple, the main part is that you don't use SteamCMD to get the mods:
- Download the mod you want via the steam workshop to your ark client
- Navigate to your local ark files, for C:\Program Files (x86)\Steam\steamapps\common\ARK
- Go to your mods folder [Steam Install Directory]\steamapps\common\ARK\ShooterGame\Content\Mods
- Make a copy of the mod folder and the accompanying .mod file. Make a note of the ModID.
- Paste the mod folder and accompanying .mod file into the servers /ark-survival-evolved/ShooterGame/Content/Mods
- Start the server, let it load fully, and then stop the server
- Navigate to the /ark-survival-evolved/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini file on the server
- Under the [ServerSettings] heading, you will need to add a new line with this entry: ActiveMods=
- After the ActiveMods= entry, you must list every ModID for every mod that you want to load in your mods folder. The order doesn't matter. If you have more than one mod, the ModIDs must be separated with a comma like this: ActiveMods=xxx,xxx,xxx
That worked for me! So hopefully it helps everyone else, (I'll try and add some photos for reference later)
from eggs.
We don't use automanagedmods by default and I don't use them at all. Do you have an example of this kind of set up that I can replicate?
from eggs.
Well, with our Ark server setup, we use a number of mods. Under server config and looking at the startup command on Pterodactyl, if you use "./ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?listen?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port=7777?MaxPlayers=20?QueryPort=27015?RCONPort=27020"and adding -automanagedmods, this should tell the server to check for mod updates. Steps to reproduce:
Before adding the switch, setup a none-modded game and then add the following to game.ini within the saved config directory:
[ModInstaller]
ModIDS=1342813568
ModIDS=821530042
ModIDS=566887000
ModIDS=630601751
ModIDS=731604991
ModIDS=566885854
ModIDS=793605978
ModIDS=812655342
Then in the gameusersettings.ini in the same directory, add:
[ServerSettings]
ActiveMods=1342813568,821530042,566887000,630601751,731604991,566885854,793605978,812655342
With -automanagedmods in your startup command, the normal behaviour up on start, would be that it would seek out the mods you've specified and install/update them under "/home/container/ShooterGame/Content/Mods"
You should see a number of folders and .mod files that correspond to the ModIDs.
Ark, itself, does check for updates to Ark via SteamCMD, but as I said, the -automanagedmods function does not appear to function as it should or, indeed, is not present.
The only way as of typing this is to manually upload mods as they are updated to reflect Ark's version number. Since we are a relatively small modded server, the uploads (compressed) start at 250Mb. I expect that more heavily modded servers using this manual setup could be getting on for a gig or two. This is what prompted me to reach out to you and to see if there would be a potential solution to the automated feature.
from eggs.
Many things I saw stated to not use autmanagedmod in linux. We have steamcmd in the files but I am not sure if ark sees it.
from eggs.
the problem is simple,
1: SteamCMDInstall.sh should be executed 1 time for install required steamcmd files for mods (required for internal server process)
2: We have to symlink deamon-data/xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/Steam/steamapps to deamon-data/xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
3: The server is started from ARK root path like ./ShooterGame/Binaries/Linux/ShooterGameServer by default. This will not work for install mods.
To fix the problem, we should move into bin folder in first time like:
cd deamon-data/xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx/ShooterGame/Binaries/Linux/
and then start the server
./ShooterGameServer TheIsland?listen?ServerPassword....
autmanagedmod is no longer required from start parameter sicne a few patches
from eggs.
Hi guys, quick check whether this is working now? I'm looking into deploying the Pterodactyl ARK Server and would need the mods (using LinuxGSM at the moment and it works fine here with -autmanagedmod
Thanks
from eggs.
Answering my own question: with mod IDs added to game.ini and gameusersettings.ini (same config I used for my LinuxGSM server before), the server starts flawlessly, downloads and installs all mods. Happy days :-)
from eggs.
Hey , this script will work for me , but when i put mods in the gameusersettings.ini and start the server it will download the mods and start the server but i can not connect , because the server says me outdated mods.
Console says:
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 1.24 (5100544 / 411313152)
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 98
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 99
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 100
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 101
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 102
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 103
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 104
completionportmanager_posix.cpp (356) : Assertion Failed: Async I/O on closed handle 105
assert_20200201174537_34.dmp[57]: Uploading dump (out-of-process)
/tmp/dumps/assert_20200201174537_34.dmp
Update state (0x61) downloading, progress: 57.10 (234861568 / 411313152)
assert_20200201174537_34.dmp[57]: Finished uploading minidump (out-of-process): success = yes
assert_20200201174537_34.dmp[57]: response: Discarded=1
assert_20200201174537_34.dmp[57]: file ''/tmp/dumps/assert_20200201174537_34.dmp'', upload yes: ''Discarded=1''
Success! App '376030' fully installed.
:/home/container$ cd ShooterGame/Binaries/Linux && ./ShooterGameServer Valguero_P?listen?SessionName='ArkServer2 by Mysterygaming.de'?ServerPassword=?ServerAdminPassword=?Port=7777?RCONPort=27020?QueryPort=27015?RCONEnabled=false?MaxPlayers=10 -server -log
Using binned.
4.5.1-0+UE4 7038 3077 404 10
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...OK
Downloading item 902548451 ...
Success. Downloaded item 902548451 to "/home/container/Steam/steamapps/workshop/content/346110/902548451" (470296717 bytes) Downloading item 880871931 ...
Success. Downloaded item 880871931 to "/home/container/Steam/steamapps/workshop/content/346110/880871931" (333126911 bytes) Downloading item 1211297684 ...
Success. Downloaded item 1211297684 to "/home/container/Steam/steamapps/workshop/content/346110/1211297684" (249994594 bytes) Downloading item 849372965 ...
Success. Downloaded item 849372965 to "/home/container/Steam/steamapps/workshop/content/346110/849372965" (57022119 bytes) Downloading item 741203089 ...
Success. Downloaded item 741203089 to "/home/container/Steam/steamapps/workshop/content/346110/741203089" (440482359 bytes) Downloading item 1786522940 ...
Success. Downloaded item 1786522940 to "/home/container/Steam/steamapps/workshop/content/346110/1786522940" (437487 bytes) Downloading item 731604991 ...
Success. Downloaded item 731604991 to "/home/container/Steam/steamapps/workshop/content/346110/731604991" (41692077 bytes) Downloading item 793605978 ...
Success. Downloaded item 793605978 to "/home/container/Steam/steamapps/workshop/content/346110/793605978" (415537 bytes)
i think the folder for the mods is not correctly.
from eggs.
The current egg on repo already symlink the mod folder, the egg work just fine, user just have to edit game.ini (allow to downlaod mods from workshop) and GameUserSettings.ini(load mod on server)
from eggs.
Related Issues (20)
- [Egg Request]: Last Oasis (sdktest branch) HOT 7
- [Bug]: <Palworld Proton> HOT 2
- [Bug]: mongodb connection error HOT 11
- [Install Bug]: Unturned HOT 4
- [Install Bug]: tModLoader HOT 2
- [Egg Request]: Draconia HOT 1
- [Egg Request]: FOUNDRY dedicated server request HOT 24
- [Egg Request]: Abiotic Factor HOT 3
- [Egg Request]: usememos Memos HOT 1
- [Egg Request]: Foundry HOT 2
- [Bug]: Vrising bepinex HOT 9
- [Bug]BepInEx v-rising crashing HOT 23
- [Egg Request]: Vaultwarden HOT 3
- LinkStack egg suggestion HOT 2
- [Egg Request]: Automatisch HOT 1
- [Egg Request]: AFFiNE
- [Egg Request]: Emby Media Server HOT 1
- [Egg Request]: Foundry HOT 1
- [Out of memory: false]: <Palworld> HOT 2
- [Out of memory: false]: <Palworld>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eggs.