Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "Legacy talk:Running A Dedicated Server With UCC"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(how the GUI does is)
Line 12: Line 12:
  
 
:When you press the "dedicated" button in the GUI, the game executes the console command "RELAUNCH ''MapName''?game=''gametype''?mutator=''mutatorlist''?listen -lanplay -server -log=''server.log''" to shut down and start a new instance of UnrealTournament.exe with the given parameters. The "-lanplay" part is only added if you requested a LAN game. I guess the important part is the "-server" parameter. [[User:Wormbo|Wormbo]] 06:27, 12 April 2008 (UTC)
 
:When you press the "dedicated" button in the GUI, the game executes the console command "RELAUNCH ''MapName''?game=''gametype''?mutator=''mutatorlist''?listen -lanplay -server -log=''server.log''" to shut down and start a new instance of UnrealTournament.exe with the given parameters. The "-lanplay" part is only added if you requested a LAN game. I guess the important part is the "-server" parameter. [[User:Wormbo|Wormbo]] 06:27, 12 April 2008 (UTC)
 +
 +
Thanks! Although I already had the -server. I was about to pin the cause of my problem on the absence of -lanplay, but I realised that the absence of the "-" in front of -server was the cause!

Revision as of 19:12, 13 April 2008

Is it possible to run a DS (Dedicated Server) in the system tray without loading the GUI (Graphical User Interface)?

The idea is this:

  • If you run a DS through UnrealTournament.exe, you will see the DS in the System Tray. This requires the GUI to be loaded.
  • If you run a DS through UCC.exe, a command (UCC/cmd) window will show until the server is terminated. However, the GUI does not load before opening the match.
  • If you run a server UnrealTournament in the same fashion as UCC ("UnrealTournament.exe server MH-2MuchHP?game=MonsterHunt.MonsterHunt" etc.), the GUI won't load, and it loads the match straight up, but it runs as a listen server, not a DS.

I run my server on my home computer, and for my clan's sake, I want to put the UCC Server in my Windows startup so that it's running as soon as I boot. Unfortunately I don't want to do it while either my study is going to be disturbed by a cmd window that can't be hidden, or my boot is going to be slowed down by a loading GUI.

Is there any way to run the DS hidden or in the system tray without first loading the GUI? Also, is there any documentation of attributes/suffixes for the UnrealTournament executable?

When you press the "dedicated" button in the GUI, the game executes the console command "RELAUNCH MapName?game=gametype?mutator=mutatorlist?listen -lanplay -server -log=server.log" to shut down and start a new instance of UnrealTournament.exe with the given parameters. The "-lanplay" part is only added if you requested a LAN game. I guess the important part is the "-server" parameter. Wormbo 06:27, 12 April 2008 (UTC)

Thanks! Although I already had the -server. I was about to pin the cause of my problem on the absence of -lanplay, but I realised that the absence of the "-" in front of -server was the cause!