mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #1598] Resolve Mods By ARK ( LGSM ) #1250
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#1250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FlashModz on GitHub (Aug 30, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1598
Hello Everyonne,
I found a solution for mods in ARK and that will avoid any errors.
Here is what I did. You can do the same with a symbolic links as needed.
Tested on Ubuntu 16.04 LTS
After
and remplace the following content https://pastebin.com/70Pd6rkR
Save and close
After
Add the following content
Put this last in your file GameUserSettings
Save and Close.
Good Game For All 💃
@iskaraltok commented on GitHub (Aug 31, 2017):
Unfortunately this fix is not working for myself. Below is the postdetails and also what I see in the console for the server.
https://hastebin.com/upuhinuqok.sql
@Rayzos commented on GitHub (Sep 4, 2017):
This solution brings positive in the sense that the client sees the mod present on the server when the mod loaded on your client the server becomes invisible.
@UltimateByte commented on GitHub (Sep 4, 2017):
Thanks for the effort.
(I edited your post, edit it again to see how to enter code with the correct syntax :p )
@iskaraltok commented on GitHub (Sep 4, 2017):
Alright I have gotten this working now.
Then
and replace the following content https://pastebin.com/70Pd6rkR
Then
Under [ServerSettings] add the following line like so, add ModIDS comma (,) separated:
Then symlink steamapps to the above installed ~/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux
@iskaraltok commented on GitHub (Sep 4, 2017):
Need also a solution for this, it seems like for each server (when using multiple servers, e.g. ./linuxgsm.sh arkserver) it tries to download again even though they share the directories:
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 3 items discarded.
@Sdrabor commented on GitHub (Sep 4, 2017):
To add what I've noticed (very similarly to iskaraltok), here's what I did (Ubuntu 16.04 LTS):
I also did "
cd ./serverfiles/Engine/Binaries/ThirdParty/SteamCMD
mkdir ./Linux
cd ./Linux
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
"
didn't have to chown since I ran the curl as my arkserver acct
deleted my ~/steamcmd and instead symlinked it via
ln -s /home/{user}/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/ /home/{user}/steamcmd
created directory where I wanted my mods to be downloaded
mkdir ~/mods
forced steamcmd to install one mod to force the install dir
~/steamcmd/steamcmd.sh +login anonymous +force_install_dir /home/arkserver/mods +workshop_download_item 346110 895711211
delete steamapps workshop dir if it exists
rm -R /home/{user}/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop
symlinked workshop to my mods dir via
ln -s /home/{user}/mods/steamapps/workshop/ /home/{user}/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps/workshop
also changed my arkserver.cfg to include (I'm running TheIsland map):
fn_parms(){
parms=""TheIsland?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port}?" -automanagedmods"
}
Forgot the last bit:
Added the mods into GameUserSettings, listing in order of importance under [ServerSettings]:
ActiveMods={ModID1},{ModID2},etc
Edited because github was blanking some stuff out
@dgibbs64 commented on GitHub (Sep 10, 2017):
This issue shoudl be resolved now. Please can this be confirmed then I will close
@RussianRonin commented on GitHub (Sep 15, 2017):
The incorrect directory seems to be symlinked with the ark fix.
My Postdetails: https://hastebin.com/itedemafix
So, the directory that is being symlinked now is
arkserver/steamcmd
to
/home/russianronin/arkserver/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux
But the mods download to
/home/russianronin/Steam/steamapps/workshop/content/346110/731604991
which I do not think the server has access to in any way.
If someone with a bit more experience with the linux ark server would like to confirm, it would be appreciated.
Edit 1:
After looking at some of these replies, I think this would work if you run it in the root of the user I see now. But it does not work if you run it in a folder like I do.
Edit 2:
Once I did this
the mods seem to now load appropriately into ARK.
@iskaraltok commented on GitHub (Sep 15, 2017):
@RussianRonin I believe your issue is you didn't install it the suggested way under a new user called 'arkserver' you installed the ark server under your main user 'russianronin'
@RussianRonin commented on GitHub (Sep 15, 2017):
I get that.
But, even still, the script should take this into account. It makes it a lot easier to manage multiple servers under one user than one server under every user. I have not run into any other issues running this way before. And honestly, it should be an easy fix I would think?
@iskaraltok commented on GitHub (Sep 15, 2017):
@RussianRonin Yes but look at your directories, you have 1 extra level of hierarchy in your symlink
the link can probably be rewritten to work regardless of which user its linked under but there's still the issue i just mentioned with your structure.
/home/arkserver/Steam/steamapps/
/home/russianronin/Steam/steamapps/
/home/arkserver/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
/home/russianronin/arkserver/serverfiles/Engine/Binaries/ThirdParty/SteamCMD/Linux/steamapps
@RussianRonin commented on GitHub (Sep 15, 2017):
Something like
would probably not be that hard to implement. Therefore it is relying on the home directory no matter what but still runs correctly to get the ${serverfiles} parameter.
@RussianRonin commented on GitHub (Sep 16, 2017):
After extensive testing, this is what I came up with.
You have to add
to fix_ark.sh
I did not do any manual modification except adding this to fix_ark.sh and clean installing ark and mods load flawlessly (of course after you do the proper mod setup for ark itself).
I am not the best at bash so I am sure someone has a better solution but this works for me flawlessly.
@RussianRonin commented on GitHub (Sep 16, 2017):
#1618 Pull request for changes mentioned above.
@dgibbs64 commented on GitHub (Sep 21, 2017):
Please can the fix for this be confirmed as working and I will close this
@RussianRonin commented on GitHub (Sep 21, 2017):
I can confirm it is working but I would like other users confirmation as well!
@usud85 commented on GitHub (Sep 28, 2017):
i always had another solution for updateing mods
ark checked every 10 minutes
then ingame countdown when it will restart then download and update mods
@gamersalpha commented on GitHub (Nov 2, 2017):
Hello,
up of this, can make it drectly on linuxGSM please
i do all the step, but i can't activated the mod ingame :/
please update
@gamersalpha commented on GitHub (Nov 2, 2017):
i foud this on my log :
@gamersalpha commented on GitHub (Nov 2, 2017):
ok with the last release of linux-gsm, u don't have to do all this stuff, now mod are diretcly working with the linux-gsm last release
@shinji257 commented on GitHub (Nov 27, 2017):
For this issue I ended up setting up arkserver.cfg. The script does setup the majority of the things needed but you still need to add -automanagedmods. This should do it. Note that earlier pastebins or references missed needed escaping of quotes in the command line. One version did work but it threw a spurious error that may or may not of affected things.
My actual extra params is a bit longer but that works on its own. Once done you should end up with this.
@wylandplex commented on GitHub (Nov 29, 2017):
I've got some trouble - The script says it downloads the mods just fine. But if I check the directory its empty. Best regards & thanks lot already for some help!
@gamersalpha commented on GitHub (Dec 16, 2017):
same bug here :/
i m stuck can't make update mod and now i can't connect on my serveur :/
@gamersalpha commented on GitHub (Aug 5, 2019):
Hello,
so i create a new server, and now same bug can't lunch mod on it :/
@gamersalpha commented on GitHub (Aug 5, 2019):
OK so what i do :
1 - first frech install of linux gsm.
2 - adding my mod on this files like this :
nano serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
ActiveMods=731604991,632091170,554678442
nano serverfiles/ShooterGame/Saved/Config/LinuxServer/Game.ini
[ModInstaller]
ModIDS=731604991
ModIDS=632091170
ModIDS=554678442
after that i restart my server :
./arkserver restart
and when i ply o mod loading :/
so i try the command :
./Arkserver debug andi have this :
so something is wrong :
and stuck here
someone get info please :
@dgibbs64 commented on GitHub (Jul 3, 2020):
I completed a big overhaul of mods a couple of releases ago so mods should be working much better now
@github-actions[bot] commented on GitHub (Jul 4, 2021):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.