With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Game server information & questions.

Moderators: Joe Kari, Pardner, TheDoctor

Linux server

Postby pekka_vanttaukselta » Sat Jan 31, 2009 7:02 pm

what port server uses (udp,tcp)

and minimal bandwidths 0.5Mbit/s > ten client ???

and what mean +set dedicated 2 (+set dedicated 0.1.2.3...)

and are there more options +set .........

can i run server daemons ???

automatic start up script (linux;debian)
pekka_vanttaukselta
 



Re: Linux server

Postby Pardner » Sat Jan 31, 2009 8:41 pm

pekka_vanttaukselta wrote:and what mean +set dedicated 2 (+set dedicated 0.1.2.3...)

0=listen server
1=lan
2=internet
pekka_vanttaukselta wrote:and are there more options +set .........

http://q3console.planetquake.gamespy.com/variables.htm

Image
Image
User avatar
Pardner
SG Team
 
Posts: 1786
Joined: Fri Nov 18, 2005 5:48 am
Location: MD, USA



Postby Tequila » Sat Jan 31, 2009 10:01 pm

SG dedicated engine can be daemonized with few arguments on command line, thanks to sig11 and hika.

If you want to daemonize, you can use on the command line "+set sv_daemon 1".
You should also specify a pidfile to be updated by "+set sv_pidfile /path/to/pidfile". Then you can use it to know the pid of the process to shutdown when you want to stop your server.
You can also specify a user to use with "+set sv_user your_safe_user".
And you also can chroot your process for more security using "+set sv_chroot /path/to/you/chroot_env".
8)
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby pekka_vanttaukselta » Sun Feb 01, 2009 12:41 am

what port server uses (udp,tcp)
pekka_vanttaukselta
 



Postby Pardner » Sun Feb 01, 2009 12:58 am

27960/UDP is ID's default, but admins can change the number to what ever they want using
/set net_port ""
User avatar
Pardner
SG Team
 
Posts: 1786
Joined: Fri Nov 18, 2005 5:48 am
Location: MD, USA



Postby pekka_vanttaukselta » Sun Feb 01, 2009 6:22 pm

Sending heartbeat to master.quake3arena.com
Sending heartbeat to master0.gamespy.com

27950 udp ???
pekka_vanttaukselta
 



Postby Tequila » Sun Feb 01, 2009 10:39 pm

Yes, your server is just announcing to master servers. When ingame, a client will join these servers to know about available Q3 based servers and search for smokinguns ones. That's just the normal way people knows about your dedicated server.

Master servers are listening on 27950 port. So be sure your firewall authorizes such outgoing UDP packet is you have a firewall.
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby pekka_vanttaukselta » Mon Feb 02, 2009 11:57 am

I not have static ip, (set net_ip "88.193.150.58")

can server change (update) net_ip when ip changed

or is easy use Dynamic DNS update client. (No-IP.com)
pekka_vanttaukselta
 



Postby Tequila » Mon Feb 02, 2009 9:25 pm

When you're ip will change, you won't be visible for a short time until your server send a new heartbeat to the masters.
And if the ip address changes during a game, people will just be disconnected.
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France




Return to Telegraph Station

Show Sidebar
Show Sidebar

User Control Panel

cron