Project Zomboid

Project Zomboid

Hellsvien Dec 31, 2021 @ 10:52pm
Dedicated Server - How to get it to load custom game, not servertest.ini.
Hello All,

I made a multiplayer game within Project Zomboid and hosted it, the game is going great so I wanted to make it dedicated. When I checked inside the folder, I saw the server matching the same as my locally hosted game. The issue is, when I launch it it loads servertest not my custom game... how to I get it to load my other game?
< >
Showing 1-4 of 4 comments
Krauser Jan 12, 2022 @ 6:02am 
I have the same problem here as well. Hopefully anyone can give an answer on this, as this is getting beyond frustrating for me to troubleshoot or fix. Both SteamCMD and Dedicated from Steam Tools has given me zero results and only using Servertest.ini instead of the ones I have made. Even if I have changed the servertest.ini, it will still revert back to the previous edits of the servertest.ini as it was generated.
Hellsvien Jan 12, 2022 @ 4:38pm 
Hello HANFALK.

What I ended up doing was re-naming the "single player save game" to servertest. Which means I deleted the servertest files that were default and renamed my chosen game to servertest and used them.
Krauser Jan 13, 2022 @ 9:00am 
Hey thank you for answering :47_thumb_up:

What I ended up doing was re-naming the "single player save game" to servertest. Which means I deleted the servertest files that were default and renamed my chosen game to servertest and used them.

Interesting idea, although, I have tried a simlar thing doing it with the servertest.ini

But to keep this short:
I have followed many guides step by step, and it feels like there is a step that is skipped when making or making servers in general, so I will sum it up from what I have learned and watched, and hopefully you can point out what I am doing wrong. So I am writing in numbers of an order from my experience.


1 Host a game or make a custom game-setting in-game. Have the game on public, make a password for it and needed stuff in the settings. Making the character and when you are in, quit the game.

2 At this point, people are skipping to 3, it nothing about changing the server settings greater details, nothing really with IP and only public IP (something I was fine with it, but it was confusing at first), but mainly nothing about changing servertest.ine to something else, and the dedicated server are only using servertest.ini (yes I know you can go in to the file ini file in a notepad to adjust the settings there, but I did not really find anything that I could change there that could solve the problems that I am experiencing

3 Run the dedicated server

4 Find and login in to the server in Zomboid

Note: Some people like to add the loop-hole IP when adding your server, not explained in greater reason of why they are doing so.

So my problems are realistically 2 and 4, I need 2 to get 4 to work, and even if I followed all the way with just a servertest.ini, the dedicated server, "startserver65.bat" still resets the settings in servertest.ini making it hopeless for me to just use the standard servertest.ini for any server purposes. So because of this, I will never know if I can find my server or not with my port-forwarding. Granted, I managed to see my server when I had it active, but I could never join it, as I was in an endless loading loop, I could still cancel at any time tho.

This is one of the many guides I have been following and reading up
https://www.youtube.com/watch?v=Ch4n_jL_aNs&t=336s&ab_channel=Perma



Feel free to point out anything I am doing wrong, for this is a frustrating way of hosting a server. Haha
I have hosted Space Engineers and other server games more easily, but this was more difficult to get it working.
Last edited by Krauser; Jan 13, 2022 @ 9:10am
tehroach Feb 10, 2022 @ 10:05pm 
2
Assuming you have created your server settings from the Host menu in Project Zomboid and have Project Zomboid Dedicated Server installed:
copy StartServer64.bat
edit StartServer64.bat copy
Line 4: zombie.network.GameServer -servername YourSavedServerSettingsName -statistic 0
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Dec 31, 2021 @ 10:52pm
Posts: 4