My dedicated server was all good with 40 mods (bob's, Nuclear, etc) until I decide to add a few new mods.
It will stuck at state (CreatingGame) if I add ANY mods, tried many times, doesn't matter which mod I add.
But it will be good again after I delete the mod I just added.
(I've tried add these mods at midgame on singleplayer, it works fine)
So, Can anyone tell me if it is possible or not. THANKS!
Can't add mods at midgame on a dedicated server
Can't add mods at midgame on a dedicated server
- Attachments
-
- stuck here after add Autofill mod
- 1.png (18.35 KiB) Viewed 2862 times
-
- stuck here after add cheaper_landfill mod (without Autofill)
- 2.png (15.84 KiB) Viewed 2864 times
Re: Can't add mods at midgame on a dedicated server
is the server same hardware as when you tested it single player? also did you test it on local with same savegame as server has?
might be (if it's game state changing mod), that it just takes too long to process, if server is on weaker hardware than your computer.
get savegame from server, mod folder from server, put it on your local, add mods you want, then start headless on your local.
might be (if it's game state changing mod), that it just takes too long to process, if server is on weaker hardware than your computer.
get savegame from server, mod folder from server, put it on your local, add mods you want, then start headless on your local.
Re: Can't add mods at midgame on a dedicated server
I had saves that I copied over from Single Player and from our other Windows Multiplayer Headless that I changed or upgraded mods on the Linux headless and even moved games between instances. I found that when I changed the mods folder contents (for versions or mods loaded) you need to delete the mods-list.json so it rebuilds during the next startup, I think we had issues with this on our Windows Headless setup as well. Only other thing I can think of is a conflict between the mods.
Currently running Headless 0.14.22 on Ubuntu LTS 16.x with multiple games and different mods on both.
Currently running Headless 0.14.22 on Ubuntu LTS 16.x with multiple games and different mods on both.
Re: Can't add mods at midgame on a dedicated server
Hi check permission for mods.a i always forget to use chown -R factorio:factorio /opt/ when modify server
Re: Can't add mods at midgame on a dedicated server
Forgot about that... That has caused me so much headache. I am just in a habit to update the permissions every time I make a change to the /opt/factorio/ folders JIC, as I am running the server as a service.zullkif wrote:Hi check permission for mods.a i always forget to use chown -R factorio:factorio /opt/* when modify server