Jump to content

Unable to Choose Spawn Region after adding New Maps


bobbo489

Recommended Posts

Hello

Tried searching but I may not be using the correct terms.  I have a PZ server running in a docker container.  I have edited the world.ini file to include the mods I want to use, the following section have been edited

 

Mods=tsarslib;amclub;AquatsarYachtClub;ATA_Jeep;isoContainers;RainCleansBlood;Super Bulldozer;Chestown;Fort Knox;lakeivytownship;KingsmouthKY
Map=Kingsmouth;li_township;Fort Knox, KY by Woldren;Chestown;Muldraugh, KY
WorkshopItems=2392709985;2778576730;2392987599;2636100523;2625625421;2956146279;2713275891;2840889213;1414568604;2252982049;2434339338


I have not adjusted my SpawnRegions.lua file, so it remains with having the default 4 regions.

 

I am facing the issue of the game not allowing me to choose my spawn region, whenever I join it drops me into Char creation.  I then spawn in Kingsmouth.

 

This is a new world.  I installed the container, it auto started.  I stopped it, removed the world.db file, as well as the Saves/Multiplayer/world/ directory.  I then took the local world.ini file and uploaded it to the location that the docker container reads from.  Then restarted the docker container.  The game spins up but drops me in like described above.

Link to comment
Share on other sites

It then drops me in Lake Ivy, I remove the Lake Ivy and Kingsmouth and it starts showing me the region select again.  Oddly, a friend that is hosting a server that runs locally on his computer, instead of dedicated, has no issues.

Link to comment
Share on other sites

Looking at the logs, it seems the game is pulling the spawnregions.lua from whichever map is set first in line in the Map= field.  If FortKnox is first, it pulls the FortKnox one, if Chestown is first it pulls that one, if Lake Ivy or Kingsmouth (which don't have spawnregions.lua) it force spawns me there.

Link to comment
Share on other sites

For reference for above

 

LOG  : Lua         , 1681943603291> 1,303,369,473> Loading: Zomboid/Server/servertest_SandboxVars.lua
LOG  : General     , 1681943603294> 1,303,369,476> writing /serverdata/serverfiles/Zomboid/Server/servertest_SandboxVars.lua
LOG  : Lua         , 1681943603363> 1,303,369,545> Loading: steamapps/workshop/content/108600/2840889213/mods/Chestown/media/maps/Chestown/spawnregions.lua
LOG  : Lua         , 1681943603364> 1,303,369,546> Loading: media/maps/Muldraugh, KY/spawnpoints.lua
LOG  : Lua         , 1681943603365> 1,303,369,548> Loading: media/maps/West Point, KY/spawnpoints.lua
LOG  : Lua         , 1681943603367> 1,303,369,549> Loading: media/maps/Rosewood, KY/spawnpoints.lua
LOG  : Lua         , 1681943603368> 1,303,369,550> Loading: steamapps/workshop/content/108600/2840889213/mods/Chestown/media/maps/Chestown/spawnpoints.lua
LOG  : Network     , 1681943603386> 1,303,369,568> Loading world...

 

Link to comment
Share on other sites

I copied all the files to my server folder and loaded the server through the Host menu, it loaded the Spawn points just fine.
Or are you perhaps starting a Dedicated server and not going through the Host menu? Do you perhaps have any other server settings in the Zomboid/Server folder?
Lastly, I may just recommend trying to verify your game files first as well, since it loaded correctly for me.
Steam Library > Right-click Project Zomboid > Properties > Local Files > Verify Local Files

image.png

Link to comment
Share on other sites

Yep, so loading it via Host (locally) it shows what you have above.  When you load it onto a Docker (I am running it in Unraid using https://hub.docker.com/r/ich777/steamcmd/)  it skips the Select Spawn Location screen.

 

The PZ game is being hosted on a server, not near me.  It is running in a Docker Container on the server.  All the files I attached above are directly pulled from the server/container, so not sure if there is somewhere else I should be trying to grab, but those were the ones in the Zomboid/Server folder.  

 

I did a verify of local files just before posting up the files here, figured I would try to eliminate all local problems.  I know in the server-console.txt it shows where it attempts to pull in the spawn regions, but ends up only pulling in the one for the map listed first in the Map= list.

Link to comment
Share on other sites

I see, so the point of failure would be the docker setup, I can only really direct you to it being the issue as I have no experience with dockers or how to go about fixing them. It would either be a permission / file issue as the image is not reading the map regions correctly most likely. I have no idea how to fix that on a docker though.

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...