server
Posted: Thu Jan 18, 2007 7:20 pm
quote:
--------------------------------------------------------------------------------
The Dedicated Server
If you'd like to run a dedicated server you can simply create the same type of config and make a shortcut on your desktop to start the server. Right-click on your desktop, and then click New->Shortcut, and map to your quake3.exe file. Now that you have your new Quake3.exe shortcut on your desktop, we can now add our options. Right click your new shortcut and click on "Properties". On the Shortcut tab you should have something like this: "C:Quake III ArenaQuake3.exe" Now what we need to do for a dedicated server is add some command line parameters. Here are the ones I am using on my server: "C:Quake III ArenaQuake3.exe" +set dedicated 2 +set net_port 27970 +com_hunkMegs 50 +exec ffa.cfg What this is doing is setting it to dedicated 2, where it's reporting to id master, setting my port manually to a port and not the default, setting my memory dedicated to Q3 to 50, and then finally executing my ffa.cfg file. You'll notice the quotes around the shortcut area, this is one of Windows' many quirks; for Windows to understand long file names with spaces and such, you need to leave them in. If you try and put the commands in there it will think that it's a Windows executable and say the path is invalid, so you need to put the commands after the quotes. You should now be up and running with more or less a basic dedicated server for you and a few friends.
If i copy that instruction and set +exec ffa.cfg to:
//Set the cvars in this file for your server!
//set your server's name
set sv_hostname "Art of War (http://www.planetquake.com/artofwar)"
//set the max number of clients to connect
set sv_maxclients 16
//set the time to cycle maps
set timelimit 40
//Allow custom models, music, etc
set sv_pure 0
//Give people time to load models
set g_warmup 30
set g_dowarmup 1
//Let remote users download
sv_allowdownload 1
//set the number of destructions to cycle maps
set capturelimit 5
//uncomment this var to reserve spots for people with the privatePassowrd
//set sv_privateClients 4
//set the private password to use the private spots with
//set sv_privatePassword "qwerty"
//uncomment the line below to allow in-game admin with the password given below
//set g_adminpass "adminme"
//uncomment the line below to set the remote console password
//set rconPassword "spoon"
//Register server with master server lists
sv_master1 master3.idsoftware.com
sv_master2 master0.gamespy.com
sv_master3 master.kali.net
//This message will scroll on the bottom of the arena selection menu
set g_motd "Visit http://www.planetquake.com/artofwar"
//Use the following for location:
// Region 0: No Region Specified (any Region)
// Region 1: Southeast US
// Region 2: Western US
// Region 3: Midwest US
// Region 4: Northwest US, West Canada
// Region 5: Northeast US, East Canada
// Region 6: United Kingdom
// Region 7: Continental Europe
// Region 8: Central Asia, Middle East
// Region 9: Southeast Asia, Pacific
// Region 10: Africa
// Region 11: Australia / NZ / Pacific
// Region 12: Central, South America
set location 6
// If you *really* love the id CTF maps, use this:
//set d1 "map q3ctf1; set nextmap vstr d2"
//set d2 "map q3ctf2; set nextmap vstr d3"
//set d3 "map q3ctf3; set nextmap vstr d4"
//set d4 "map q3ctf4; set nextmap vstr d5"
//set d5 "map q3dm12; set nextmap vstr d1"
// We recommend using the 3wave CTF maps (q3wctf.zip)
set d1 "map q3ctf1; set nextmap vstr d2"
set d2 "map q3ctf2; set nextmap vstr d3"
set d3 "map q3ctf3; set nextmap vstr d4"
set d4 "map q3dm12; set nextmap vstr d5"
set d5 "map q3wctf2; set nextmap vstr d6"
set d6 "map q3wctf1; set nextmap vstr d7"
set d7 "map q3wctf3; set nextmap vstr d1"
// The MatLab CTF map pack is also very good (q3mlctfpak0.zip)
//set d1 "map q3ctf1; set nextmap vstr d2"
//set d2 "map q3ctf2; set nextmap vstr d3"
//set d3 "map q3ctf3; set nextmap vstr d4"
//set d4 "map q3dm12; set nextmap vstr d5"
//set d5 "map q3wctf2; set nextmap vstr d6"
//set d6 "map q3wctf1; set nextmap vstr d7"
//set d7 "map q3wctf3; set nextmap vstr d8"
//set d8 "map q3mlctf1; set nextmap vstr d9"
//set d9 "map q3mlctf2; set nextmap vstr d10"
//set d10 "map q3mlctf3; set nextmap vstr d1"
vstr d1
I will have a server running???
--------------------------------------------------------------------------------
The Dedicated Server
If you'd like to run a dedicated server you can simply create the same type of config and make a shortcut on your desktop to start the server. Right-click on your desktop, and then click New->Shortcut, and map to your quake3.exe file. Now that you have your new Quake3.exe shortcut on your desktop, we can now add our options. Right click your new shortcut and click on "Properties". On the Shortcut tab you should have something like this: "C:Quake III ArenaQuake3.exe" Now what we need to do for a dedicated server is add some command line parameters. Here are the ones I am using on my server: "C:Quake III ArenaQuake3.exe" +set dedicated 2 +set net_port 27970 +com_hunkMegs 50 +exec ffa.cfg What this is doing is setting it to dedicated 2, where it's reporting to id master, setting my port manually to a port and not the default, setting my memory dedicated to Q3 to 50, and then finally executing my ffa.cfg file. You'll notice the quotes around the shortcut area, this is one of Windows' many quirks; for Windows to understand long file names with spaces and such, you need to leave them in. If you try and put the commands in there it will think that it's a Windows executable and say the path is invalid, so you need to put the commands after the quotes. You should now be up and running with more or less a basic dedicated server for you and a few friends.
If i copy that instruction and set +exec ffa.cfg to:
//Set the cvars in this file for your server!
//set your server's name
set sv_hostname "Art of War (http://www.planetquake.com/artofwar)"
//set the max number of clients to connect
set sv_maxclients 16
//set the time to cycle maps
set timelimit 40
//Allow custom models, music, etc
set sv_pure 0
//Give people time to load models
set g_warmup 30
set g_dowarmup 1
//Let remote users download
sv_allowdownload 1
//set the number of destructions to cycle maps
set capturelimit 5
//uncomment this var to reserve spots for people with the privatePassowrd
//set sv_privateClients 4
//set the private password to use the private spots with
//set sv_privatePassword "qwerty"
//uncomment the line below to allow in-game admin with the password given below
//set g_adminpass "adminme"
//uncomment the line below to set the remote console password
//set rconPassword "spoon"
//Register server with master server lists
sv_master1 master3.idsoftware.com
sv_master2 master0.gamespy.com
sv_master3 master.kali.net
//This message will scroll on the bottom of the arena selection menu
set g_motd "Visit http://www.planetquake.com/artofwar"
//Use the following for location:
// Region 0: No Region Specified (any Region)
// Region 1: Southeast US
// Region 2: Western US
// Region 3: Midwest US
// Region 4: Northwest US, West Canada
// Region 5: Northeast US, East Canada
// Region 6: United Kingdom
// Region 7: Continental Europe
// Region 8: Central Asia, Middle East
// Region 9: Southeast Asia, Pacific
// Region 10: Africa
// Region 11: Australia / NZ / Pacific
// Region 12: Central, South America
set location 6
// If you *really* love the id CTF maps, use this:
//set d1 "map q3ctf1; set nextmap vstr d2"
//set d2 "map q3ctf2; set nextmap vstr d3"
//set d3 "map q3ctf3; set nextmap vstr d4"
//set d4 "map q3ctf4; set nextmap vstr d5"
//set d5 "map q3dm12; set nextmap vstr d1"
// We recommend using the 3wave CTF maps (q3wctf.zip)
set d1 "map q3ctf1; set nextmap vstr d2"
set d2 "map q3ctf2; set nextmap vstr d3"
set d3 "map q3ctf3; set nextmap vstr d4"
set d4 "map q3dm12; set nextmap vstr d5"
set d5 "map q3wctf2; set nextmap vstr d6"
set d6 "map q3wctf1; set nextmap vstr d7"
set d7 "map q3wctf3; set nextmap vstr d1"
// The MatLab CTF map pack is also very good (q3mlctfpak0.zip)
//set d1 "map q3ctf1; set nextmap vstr d2"
//set d2 "map q3ctf2; set nextmap vstr d3"
//set d3 "map q3ctf3; set nextmap vstr d4"
//set d4 "map q3dm12; set nextmap vstr d5"
//set d5 "map q3wctf2; set nextmap vstr d6"
//set d6 "map q3wctf1; set nextmap vstr d7"
//set d7 "map q3wctf3; set nextmap vstr d8"
//set d8 "map q3mlctf1; set nextmap vstr d9"
//set d9 "map q3mlctf2; set nextmap vstr d10"
//set d10 "map q3mlctf3; set nextmap vstr d1"
vstr d1
I will have a server running???