Move dedicated server code to OpenRA.Server.exe
This commit is contained in:
@@ -8,15 +8,13 @@
|
||||
|
||||
Name="${Name:-"Dedicated Server"}"
|
||||
Mod="${Mod:-"ra"}"
|
||||
Dedicated="True"
|
||||
DedicatedLoop="True"
|
||||
ListenPort="${ListenPort:-"1234"}"
|
||||
ExternalPort="${ExternalPort:-"1234"}"
|
||||
AdvertiseOnline="${AdvertiseOnline:-"True"}"
|
||||
AllowPortForward="${AllowPortForward:-"False"}"
|
||||
|
||||
while true; do
|
||||
mono --debug OpenRA.Game.exe Game.Mod=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \
|
||||
mono --debug OpenRA.Server.exe Game.Mod=$Mod \
|
||||
Server.Name="$Name" Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \
|
||||
Server.AdvertiseOnline=$AdvertiseOnline Server.AllowPortForward=$AllowPortForward
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user