Page 1 of 2

Help Setting Up Dedicated Server Please?

Posted: Thu Oct 06, 2016 10:10 pm UTC
by Mattie Excelsior

So I plan on bringing a good sized clan over to Unvanquished because it's a pretty fun game I noticed it's more of an upgraded version of Tremulous which is absolutely' Fantastic.
I'm having issues going about starting the server, I put my Server.cfg in Unvanquished/Config/Server.cfg
How do I setup an Executable to run the server, older games are a pain in the rear to host a Dedicated server on I have noticed that! :tongue:
Is it possible some one could just upload everything I need to make setting up a Dedicated server alot easier + a tutorial how to actually get you're server started/what to do then just lines and lines of how to setup the server config files? I get that part but beyond that I'm lost.

Thanks!

-Mattie :beer:


Re: Help Setting Up Dedicated Server Please?

Posted: Thu Oct 06, 2016 11:30 pm UTC
by illwieckz

Hi, welcome to the game! :bsuit:

I guess the config/server.cfg files are lowercase, btw, you just have to configure this file then run daemon…
One important thing is to load a map in server.cfg (just put "map parpax" as last line for example), because without map, the server shutdowns itself automatically.

Here are advanced tweaks (map rotation, bot management, etc.) but it's pointless until you have a working basic server.cfg first: http://forums.unvanquished.net/viewtopic.php?f=6&t=1745


Re: Help Setting Up Dedicated Server Please?

Posted: Thu Oct 06, 2016 11:50 pm UTC
by Mattie Excelsior

This is my server.cfg Setup.
And how do I configure it to run with daemon?h

Code: Select all

// Unvanquished dedicated server configuration file.

// -----------
// basic setup
// -----------

// Whether the server is advertised on the internet or in the LAN only.
set server.lanOnly                "0"

// Server name and motto of the day.
set sv_hostname                   "Matt & Mattie's - US East v0.50"
set g_motd                        "Welcome & Have Fun!"

// Number of client slots.
set sv_maxclients                 "24"

// Private slots are reserved for players who know the password.
set sv_privateClients             "2"
set sv_privatePassword            "Ark"

// ------------
// team balance
// ------------

set g_teamForceBalance            "1"
set g_doWarmup                    "0"

// ----------------
// client downloads
// ----------------

// Whether clients are allowed to download missing files from the game server.
set sv_allowDownload              "1"

// Whether clients are redirected to a webserver for faster downloads.
set sv_wwwDownload                "0"
set sv_wwwBaseURL                 "dl.unvanquished.net/pkg"

// ------------
// map rotation
// ------------

// Name of the first map rotation to use.
set g_initialMapRotation          "rotation1"

// The first map must be loaded explicitly. This must be the last command.
map plat23

Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 2:31 am UTC
by illwieckz

just like that:

Code: Select all

./daemonded +exec server.cfg

(daemonded.exe if you are running that other OS)

daemon will load config/server.cfg if you pass +exec server.cfg and will load config/something.cfg if you pass +exec something.cfg.


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 9:37 am UTC
by Mattie Excelsior

Where exactly do I enter this in at and how?


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 12:12 pm UTC
by illwieckz

Which operating system do you use?


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 7:56 pm UTC
by Mattie Excelsior

Windows 7 x64 Bit, I3 Quadcore/8GB Ram


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 9:26 pm UTC
by illwieckz
  • Open notepad, write down:

Code: Select all

daemonded.exe -set net_port 27960 +exec server.cfg
  • Save as "start-server.cmd" (not "start-server.cmd.txt")
  • Put this file along side daemonded.exe
  • Launch that file

If you want to change the listening port, change 27960 for another number, if you want to start another config, changer server.cfg for another file name. The net_port cvar is not necessary (it already uses the 27960 number by default) but this way you have an example for cvar settings. If you want to pass more options to daemonded (like -pakpath for example), edit this file. Always put -options before +options like I put -set before +exec.

NB: I'm not running Windows, so I wrote the code above from memory without checking. I hope there is no mistake.


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 9:48 pm UTC
by Mattie Excelsior

Ok I just did that now I get this.
https://gyazo.com/9e18653a22ad6196197bdcb6d67eee74


Re: Help Setting Up Dedicated Server Please?

Posted: Fri Oct 07, 2016 10:44 pm UTC
by illwieckz

I guess it will not prevent the server to run, this issue is minor (it's just to geolocalize players, it will not prevent them to play), try to join from another computer as player. ;-)