Hosting a server

Discuss clans, events, servers, and more!
Post Reply
Poil
Posts: 19
Joined: Sun Aug 26, 2012 12:02 pm UTC

Hosting a server

Post by Poil »

I'm trying to host a server, but I didn't find any documentation.

My server.cfg

Code: Select all

//Example Unvanquished alpha release decicated server config

// Impure for the moment.
set sv_pure 0

//passwords
set g_needpass 0
//set g_password password   //server password
set rconPassword pass //rcon password

//loading screen
set sv_hostname "^2Q^7uake.^2F^7r"
set g_motd "http://www.quake.fr/"

//disallow downloads from the server
set sv_allowdownload 1

//maximum number of clients
//greater than 24 is not recommended from a gameplay point of view
set sv_maxclients 24

//These settings are used on the official Trem 1.2 & Unv public servers
//after 30 minutes, all build points are removed
set g_suddenDeathTime 30
//after 45 minutes, the game will end as a draw
set timelimit 45

//forces each team to have a similar number of players
set g_teamForceBalance 1

//following the first map, start this rotation
set g_initialMapRotation rotation1

//misc settings
set pmove_fixed     0
set sv_minRate      5000
set sv_maxRate      15000
set sv_minSnaps     10

//start this map first
map niveus

maprotation.cfg

Code: Select all

rotation1
{
  Eden-b3
  arachnid2
  atcshd
  atcszalpha-b2
  bluedragon2_b3
  citadel
  cruz-b6
  karith
  methane-beta1
  nano
  nexus6
  niveus
  perseus-b3
  plat23-b3
  procyon-r1
  sirius
  spacetracks-r1
  station15-r1
  transit
  tremor
  veddak-final
  wrecktify_b2
}

How I try to run the server

Code: Select all

./unvanquished  +set dedicated 2 +set net_port 27962 +exec server.cfg

What I get

Code: Select all

Unvanquished 0.6.0 i386 Aug  2 2012
+set dedicated 2 +set net_port 27962 +exec server.cfg
Have SSE support
FS_AddGameDirectory("/home/unvanquished/Unvanquished", "main") found 31 .pk3 and 3 .pk3dir
    pk3: /home/unvanquished/Unvanquished/main/map-arachnid2-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-atcshd-gpp2.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-atcszalpha-b2.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-bluedragon2_b3.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-citadel.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-cruz-b6.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-Eden-b3.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-karith-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-methane-beta1.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-nano.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-nexus6-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-niveus-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-orion-beta2.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-perseus-b3.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-plat23-b6.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-procyon-r1.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-sirius.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-spacetracks-r1.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-station15-r1.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-transit-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-tremor-gpp.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-UTCSfinal.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-veddak-final.pk3
    pk3: /home/unvanquished/Unvanquished/main/map-wrecktify_b2.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak0.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak1.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak2.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak3.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak4.pk3
    pk3: /home/unvanquished/Unvanquished/main/pak5.pk3
    pk3: /home/unvanquished/Unvanquished/main/vms-0.6.0.pk3
FS_AddGameDirectory("/home/unvanquished/.Unvanquished", "main") found 0 .pk3 and 2 .pk3dir
execing default.cfg
execing autogen.cfg
couldn't exec autogen.cfg
execing autoexec.cfgset
couldn't exec autoexec.cfgset
Loaded 0 language(s)
Couldn't read conhistory.
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 88.190.224.49
IP6: ::1
IP6: 2a01:e0b:1000:15:5054:ff:fe00:29
IP6: fe80::5054:ff:fe00:29%eth0
Opening IP6 socket: [::]:27960
Opening IP socket: 0.0.0.0:27962
unvanquished@game:~/Unvanquished$

And a FIFO /home/unvanquished/.Unvanquished/main/pipe exist and if I run the command again, the binary does nothing, I need to delete the pipe

Any help ?

Poil
Posts: 19
Joined: Sun Aug 26, 2012 12:02 pm UTC

Re: Hosting a server

Post by Poil »

Ok I've got it working with these deb http://www.moreofthesa.me.uk/unv.xhtml

88.190.224.49:27961

User avatar
Mysyk
Posts: 2
Joined: Wed Apr 03, 2013 10:53 am UTC
Location: Almaty, Kazakhstan
Contact:

Re: Hosting a server

Post by Mysyk »

Is it enough to run a smooth server?

"It's time to kick ass and chew bubble gum... and I'm all out of gum".

User avatar
ViruS
Granger
Posts: 1020
Joined: Sun Mar 11, 2012 4:24 am UTC
Location: Antartica - West Australian Post shore
Contact:

Re: Hosting a server

Post by ViruS »

He runs the Quake.fr server currently. You should check the date of the post, you might be able to answer your own question.

ImageImageYou[TubeImage

User avatar
velociostrich
Dragoon
Posts: 318
Joined: Thu Mar 08, 2012 6:24 pm UTC

Re: Hosting a server

Post by velociostrich »

Poil wrote:

I'm trying to host a server, but I didn't find any documentation.

Sorry about that; right now we do have this page on the wiki, but it's a bit sparse. I don't know the solution to your problem, unfortunately.

sillecs
Posts: 1
Joined: Fri Apr 12, 2013 2:59 pm UTC

Re: Hosting a server

Post by sillecs »

Hello,

I'm a GSP and would like to provide Unvanquished servers for renting...

I have an issue with it : the server can't be monitored correctly.

This is the start command line i use :

Code: Select all

./daemonded +cvar_restart +set dedicated 2 +set fs_homepath $HOMEPATH +set g_logroll 1 +set vm_game 2 +set vm_ui 2 +set vm_cgame  2 +set ttycon 0 +set logfile 1 +set net_ip $IP +set net_port $PORT +set com_hunkmegs 52 +set com_zonemegs 32 +sv_maxclients $MAXPLAYERS +exec $SERVERCONFIG +map $STARTMAP

This is the network parameters i set in :

Port : 27960
Query Port : 27960
Rcon protocol : Quake 3
GameQ Code : Quake 3 - Quake 3 Arena
Game-Monitor.com : Quake 3

What is wrong ? My server automaticly shutdown after :

Code: Select all

####### SERVICE START AT 12/04/2013 14:45 BY SYSTEM #######



Unvanquished 0.8.0 i386 Nov  4 2012

+cvar_restart +set dedicated 2 +set fs_homepath /home/demo/service9/Unvanquished +set g_logroll 1 +set vm_game 2 +set vm_ui 2 +set vm_cgame 2 +set ttycon 0 +set logfile 1 +set net_ip 5.135.179.171 +set net_port 27960 +set com_hunkmegs 52 +set com_zonemegs 32 +sv_maxclients 20 +exec server.cfg +map niveus 

Have SSE support

FS_AddGameDirectory("/home/demo/service9/Unvanquished", "main") found 34 .pk3 and 4 .pk3dir

 pk3: /home/demo/service9/Unvanquished/main/map-arachnid2-gpp.pk3 ( 67 files )
(...)
 pk3: /home/demo/service9/Unvanquished/main/map-wrecktify_b2.pk3 ( 13 files )
 pk3: /home/demo/service9/Unvanquished/main/pak0.pk3 ( 1590 files )
 pk3: /home/demo/service9/Unvanquished/main/pak1.pk3 ( 981 files )
 pk3: /home/demo/service9/Unvanquished/main/pak2.pk3 ( 166 files )
 pk3: /home/demo/service9/Unvanquished/main/pak3.pk3 ( 117 files )
 pk3: /home/demo/service9/Unvanquished/main/pak4.pk3 ( 148 files )
 pk3: /home/demo/service9/Unvanquished/main/pak5.pk3 ( 143 files )
 pk3: /home/demo/service9/Unvanquished/main/pak6.pk3 ( 148 files )
 pk3: /home/demo/service9/Unvanquished/main/pak7.pk3 ( 268 files )
 pk3: /home/demo/service9/Unvanquished/main/pak8.pk3 ( 132 files )
 pk3: /home/demo/service9/Unvanquished/main/vms-0.9.0.pk3 ( 9 files )
execing default.cfg
execing autogen_server.cfg

Loaded 3 language(s)
 3WARNING: 7 Language "French (France)" (fr_FR) not found. Default to "English" (en)
Couldn't read conhistory.
logfile opened on Fri Apr 12 14:45:33 2013

--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 5.135.179.171
IP: 192.168.122.1
IP6: ::1
IP6: fe80::4e72:b9ff:fe98:fc19%eth0
IP6: fe80::4e72:b9ff:fe98:fc19%br0
Opening IP socket: 5.135.179.171:27960

 (B )0 [?1049h [ r [m [4l [24;1H [?1049l [?1l > (B )0 [?1049h [ r [m [4l [?1h = [39;49m [39;49m [m [H [J [1;26H---[ Unvanquished Console ]--- [  [0mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkq [3;1H [0mx [77C [0mx# [4;1H [0mx [77C [0mxx [5;1H [0mx [77C [0mxx [6;1H [0mx [77C [0mxx [7;1H [0mx [77C [0mxx [8;1H [0mx [77C [0mxx [9;1H [0mx [77C [0mxx [10;1H [0mx [77C [0mxx [11;1H [0mx [77C [0mxx [12;1H [0mx [77C [0mxx [13;1H [0mx [77C [0mxx [14;1H [0mx [77C [0mxx [15;1H [0mx [77C [0mxx [16;1H [0mx [77C [0mxx [17;1H [0mx [77C [0mxx [18;1H [0mx [77C [0mxx [19;1H [0mx [77C [0mxx [20;1H [0mx [77C [0mxx [21;1H [0mx [77C [0mxx [ H [0mx [77C [0mxx [  [0mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjq [24;1H [0m[14:45] ->  [H [J [1;26H---[ Unvanquished Console ]--- [  [0mlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkq [3;1H [0mx [77C [0mx# [4;1H [0mx [77C [0mxx [5;1H [0mx [77C [0mxx [6;1H [0mx [77C [0mxx [7;1H [0mx [77C [0mxx [8;1H [0mx [77C [0mxx [9;1H [0mx [77C [0mxx [10;1H [0mx [77C [0mxx [11;1H [0mx [77C [0mxx [12;1H [0mx [77C [0mxx [13;1H [0mx [77C [0mxx [14;1H [0mx [77C [0mxx [15;1H [0mx [77C [0mxx [16;1H [0mx [77C [0mxx [17;1H [0mx [77C [0mxx [18;1H [0mx [77C [0mxx [19;1H [0mx [77C [0mxx [20;1H [0mx [77C [0mxx [21;1H [0mx [77C [0mxx [ H [0mx [77C [0mxx [  [0mmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjq [24;1H [0m[14:45] ->  [3;2Hcom_hunkmegs will be changed upon restarting. [4;2Hexecing server.cfg [24;12H [5;2H------ Server Initialization ------ [24;12H [6;2HServer: niveus [24;12H [7;2HSyscall ABI mismatch [24;12H [8;2H==== ShutdownGame ==== [24;12H [9;2H------ Server Initialization ------ [24;12H [10;2HServer: niveus [24;12H[14  [7C [11;2HSyscall ABI mismatch [24;12H [12;2HBroadcast: Server: timelimit changed to 1 [24;12H [13;2HBroadcast: Server: g_suddenDeathTime changed to 1 [24;12H [14;2HBroadcast: Server: g_friendlyFire changed to 1 [24;12H [15;2HBroadcast: Server: g_friendlyBuildableFire changed to 1 [24;12H [16;2HBroadcast: Server: g_dretchPunt changed to 1 [24;12H [17;2HBroadcast: Server: g_teamForceBalance changed to 1 [24;12H [18;2HBroadcast: Server: g_warmup changed to 1 [24;12H [19;2HBroadcast: Server: g_doWarmup changed to 1 [24;12H [20;2HBroadcast: Server: g_speed changed to 1 [24;12H [21;2HBroadcast: Server: g_gravity changed to 1 [24;12H [22;2HBroadcast: Server: g_knockback changed to 1 [24;12H [3;22r [ H

 (...)
 
[ r [21;80H [0mx [ H [0mxBG_Alloc: failed on allocation of 16 bytes [35C [0mx# [24;12H [3;21r [21;1H
 [ r [21;1H [0mxBG_Alloc: failed on allocation of 16 bytes [35C [0mxx [24;12H [0m [24;1H [?1049l [?1l >
####### SERVICE STOP AT 12/04/2013 14:46 BY SYSTEM #######
User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Hosting a server

Post by Ishq »

Try to run with +nocurses.

Post Reply