Jump to content

Steam integration and running a local MP server


eldergamer

Recommended Posts

With all the talk of steam integration will it even be possible to run a local self contained private mp server without steam? I'm talking about a lan server like in my office building. So far I have 3 maybe 4 people interested but with all the steam talk it's sounding more and more like that won't be possible without steams involvement.

 

Eldergamer

Link to comment
Share on other sites

Yep, you'll just run the non-Steam version of the server as well as the non-Steam version of the game :)

See "Running the Non-Steam version of the game" and "How to create a non-Steam server" here:
https://steamcommunity.com/sharedfiles/filedetails/?id=514493377
 
 

To host a non-Steam-server, navigate to your game installation folder (the default location is Steam\SteamApps\common\ProjectZomboid) and find the batch-file called ProjectZomboidServer.bat.
Start it by double clicking it.

A command prompt window will pop up. Upon first startup, it will create a userdatabase and create an admin account while asking you to set up a password for it.
After setting up the password, it will finish creating and starting up the server and say "*** SERVER STARTED****".

(Note: If you are getting an error, saying "The system cannot find the path specified" while trying to create the spawnregions or user database, let it go through and once the server started without those, close the cmd window and start up the server again by executing the ProjectZomboidServer.bat.)

To allow people to connect to your server you will need to forward the necessary ports.
The necessary standard ports to forward are 16261 (UDP) which serves as a handshake port for communicating with the server.
For each possible player slot on your server, you need to forward additional TCP ports, which are used to stream the world to the player clients.
If you want a server with 10 slots, you would have to forward
16261 UDP
16262 - 16272 TCP

A quick and easy way to test if your ports are forwarded properly are http://www.canyouseeme.org/ and http://www.yougetsignal.com/tools/open-ports/

Good guides on how to forward ports are found all over the internet. Portforward.com has good guides on hand and covers a lot of routers. Port Forwarding sounds harder in theory that it actually is and mostly just involves getting into the menu of your router.
If you have no access to your router, please consult whoever is in charge of your network (parents, room mates, admins, etc).

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