Page 1 of 1

Help: running a dedicated openra server on windows

Posted: Wed Mar 12, 2014 7:34 am
by testing-testing
Hi guys, I'm after some assistance. How do I run a dedicated OpenRA server on Windows?

I've got the game installed, but I can';t figure out how to run a server (that doesn't include me in the game) that is advertised online, left running 24/7 and anyone can join.

Can anybody walk me through the basic steps?

Posted: Wed Mar 12, 2014 7:41 am
by Matt
There is currently no Windows example script, but still https://github.com/OpenRA/OpenRA/wiki/Dedicated should give you an idea.

Posted: Wed Mar 12, 2014 8:33 am
by testing-testing
Hmmm... stuffing around trying to get that script working was what I was hoping to avoid.

Posted: Wed Mar 12, 2014 12:05 pm
by Matt
Try right-clicking on OpenRA.Game.exe, create a shortcut and add the parameters via execution parameters.

Code: Select all

Game.Mod=ra Server.Dedicated=True Server.DedicatedLoop=True Server.Name="testing-testing's server" Server.ListenPort=1234 Server.ExternalPort=1234 Server.AdvertiseOnline=True
Those scripts are just to auto-restart when the server crash etc. You can probably create an equivalent in PowerShell or Batch scripts, but I guess that is optional.

Posted: Thu Mar 13, 2014 9:14 pm
by testing-testing
Thanks, that's worked. The server has stayed up for ~12 hours now.