Jump to content

Loading Mods from Steamcmd not working


decoy2711

Recommended Posts

Hi everyone,

 

I'm looking for some help with installing zomboid mods on my NUC based linux server. I'm running an Intel NUC 6i5syh with 16gb ram, running Ubuntu Server 16.04 (just a command line, no gui).

 

I've managed to run vanilla servers fine. I've used wget to download steamcmd, unzipped and run.

 

After steamcmd has run, i've installed and run the zomboid server, port forwarded as necessary, and modified the servertest.ini file to get the basic game working the way I like. I've had a handful of friends playing this game no worries.

 

Now though, I want to add a few mods like crematorium, and the learn medicine from dissecting zombie corpses mod. I've watched a few online tutorials and gathered that I have to again modify the servertest.ini file to change:

 

MODS=

WORKSHOP_ID=

 

to

 

MODS=CorpseStudy

WORKSHOP_ID=1236360319

 

(multiple mods to be delineated by a ";")

 

As far as I'm aware, doing the above should have the game auto download the updates necessary and run them when the server runs. Unfortunately, after doing this, when attempting to start the server, there are a bunch of notices like:

 

Working: DownloadPending GetItemState()=NeedsUpdateDownloadPending<my photo clipped the rest of this>

 

Finally, it shows:

 

znet: OnDownloadItemResult

Workshop: onItemNotDownloaded itemID=1236360319 result=37

Workshop: Item state DownloadPending --> Fail ID=1236360319

 

I would appreciate any help that can be given. If you need any more info let me know. I'm in Australia, so might no answer right away if you are located elsewhere in the world.

 

Cheers,

 

D.

 

 

Link to comment
Share on other sites

Spoiler

 

Hello,

 

First make sure that everything really is written correctly in the servertest.ini
https://imgur.com/F6qFLug
- Example servertest.ini

Also try running the server executable from the install folder and not through a shortcut.

If that doesn't work, make sure that any steam ports are open: https://support.steampowered.com/kb_article.php?ref=8571-GLVN-8711

 

Good luck!

Link to comment
Share on other sites

Hi Beard,

 

Thanks very much for the reply! And sorry it has taken me so long to get to you.

 

I've double and triple checked the servertest.ini file and everything appears to be written correctly. Mods=CorpseStudy  & WorkshopItems=1236360319. If I delete "CorpseStudy" & "1236360319", then the server will run fine and I can play with several friends.

 

I always run from the install folder as I'm using Ubuntu Server 16.04 Command Line(doesnt have a gui option), and I have never used a shortcut in the CLI. I don't even think that there is one.

 

I also double checked my port forwarding and all of that seems sorted, which makes sense considering my no-mod game works fine when playing with mates.

 

I've managed to get the server working with mods on a windows machine, but am very keen to get it going on this Ubuntu Server.

 

If you have any other ideas based on what I've said, please let me know.

 

Thanks in advance,

 

D.

 

 

Edited by decoy2711
Forgot a point.
Link to comment
Share on other sites

Don't think workshop downloading has ever worked on Linux, for whatever reason.  You'd need to download the files on a Windows machine and transfer them over to the corresponding folder on Linux (that should be \Project Zomboid Dedicated Server\steamapps\).

 

This is  partially why I stopped hosting my servers on Linux. I guess it's just been a long time since any one else tried and reported back, given that's over two years ago now.  We'll have to test it here and see if we can figure out why this is. *Googling, it seems like it could be more than just a PZ problem . . . so that's . . . weird.

Link to comment
Share on other sites

33 minutes ago, EnigmaGrey said:

I guess it's just been a long time since any one else tried and reported back, given that's over two years ago now.

Reporting back now....I've successfully downloaded workshop items using steamcmd on our debian stretch linux server in anonymous mode without issues.

Even wrapped a python script around the whole process that downloads from the workshop, zips up the files and moves it to a private download location for me our webserver...and optionally moves it into our GOG server's ~/Zomboid/mods directory

Link to comment
Share on other sites

1 hour ago, Fenris_Wolf said:

Reporting back now....I've successfully downloaded workshop items using steamcmd on our debian stretch linux server in anonymous mode without issues.

Even wrapped a python script around the whole process that downloads from the workshop, zips up the files and moves it to a private download location for me our webserver...and optionally moves it into our GOG server's ~/Zomboid/mods directory

What distro?

 

Alt. theory from the Google results is Ubuntu's DNS settings.

Link to comment
Share on other sites

Hey EnigmaGrey & Fenris_Wolf,

 

Thank you both for the replies. For some reason I'm not getting notifications of replies in my email otherwise I would have answered sooner.

 

EnigmarGrey, your second suggestion, to log into steamcmd with my actual username and password, and install + validate command is something I've tried already, and that one didn't work. Though your first suggestion isn't one that i've tried. Kind of annoying, but if it works, I'm willing to give it a go.

 

It's just on midnight here now so I'll have a proper read over this tomorrow and hopefully make some progress either with the windows + transfer method, or trying debian stretch.

 

Thanks again! You guys are legends :)

 

D.

Link to comment
Share on other sites

Hey everyone,

 

I've managed to get this working based on EnigmaGrey's earlier response in which he said, "Don't think workshop downloading has ever worked on Linux, for whatever reason..." Once i got the files downloaded on my windows machine, and transferred them it all worked fine.

 

Fenris_Wolf, thanks for your suggestion re: using Debian Stretch. For now, I won't have to use this method, but if the server has issues later, I may have to give it a try.

 

Thank you both very much for the help!

 

Now, to kill some zombies.

 

Cheers,

 

D.

 

 

Link to comment
Share on other sites

  • 2 months later...

Can I confirm the workshop mods directory is:

steamapps/workshop/content/108600

?

There is no steamapps folder inside 'Project Zomboid Dedicated Server' folder

What is the Zomboid/Workshop folder for?

Also what is the Zomboid/mods folder for?

 

The are folders everywhere, its a nightmare.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...