-modstorage switch for server_linux32 (probably) does work, but...
victort
Join Date: 2013-09-09 Member: 188078Members, Reinforced - Diamond, Reinforced - Shadow
hi,
I've installed a couple maps via the Mods tab in the webadmin.
they show up when the server runs, but when i tell the server to switch to one of the new maps (ns2_caged, for example), SOMETIMES it does, but MOST of the time it doesn't.
my log reads:
Loading 'maps/ns2_caged.level'
Error: Couldn't load 'maps/ns2_caged.level'
even though (it seems ilke i shouldn't have to) i set -modstorage \"/home/myusername/.config/Natural\ Selection\ 2/Workshop/\" it continually ONLY looks for mods in ./NS2/ns2/maps
if i make a complicated series of symlinks from my ./Workshop/*/{maps,materials,overviews} (an awful hack which isn't even accurate) directories into ./NS2/ns2 then it works..
..so i know it *works*, but why can't i properly map to the Workshop directory with -modstorage, and more importantly, why do i *have* to, why doesn't the game naturally look there(, too)?
-m
I've installed a couple maps via the Mods tab in the webadmin.
they show up when the server runs, but when i tell the server to switch to one of the new maps (ns2_caged, for example), SOMETIMES it does, but MOST of the time it doesn't.
my log reads:
Loading 'maps/ns2_caged.level'
Error: Couldn't load 'maps/ns2_caged.level'
even though (it seems ilke i shouldn't have to) i set -modstorage \"/home/myusername/.config/Natural\ Selection\ 2/Workshop/\" it continually ONLY looks for mods in ./NS2/ns2/maps
if i make a complicated series of symlinks from my ./Workshop/*/{maps,materials,overviews} (an awful hack which isn't even accurate) directories into ./NS2/ns2 then it works..
..so i know it *works*, but why can't i properly map to the Workshop directory with -modstorage, and more importantly, why do i *have* to, why doesn't the game naturally look there(, too)?
-m
Comments
Oh and don't forget that the server user must have full access to the modstorage directory (rwx dirs and rw files)
If you specify the modstorage folder, it will download them to the modstorage, not that folder
i found a less complicated workaround,
if i symlink the top-level mod directories in my default modstorage (~/.config/Natural Selection 2/Workshop) into the top-level game storage, then use -mods [list_of_mods]
then it works. but i have to *manually* symlink any new mods i download.
-m
screw it.. i'll just run stock maps.. there doesn't seem any clean way to reliably add other maps (on dedicated Linux servers).
=(