[GH-ISSUE #3621] SDTD Mod (Request? / mods_list.sh) #2415

Open
opened 2026-02-27 03:02:47 +03:00 by kerem · 18 comments
Owner

Originally created by @devtos on GitHub (Oct 18, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3621

Hey,
i like to play 7d2d and added a mod to mods_list.sh but got a problem with the unpacked dir.
Unpacked theres a folder called like the zip and i would like to move the content of this to ../ and delete the zip-named-folder.

My code till now is like this:

** mods_list.sh **

#War of the Walkers Mod
wotwmodversion="v8-stable"
wotwmodlatestfile="war-of-the-walkers-mod-${wotwmodversion}-master.zip"
wotwmoddownloadurl="https://gitlab.com/dwallorde/war-of-the-walkers-mod-v8-stable/-/archive/master/${wotwmodlatestfile}"
wotwmodurl="${wotwmoddownloadurl}"
# 7D2D War of the walkers mod     wotwmodurl
mod_info_wotwmod=( MOD "war-of-the-walkers-mod" "war-of-the-walkers-mod for 7 Days To Die" "${wotwmodurl}" "${wotwmodlatestfile}" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "7 Days To Die;" "Dwallorde" "https://7daystodiemods.com/war-of-the-walkers-mod/" "War of the Walkers Mod" )```
Originally created by @devtos on GitHub (Oct 18, 2021). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3621 Hey, i like to play 7d2d and added a mod to mods_list.sh but got a problem with the unpacked dir. Unpacked theres a folder called like the zip and i would like to move the content of this to ../ and delete the zip-named-folder. My code till now is like this: ** mods_list.sh ** ``` #War of the Walkers Mod wotwmodversion="v8-stable" wotwmodlatestfile="war-of-the-walkers-mod-${wotwmodversion}-master.zip" wotwmoddownloadurl="https://gitlab.com/dwallorde/war-of-the-walkers-mod-v8-stable/-/archive/master/${wotwmodlatestfile}" wotwmodurl="${wotwmoddownloadurl}" # 7D2D War of the walkers mod wotwmodurl mod_info_wotwmod=( MOD "war-of-the-walkers-mod" "war-of-the-walkers-mod for 7 Days To Die" "${wotwmodurl}" "${wotwmodlatestfile}" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "7 Days To Die;" "Dwallorde" "https://7daystodiemods.com/war-of-the-walkers-mod/" "War of the Walkers Mod" )```
Author
Owner

@johnoclockdk commented on GitHub (Oct 30, 2021):

@devtos any logs

<!-- gh-comment-id:955386077 --> @johnoclockdk commented on GitHub (Oct 30, 2021): @devtos any logs
Author
Owner

@devtos commented on GitHub (Nov 1, 2021):

where can i find a suitable log?
i dind't found something that's showed the mod installation.
here's a screenshot of the problem.

the script above unpacks in "war-of-the-walkers-mod-v8-stable-master" and after this have to move the files by hand from "war-of-the-walkers-mod-v8-stable-master" to "../". Then everythings fine.

image

<!-- gh-comment-id:956283302 --> @devtos commented on GitHub (Nov 1, 2021): where can i find a suitable log? i dind't found something that's showed the mod installation. here's a screenshot of the problem. the script above unpacks in "war-of-the-walkers-mod-v8-stable-master" and after this have to move the files by hand from "war-of-the-walkers-mod-v8-stable-master" to "../". Then everythings fine. ![image](https://user-images.githubusercontent.com/45368989/139687730-784ea343-8795-4dc7-bd3d-a1ba91f4ed96.png)
Author
Owner

@johnoclockdk commented on GitHub (Nov 1, 2021):

where can i find a suitable log? i dind't found something that's showed the mod installation. here's a screenshot of the problem.

the script above unpacks in "war-of-the-walkers-mod-v8-stable-master" and after this have to move the files by hand from "war-of-the-walkers-mod-v8-stable-master" to "../". Then everythings fine.

image

in the lgsm folder there will be a log folder

<!-- gh-comment-id:956325854 --> @johnoclockdk commented on GitHub (Nov 1, 2021): > where can i find a suitable log? i dind't found something that's showed the mod installation. here's a screenshot of the problem. > > the script above unpacks in "war-of-the-walkers-mod-v8-stable-master" and after this have to move the files by hand from "war-of-the-walkers-mod-v8-stable-master" to "../". Then everythings fine. > > ![image](https://user-images.githubusercontent.com/45368989/139687730-784ea343-8795-4dc7-bd3d-a1ba91f4ed96.png) in the lgsm folder there will be a log folder
Author
Owner

@devtos commented on GitHub (Nov 1, 2021):

logs.zip

<!-- gh-comment-id:956343115 --> @devtos commented on GitHub (Nov 1, 2021): [logs.zip](https://github.com/GameServerManagers/LinuxGSM/files/7454384/logs.zip)
Author
Owner

@johnoclockdk commented on GitHub (Nov 1, 2021):

#War of the Walkers Mod
wotwmodversion="v8-stable"
wotwmodlatestfile="war-of-the-walkers-mod-${wotwmodversion}-master.zip"
wotwmoddownloadurl="https://gitlab.com/dwallorde/war-of-the-walkers-mod-v8-stable/-/archive/master/${wotwmodlatestfile}"
wotwmodurl="${wotwmoddownloadurl}"
# 7D2D War of the walkers mod     wotwmodurl
mod_info_wotwmod=( MOD "war-of-the-walkers-mod" "war-of-the-walkers-mod for 7 Days To Die" "${wotwmodurl}" "${wotwmodlatestfile}" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "7 Days To Die;" "Dwallorde" "https://7daystodiemods.com/war-of-the-walkers-mod/" "War of the Walkers Mod" )```

you missing the mods_global_array=( "${mod_info_wotwmod[@]}") from the list

<!-- gh-comment-id:956380147 --> @johnoclockdk commented on GitHub (Nov 1, 2021): ``` #War of the Walkers Mod wotwmodversion="v8-stable" wotwmodlatestfile="war-of-the-walkers-mod-${wotwmodversion}-master.zip" wotwmoddownloadurl="https://gitlab.com/dwallorde/war-of-the-walkers-mod-v8-stable/-/archive/master/${wotwmodlatestfile}" wotwmodurl="${wotwmoddownloadurl}" # 7D2D War of the walkers mod wotwmodurl mod_info_wotwmod=( MOD "war-of-the-walkers-mod" "war-of-the-walkers-mod for 7 Days To Die" "${wotwmodurl}" "${wotwmodlatestfile}" "0" "LowercaseOff" "${systemdir}" "OVERWRITE" "ENGINES" "7 Days To Die;" "Dwallorde" "https://7daystodiemods.com/war-of-the-walkers-mod/" "War of the Walkers Mod" )``` ``` you missing the mods_global_array=( "${mod_info_wotwmod[@]}") from the list
Author
Owner

@devtos commented on GitHub (Nov 1, 2021):

thx, but no, i just left this part out, because its not the problem.

maybe my problem is to complex, i will try it again to descripe what my problem is.

the mod gets unpackt in a folder with the name of the zip.

thats my problem, i can install the mod with the lgsm way, works fine, great work by you guys.

AFTER the installation i can't use it coz everything is in the wrong folder. Please see the screenshot.
its in "/home/sdtdserver/serverfiles/war-of-the-walkers-mod-v8-stable-master"
but should be in "/home/sdtdserver/serverfiles/" .

i just want to move it (the content of the zip) from /home/sdtdserver/serverfiles/war-of-the-walkers-mod-v8-stable-master to /home/sdtdserver/serverfiles/

everything else works fine.

<!-- gh-comment-id:956416840 --> @devtos commented on GitHub (Nov 1, 2021): thx, but no, i just left this part out, because its not the problem. maybe my problem is to complex, i will try it again to descripe what my problem is. **the mod gets unpackt in a folder with the name of the zip.** thats my problem, i can install the mod with the lgsm way, works fine, great work by you guys. **AFTER** the installation i can't use it coz everything is in the wrong **folder**. Please see the screenshot. its in **"/home/sdtdserver/serverfiles/war-of-the-walkers-mod-v8-stable-master"** but should be in **"/home/sdtdserver/serverfiles/"** . i just want to **move** it (the content of the zip) from **/home/sdtdserver/serverfiles/war-of-the-walkers-mod-v8-stable-master** to **/home/sdtdserver/serverfiles/** everything else works fine.
Author
Owner

@johnoclockdk commented on GitHub (Nov 1, 2021):

look likes it dont unpack the mod in right places right ?

<!-- gh-comment-id:956500583 --> @johnoclockdk commented on GitHub (Nov 1, 2021): look likes it dont unpack the mod in right places right ?
Author
Owner

@devtos commented on GitHub (Nov 1, 2021):

right

<!-- gh-comment-id:956558129 --> @devtos commented on GitHub (Nov 1, 2021): right
Author
Owner

@devtos commented on GitHub (Nov 4, 2021):

look likes it dont unpack the mod in right places right ?

so, whats your idea? can you help or implement this mod by yourself?

<!-- gh-comment-id:960731741 --> @devtos commented on GitHub (Nov 4, 2021): > look likes it dont unpack the mod in right places right ? so, whats your idea? can you help or implement this mod by yourself?
Author
Owner

@johnoclockdk commented on GitHub (Nov 4, 2021):

atm work on some eles

<!-- gh-comment-id:960752206 --> @johnoclockdk commented on GitHub (Nov 4, 2021): atm work on some eles
Author
Owner

@devtos commented on GitHub (Dec 7, 2021):

and now?

<!-- gh-comment-id:987733228 --> @devtos commented on GitHub (Dec 7, 2021): and now?
Author
Owner

@johnoclockdk commented on GitHub (Dec 9, 2021):

i'm very busy with moving house and other coding sorry

<!-- gh-comment-id:989956434 --> @johnoclockdk commented on GitHub (Dec 9, 2021): i'm very busy with moving house and other coding sorry
Author
Owner

@vinanrra commented on GitHub (Jan 17, 2022):

Where is that "mods_list.sh" file? I can check it and see if i can fix it @johnoclockdk @devtos

<!-- gh-comment-id:1014520277 --> @vinanrra commented on GitHub (Jan 17, 2022): Where is that "mods_list.sh" file? I can check it and see if i can fix it @johnoclockdk @devtos
Author
Owner

@h3o66 commented on GitHub (Jan 17, 2022):

Where is that "mods_list.sh" file? I can check it and see if i can fix it @johnoclockdk @devtos

lgsm/functions/

<!-- gh-comment-id:1014549970 --> @h3o66 commented on GitHub (Jan 17, 2022): > Where is that "mods_list.sh" file? I can check it and see if i can fix it @johnoclockdk @devtos lgsm/functions/
Author
Owner

@vinanrra commented on GitHub (Jan 17, 2022):

Btw I have a script that do what you want, if u want I can link it

<!-- gh-comment-id:1014785145 --> @vinanrra commented on GitHub (Jan 17, 2022): Btw I have a script that do what you want, if u want I can link it
Author
Owner

@h3o66 commented on GitHub (Jan 19, 2022):

Btw I have a script that do what you want, if u want I can link it

would be probably easier if you could do a PR based on tthe develop branch

<!-- gh-comment-id:1016671261 --> @h3o66 commented on GitHub (Jan 19, 2022): > Btw I have a script that do what you want, if u want I can link it would be probably easier if you could do a PR based on tthe develop branch
Author
Owner

@vinanrra commented on GitHub (Jan 19, 2022):

Btw I have a script that do what you want, if u want I can link it

would be probably easier if you could do a PR based on tthe develop branch

The problem it's that my script it's outside of LinuxGSM, and I don't know how that function works :/

<!-- gh-comment-id:1016706605 --> @vinanrra commented on GitHub (Jan 19, 2022): > > Btw I have a script that do what you want, if u want I can link it > > would be probably easier if you could do a PR based on tthe develop branch The problem it's that my script it's outside of LinuxGSM, and I don't know how that function works :/
Author
Owner

@johnoclockdk commented on GitHub (Jan 25, 2022):

@devtos im work on this mod atm

<!-- gh-comment-id:1021657935 --> @johnoclockdk commented on GitHub (Jan 25, 2022): @devtos im work on this mod atm
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2415
No description provided.