LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

SDTD Mod (Request? / mods_list.sh)

Open devtos opened this issue 4 years ago • 18 comments

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" )```

devtos avatar Oct 18 '21 13:10 devtos

@devtos any logs

johnoclockdk avatar Oct 30 '21 16:10 johnoclockdk

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

devtos avatar Nov 01 '21 14:11 devtos

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

johnoclockdk avatar Nov 01 '21 15:11 johnoclockdk

logs.zip

devtos avatar Nov 01 '21 15:11 devtos

#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

johnoclockdk avatar Nov 01 '21 16:11 johnoclockdk

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.

devtos avatar Nov 01 '21 17:11 devtos

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

johnoclockdk avatar Nov 01 '21 18:11 johnoclockdk

right

devtos avatar Nov 01 '21 20:11 devtos

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

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

devtos avatar Nov 04 '21 11:11 devtos

atm work on some eles

johnoclockdk avatar Nov 04 '21 12:11 johnoclockdk

and now?

devtos avatar Dec 07 '21 09:12 devtos

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

johnoclockdk avatar Dec 09 '21 15:12 johnoclockdk

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

vinanrra avatar Jan 17 '22 13:01 vinanrra

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

lgsm/functions/

h3o66 avatar Jan 17 '22 13:01 h3o66

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

vinanrra avatar Jan 17 '22 18:01 vinanrra

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

h3o66 avatar Jan 19 '22 17:01 h3o66

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 :/

vinanrra avatar Jan 19 '22 17:01 vinanrra

@devtos im work on this mod atm

johnoclockdk avatar Jan 25 '22 22:01 johnoclockdk