Windward

Windward

View Stats:
 This topic has been pinned, so it's probably important
ArenMook  [developer] 10 Feb, 2015 @ 8:44pm
How to start a dedicated server
To let your friends join your game, you can simply check the "Allow friends to join" checkbox when going into your single-player game. Your Steam friends can then right-click your name, get game info and join your world. For this feature to work your computer must not be behind a firewall, or the firewall must have UPnP enabled. Most routers do.

You can also launch a stand-alone server somewhere as well. The server executable is ~60 kb, and uses very little resources. Players have been running servers on devices as tiny as a Raspberry Pi, for example.

The stand-alone server executable can be found in the game folder and is called WWServer.exe. To run it on Windows, simply launch it. To run it on Mac or Linux, use mono (may need to install it first):
mono WWServer.exe
By default when you launch the server you will be informed of all the parameters you can specify for it, such as "-world WorldName" to load a specific world file, and "-public" to make it public (it will be private by default, meaning you have to give your IP to your friends in order to play). If the server is started as public, it will show up on the list of servers in-game.

It's highly recommended that you create the world first before starting the dedicated server. Create your ideal world in single player like you normally would, then remember the name you used. For example if your world name was "New World", then you'd specify that as the world name when launching the server:
WWServer.exe -world "New World"
To launch the server with all the parameters easily, create a shortcut on Windows, or a batch file. To create a shortcut, right-click the WWServer.exe executable and choose "Create Shortcut". Then right-click the newly created shortcut and go to Properties. You will now be able to edit the Target field, specifying any additional properties you need. For example, this is the line I use to start the Development server:
WWServer.exe -name "ArenMook's Development Server" -tcp 5127 -public -world "Public"
Last edited by ArenMook; 3 May, 2015 @ 4:14pm
< >
Showing 1-15 of 208 comments
DarkRagnar 20 Feb, 2015 @ 10:15pm 
Console commands at all?
ArenMook  [developer] 21 Feb, 2015 @ 5:43am 
?
ky0 21 Feb, 2015 @ 7:29am 
Questions about the server version. I noticed that when there is a patch for Windward I can still connect to my dedicated server, even though the server is not updated.

Can you explain how this works? Do I need to update the server everytime there is a Windward update?

Atm I am using steamcmd on Linux to update the version of the server, is there a way to automate this?

Thanks in advance :)
ArenMook  [developer] 21 Feb, 2015 @ 10:12am 
The server is a stand-alone application and it doesn't depend on the client. As long as your server is fairly up to date, you're fine.
GuppyCzar 23 Feb, 2015 @ 1:12pm 
I haven't ever had to update our server sofware, and it seems to work fine.
I'm not aware of any console commands in the server software.
It would be nice to be able to send serverwide messages from the console.
Overall this game is one of the easiest servers I've ever hosted.
ArenMook  [developer] 23 Feb, 2015 @ 4:50pm 
The server was updated a few weeks back. Before it wouldn't release memory properly and may use over a gig of memory after extended use. Now my servers use < 100 MB.
ky0 24 Feb, 2015 @ 4:46am 
Wow you are right, 25.3mb ram in use... this is impressive!
Whint 10 Mar, 2015 @ 5:28pm 
I havn't been able to figure out how to host this on a Mac. I am running 10.10 and have installed mono. It launches in terminal but then I get an error stating that this binary executable cannot be executed.

Any ideas?
Last edited by Whint; 10 Mar, 2015 @ 5:29pm
gkgnight 11 Mar, 2015 @ 9:19am 
Hello, i recently started my windward server but the name doesn't work and it shows up as arenmooks development server. I use the following commands: WWServer -world "naropaland" -tcp 6128 -public -name "naropaland"

also I turned off sleep and hibernate and let the server run overnight but come morning WWserver closes itself out somehow.

Any help on these two issues would be helpful.
ArenMook  [developer] 11 Mar, 2015 @ 11:18am 
I'm going to be releasing an updated version of the Windward server in the next update, but you can get the pre-release version here: http://www.tasharen.com/windward/WWServer.zip
ArenMook  [developer] 11 Mar, 2015 @ 11:18am 
Originally posted by Whint:
I havn't been able to figure out how to host this on a Mac. I am running 10.10 and have installed mono. It launches in terminal but then I get an error stating that this binary executable cannot be executed.

Any ideas?
Typing "mono WWServer.exe" should be enough in OSX, as it's the same as Linux.
HossPorkchops 11 Mar, 2015 @ 5:01pm 
Any tips for hosting a server (Windows)? I'm not a complete network noob or anything so I did the basics, which I'll outline below:

-Ran the WWServer from the command-line, gave it a name, port, etc. Tried public and private.
-Went to my router, enabled port forwarding of the specified port (5127). Forwarding TCP and UDP.
-Checked Windows Firewall and made sure the Windward server was added.
-Ended up completely disabling Windows Firewall during troubleshooting.
-My server would show up on the Public server list, and while I could join it using my external IP, my friend could not.
-As I ran out of ideas, tried putting my PC in the DMZ to see if he could join that way, still no luck.

So that's what I tried so far, but he was never able to connect (although he COULD see my server on the server list, it'd just fail). Can anyone think of something I missed or something I could try? We can play just fine over the LAN, it was just connecting over the internet that we had issues.

Thanks!
Last edited by HossPorkchops; 11 Mar, 2015 @ 5:03pm
ArenMook  [developer] 11 Mar, 2015 @ 6:15pm 
Sounds like you have some antivirus or something similar preventing inbound access. WWServer actually will open the port automatically if UPnP is enabled. I know when you launch any app in Windows 7 that uses networking you get a prompt asking if you want to give it access through the firewall, but you mentioned you disabled both the firewall and set your PC as DMZ, which leaves just one option: overzealous antivirus or another similar tool.
HossPorkchops 11 Mar, 2015 @ 7:54pm 
Hmm, the only AV related software I typically have running is Windows Defender. Can hyperactive AV cause problems on the client side?

That's good to know about the ports. I do have UPnP enabled, so it sounds like I should be good to go there.
ArenMook  [developer] 11 Mar, 2015 @ 8:13pm 
Windows Defender contains the firewall in it, doesn't it? You mentioned you disabled it though, so that shouldn't be it. Are you sure you only have one router between your computer and the internet? I once had a setup where I had 1 router connected to a modem, and the modem also had a built-in firewall. Two firewalls = both would need to let traffic through, as only the first one (closest to the computer) would be accessible. Certain types of connections -- 3G/4G/LTE also don't allow inbound traffic at all.
< >
Showing 1-15 of 208 comments
Per page: 1530 50