Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I've done everything the guide suggested but still coulden't get it to work. I've had a case in other games that it takes a few minutes before it shows up but I did not want to sit around to confirm it either.
The thing the Steam guide dosen't mention is that when you download the dedicated server from the tools section in Steam, you press StartServer64.bat, it does it thing, then you close it, then you go to ''C:\Users\YourUsernameHere\Zomboid'' theres a folder that I can't remember it's name, probably server or something similar, inside this folder there is a servertest.ini or similar, inside this you get all the options for the server, in here you can change the public name and in-game settings and so on, in here you need to make sure it's set to Public=true and Open=true, set a custom name or description if you'd like, but this is basically what they don't mention, since I'm extremely new to dedicated servers I had no idea you had to pre-configure, after you have done this, use the StarServer64.bat again, go into the game, and add your server to favorites with ''localhost'' as IP with any username, the server console is the place you put commands into to assign yourself as an admin, type ''help'' into the server console to get commands for it.
localhost is the IP you use to connect to your own server locally, nothing else will work.
In my situation I really diden't have to do any port fowarding or silly firewall stuff as the command script did it automatically, accessed my router and set-it-up and all that, plug and play basically. So all you have to make sure is that you have started the dedicated server once so it can create it's folder in the Zomboid folder under the users folder so you can access the servertest.ini.
After numerous forum threads and frustrating moments I finally managed to crack this nut.
If there's unclearity or questions feel free to ask, I'll try to answer them as best I can.
I still have my .ini from server I made and I applied (read copied, but not ctrl+v whole thing, manually changed it) settings to servertest.ini which is the thing that's run by StartServer64.bat in the first place.
Went back again to check if I have Public=true and Open=true and yup, there they are.
I have no problem playing on it but what's the point if noone can join your server, even tried to connect with different pc and modem (while server is up and I was logged in ofc) but still no avail...
I guess I'll go back to hibernation again...
To get the public IP you could use Google, something like ''What's my IP'', Google shows your IP that your router transmits or whatever and that should be the one you connect to, your router interface should also show this, if you got a router, this is a safe IP, it changes every hour or so.
I'm not sure however if this can be tested over your own network as you are basically connected to it if you use Wi-Fi or cable, would be something like rining your own houses bell to try and get in, so trying the Public IP would probably not work, but I'm fairly sure your friend or other players need the public IP if they wanna connect and can't find the server, they should also be able to see it in the server browser in-game even if you don't hand out the IP if it's set to public, there's also a setting or line in the server.ini file that mentions something about Broadcast IP, I don't know exactly what it does but it could be worth trying to input your current public IP in there and see if that makes a difference, again it should be on a lend-lease time so I'm not sure what happends once it changes public IP again, as routers do.
If all else fails, if you got the time and bandwidth, delete PZ entirely, both server and game, clean all files manually and re-download it, and re-do what we've/I have done so far, could be some weird issue like I had once, I have tried to get the vehicles branch onto the server but it dosen't seem to work too well, console just closes as if it is not finding the correct location or something, this in turn caused my console to spit out errors about a map location after reverting to stable branch, but your setup seems fine so shoulden't be nessesary.
Dedicated servers are kinda weird, atleast in this game asfar as I know, the machine that hosts the server has to use a local IP, ''localhost'' or the IP that's set by default, can't remember it, something within the 125-130.x.x.x range, being the local IP for your PC I guess, others have to use the routers Public IP or just connect to it if my theory is correct about it showing up in the list.
I think the PZ Server webpage is proof enough that it works.
Yeah, I sent my IP address (myIPaddress:16261) to my friends but they always recieve connection timed out or something, same thing using DUC.
I'm almost regular at pzarchspace, forgot to mention, been tracking who's playing on my favorite server when I'm away :D
But nope, my server is not there too... Site refreshes every 2 min I think.
Ok, unistalled and reinstalled the game and dedicated server from steam library (even cleaned it's previous destination manually) but I saved a copy of server.ini just to reapply server options later.
Portforwarded again, haven't used DUC this time and followed your steps.
Dunno why but this whole process in cmd window is kinda slower than before, nothing else unusual or new happened...
UPnP thing again (read the first post) and nothing on server lists...
Edit:
Invited friend to my place, wanted to check what will happen if I create lan server and when I did we had no problem there at all...
I guess it's probably coz of my dynamic IP and modem, restricted from my provider since I don't have static IP...
If it dosen't show up in the server list on Google and you have set all the functions or lines to be true for open and public then I'm not too sure what's wrong.
A dynamic IP changes every 1 hour or so due to lend-lease, so that shoulden't be a problem until that hour passes around so it changes, your modem is tied to your ISP, shoulden't be that either, the CMD process seems to take care of all the port fowarding, it even added ports in mine automatically without me having to do anything, if you are having problems in other games it's probably ISP related, other than that I'm not really sure because this is how I did it, and it works for me. It could be if the router has different settings or work different, lacking certain settings, having some kind of invinsible lock and so on, it's simply beyound me and I've never had to portfoward in any service or program, even if they say you need to I diden't have to as it would work anyways.
I'll sum up the steps for you incase there's something you missed or you wanna re-try later, this is how I did and it works for me.
1* Download Project Zomboid
2* Run Project Zomboid once, then quit
3* Download the Project Zomboid Dedicated Server
4* Inside of the Project Zomboid installation folder, start ProjectZomboidServer.bat, then use the command ¨quit¨ once it's done and follow the prompt. (Server Started or Steam is not Enabled)
5* Go to ¨C:\Users\YourUserName\Zomboid\Server¨ and open ¨servertest.ini¨, make sure Open is set to true (Open=true) and that Public is set to true (Public=true), close and save (everything else in this file optional, note that setting a custom name and description helps to find it in Google for example or in-game)
6* Go to Project Zomboid Dedicated Server inside of steamapps>common, start ¨StartServer64.bat¨ (or if you have 32 bit OS architecture, -32.bat)
This should be all you need to do, it should show ¨Zomboid Server is VAC Secure¨, if you reach this you should be good to go. If this dosen't help or you still can't get it to show up for the other player then I'm out of ideas, then again I've never asked somebody to connect to mine so I woulden't know, the fact that it showed up in the PZServer on Google made me think others can see it at all, if the correct options are set in the servertest.ini ofcourse.
One thing to note is that I've been unable to get it to work on the beta branches, tried both with SteamCMD and with the properties tabs of both Project Zomboid and it's dedicated server counterpart and it only throws errors at me for invalid map locations, coulden't get further than that, but should work fine on stable branch.
I can only end up with a conclusion that it's either your modem/network or your ISP. We are going to need higher ups for this matter incase it dosen't work, sorry.