Jump to content

Build 32.30 ServerSettings Trouble


jasonisaacmelnyk

Recommended Posts

Hello everyone!

 

I'm just gonna start off by saying I love the game. Had a little trouble hosting a server, but finally got it all working properly... or at least so I thought.

 

Just to clarify I downloaded all the necassary steam files to host a steam server. I port forwarded correctly with available slots for 4 people. I can play both online with my friend at his house and lan. Before I start the server I start from scratch by going to the serversettings.exe in the Project Zomboid install directory. Once I have adjusted the server settings for my server I go to the file where I installed the steam server update to launch my server. Once I launched it once it creates the testserver.ini file which I edit to set a spawn point. I launch the server again and start zomboid. I log in fine, create my character, my friend joins, but the serversettings don't seem to have an effect. Even if I adjust the erosion to be at the fastest level and start 8 months into the apocalypse, no grass growing the street or vines growing on buildings. This works in the singleplayer when I do this, but not online. To make it even more weird, I tested it once by setting the zombies to sprinters. That seemed to work, but nothing else. Please help, I've tried looking at the code to see if there are any errors or things that wont load, but nothing. I don't know if the settings are being saved somewhere else when you host a steam server compared to hosting a WAN/LAN non-steam server. Any info will help. I'll try creating a non steam server on my local network and changing the settings to see if it effects the non steam hosting. Anyway, let me know if you need any code or anything. Anything will help, thanks!

 

-JayMel

Link to comment
Share on other sites

Ok, so I tried with a non-steam server and the settings work great. I set the zombies to low sprinters, 8 months in, erosion full, rotten food, everything. Seems like everything works with non steam servers. However, the steam version is still not work. I even tried starting the server and allowing it to create the serverVAR.lua file from default, then closing the server, editing the settings in serversettings.exe and then re-launching the server. Just to be extra sure I tried setting it to no zombies at all. When I start the game there are still a normal amount of zombies and everything. However, if I edit it and change to sprinters, they become sprinters. It's like the server is picking and choosing which settings are applied to the game. I don't know what is going, but I'm trying my best to do a bunch of troubleshooting. If anyone else has this problem or knows a fix, please help.

Link to comment
Share on other sites

That helps! Thank you. Though there was a little more to it after I took a look at the code again. Apparently, when creating a new server, you have to delete all the old files in C: Users\Zomboid\server and all the files in C: User\Zomboid\Multiplayer. I guess the multiplayer folder is where it saves all of the player files in addition to the erosion files. It must have been getting confused because I would create new files in the server folder, but I wasn't deleting the files in the Multiplayer file. I tried it a few different ways and creating the server in this order worked for me the best.

 

1. Delete all pre-existing files in both the Multiplayer and Server folders within the User\youraccountname\Zomboid directory.

 

2. Launch the Server launcher from the folder where you downloaded the Steam update files. Directions for install for those here = http://steamcommunity.com/sharedfiles/filedetails/?id=514493377

 

3. With the server launcher still open, go to the Project Zomboid install directory (Usually under C: ProgramFiles(86)\Steam\steamapps\common\projectzomboid) and launch the serversettings.exe.

 

4. Adjust your settings and hit save. It will ask if you want to overwrite, hit yes.

 

5. Type reloadoptions into the admin console for your server.

 

6. Close the admin console for your server and reopen it. 

 

7. Launch PZ and find your server.

 

8. Click join, enter the game and all your server settings should work properly. 

 

This is my way of doing it that has proved to work more than once for me. I'll keep this thread updated if I encounter any further problems. Let me know if any of you encounter similar problems. Also, thanks for the help Sykriss. I was afraid it was gonna take a minute to get an answer. Thanks for the prompt response.

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