server
-
- Posts: 75
- Joined: Tue Jan 16, 2007 10:37 pm
server
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???
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
-
- Posts: 75
- Joined: Tue Jan 16, 2007 10:37 pm
-
- Posts: 75
- Joined: Tue Jan 16, 2007 10:37 pm
-
- Posts: 75
- Joined: Tue Jan 16, 2007 10:37 pm
Q3 1.32 win-x86 Oct 7 2002
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian/baseq3
----------------------
0 files in pk3 files
Running in restricted demo mode.
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian/demota
----------------------
0 files in pk3 files
----- CL_Shutdown -----
-----------------------
Couldn't load default.cfg
Can anyone help?
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian/baseq3
----------------------
0 files in pk3 files
Running in restricted demo mode.
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian/demota
----------------------
0 files in pk3 files
----- CL_Shutdown -----
-----------------------
Couldn't load default.cfg
Can anyone help?
-
- Posts: 6926
- Joined: Thu Feb 10, 2000 8:00 am
-
- Posts: 75
- Joined: Tue Jan 16, 2007 10:37 pm
Q3 1.32 win-x86 Oct 7 2002
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian\baseq3\xcm_tricks2.pk3 (165 files)
C:\Documents and Settings\Ian\baseq3\wtf-q3a_v2.pk3 (526 files)
C:\Documents and Settings\Ian\baseq3\q3dmedited.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm6-ctf_beta.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\q3dm1_converted.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm15v2.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3ctf4+.pk3 (3 files)
C:\Documents and Settings\Ian\baseq3\paradise.pk3 (40 files)
C:\Documents and Settings\Ian\baseq3\pak8.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\pak7.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak6.pk3 (64 files)
C:\Documents and Settings\Ian\baseq3\pak5.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\pak4.pk3 (272 files)
C:\Documents and Settings\Ian\baseq3\pak3.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak2.pk3 (148 files)
C:\Documents and Settings\Ian\baseq3\pak1.pk3 (26 files)
C:\Documents and Settings\Ian\baseq3\pak0.pk3 (3539 files)
C:\Documents and Settings\Ian\baseq3\newmap.pk3 (8 files)
C:\Documents and Settings\Ian\baseq3\keep.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\dm7.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\ctfdm17.pk3 (14 files)
C:\Documents and Settings\Ian\baseq3\cellar.pk3 (6 files)
C:\Documents and Settings\Ian\baseq3\box.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\1337hj.pk3 (34 files)
C:\Documents and Settings\Ian/baseq3
----------------------
4920 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
------- Input Initialization -------
No window for DirectInput mouse init, delaying
Joystick is not active.
------------------------------------
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: localhost:27970
Hostname: ianscomputer
IP: 192.168.1.2
Working directory: C:\Documents and Settings\Ian
execing server2.cfg
sv_maxclients will be changed upon restarting.
------ Server Initialization ------
Server: q3ctf1
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian\baseq3\xcm_tricks2.pk3 (165 files)
C:\Documents and Settings\Ian\baseq3\wtf-q3a_v2.pk3 (526 files)
C:\Documents and Settings\Ian\baseq3\q3dmedited.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm6-ctf_beta.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\q3dm1_converted.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm15v2.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3ctf4+.pk3 (3 files)
C:\Documents and Settings\Ian\baseq3\paradise.pk3 (40 files)
C:\Documents and Settings\Ian\baseq3\pak8.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\pak7.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak6.pk3 (64 files)
C:\Documents and Settings\Ian\baseq3\pak5.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\pak4.pk3 (272 files)
C:\Documents and Settings\Ian\baseq3\pak3.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak2.pk3 (148 files)
C:\Documents and Settings\Ian\baseq3\pak1.pk3 (26 files)
C:\Documents and Settings\Ian\baseq3\pak0.pk3 (3539 files)
C:\Documents and Settings\Ian\baseq3\newmap.pk3 (8 files)
C:\Documents and Settings\Ian\baseq3\keep.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\dm7.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\ctfdm17.pk3 (14 files)
C:\Documents and Settings\Ian\baseq3\cellar.pk3 (6 files)
C:\Documents and Settings\Ian\baseq3\box.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\1337hj.pk3 (34 files)
C:\Documents and Settings\Ian/baseq3
----------------------
9840 files in pk3 files
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1137840 bytes of code
qagame loaded in 3821696 bytes on the hunk
------- Game Initialization -------
gamename: baseq3
gamedate: Sep 30 2002
------------------------------------------------------------
InitGame: \g_gametype\1\capturelimit\5\g_maxGameClients\0\sv_floodProtect\1\sv_maxPing\0\sv_minPing\0\sv_maxRate\0\sv_maxclients\16\sv_hostname\Art of War (http://www.planetquake.com/artofwar)\timelimit\40\fraglimit\0\dmflags\0\sv_punkbuster\0\version\Q3 1.32 win-x86 Oct 7 2002\protocol\68\mapname\q3ctf1\sv_privateClients\0\sv_allowDownload\1\gamename\baseq3\g_needpass\0
Gametype changed, clearing session data.
Warmup:
2 teams with 4 entities
15 items registered
-----------------------------------
Opened log botlib.log
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3ctf1.aas
loaded maps/q3ctf1.aas
found 43 level items
-------------------------------------
32 bots parsed
56 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 11000456 msec frame time
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:27950
Sending heartbeat to master3.idsoftware.com
Resolving master0.gamespy.com
master0.gamespy.com resolved to 207.38.11.34:27950
Sending heartbeat to master0.gamespy.com
Resolving master.kali.net
master.kali.net resolved to 66.165.122.194:27950
Sending heartbeat to master.kali.net
Hitch warning: 1340 msec frame time
what happens next?
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian\baseq3\xcm_tricks2.pk3 (165 files)
C:\Documents and Settings\Ian\baseq3\wtf-q3a_v2.pk3 (526 files)
C:\Documents and Settings\Ian\baseq3\q3dmedited.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm6-ctf_beta.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\q3dm1_converted.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm15v2.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3ctf4+.pk3 (3 files)
C:\Documents and Settings\Ian\baseq3\paradise.pk3 (40 files)
C:\Documents and Settings\Ian\baseq3\pak8.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\pak7.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak6.pk3 (64 files)
C:\Documents and Settings\Ian\baseq3\pak5.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\pak4.pk3 (272 files)
C:\Documents and Settings\Ian\baseq3\pak3.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak2.pk3 (148 files)
C:\Documents and Settings\Ian\baseq3\pak1.pk3 (26 files)
C:\Documents and Settings\Ian\baseq3\pak0.pk3 (3539 files)
C:\Documents and Settings\Ian\baseq3\newmap.pk3 (8 files)
C:\Documents and Settings\Ian\baseq3\keep.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\dm7.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\ctfdm17.pk3 (14 files)
C:\Documents and Settings\Ian\baseq3\cellar.pk3 (6 files)
C:\Documents and Settings\Ian\baseq3\box.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\1337hj.pk3 (34 files)
C:\Documents and Settings\Ian/baseq3
----------------------
4920 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
------- Input Initialization -------
No window for DirectInput mouse init, delaying
Joystick is not active.
------------------------------------
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: localhost:27970
Hostname: ianscomputer
IP: 192.168.1.2
Working directory: C:\Documents and Settings\Ian
execing server2.cfg
sv_maxclients will be changed upon restarting.
------ Server Initialization ------
Server: q3ctf1
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Ian\baseq3\xcm_tricks2.pk3 (165 files)
C:\Documents and Settings\Ian\baseq3\wtf-q3a_v2.pk3 (526 files)
C:\Documents and Settings\Ian\baseq3\q3dmedited.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm6-ctf_beta.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\q3dm1_converted.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3dm15v2.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\q3ctf4+.pk3 (3 files)
C:\Documents and Settings\Ian\baseq3\paradise.pk3 (40 files)
C:\Documents and Settings\Ian\baseq3\pak8.pk3 (9 files)
C:\Documents and Settings\Ian\baseq3\pak7.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak6.pk3 (64 files)
C:\Documents and Settings\Ian\baseq3\pak5.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\pak4.pk3 (272 files)
C:\Documents and Settings\Ian\baseq3\pak3.pk3 (4 files)
C:\Documents and Settings\Ian\baseq3\pak2.pk3 (148 files)
C:\Documents and Settings\Ian\baseq3\pak1.pk3 (26 files)
C:\Documents and Settings\Ian\baseq3\pak0.pk3 (3539 files)
C:\Documents and Settings\Ian\baseq3\newmap.pk3 (8 files)
C:\Documents and Settings\Ian\baseq3\keep.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\dm7.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\ctfdm17.pk3 (14 files)
C:\Documents and Settings\Ian\baseq3\cellar.pk3 (6 files)
C:\Documents and Settings\Ian\baseq3\box.pk3 (7 files)
C:\Documents and Settings\Ian\baseq3\1337hj.pk3 (34 files)
C:\Documents and Settings\Ian/baseq3
----------------------
9840 files in pk3 files
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1137840 bytes of code
qagame loaded in 3821696 bytes on the hunk
------- Game Initialization -------
gamename: baseq3
gamedate: Sep 30 2002
------------------------------------------------------------
InitGame: \g_gametype\1\capturelimit\5\g_maxGameClients\0\sv_floodProtect\1\sv_maxPing\0\sv_minPing\0\sv_maxRate\0\sv_maxclients\16\sv_hostname\Art of War (http://www.planetquake.com/artofwar)\timelimit\40\fraglimit\0\dmflags\0\sv_punkbuster\0\version\Q3 1.32 win-x86 Oct 7 2002\protocol\68\mapname\q3ctf1\sv_privateClients\0\sv_allowDownload\1\gamename\baseq3\g_needpass\0
Gametype changed, clearing session data.
Warmup:
2 teams with 4 entities
15 items registered
-----------------------------------
Opened log botlib.log
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3ctf1.aas
loaded maps/q3ctf1.aas
found 43 level items
-------------------------------------
32 bots parsed
56 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 11000456 msec frame time
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:27950
Sending heartbeat to master3.idsoftware.com
Resolving master0.gamespy.com
master0.gamespy.com resolved to 207.38.11.34:27950
Sending heartbeat to master0.gamespy.com
Resolving master.kali.net
master.kali.net resolved to 66.165.122.194:27950
Sending heartbeat to master.kali.net
Hitch warning: 1340 msec frame time
what happens next?
in the quake3 console after starting quake3 again <?> leave the other quake3 running "server" type
/connect localhost
your freinds to connect would need to know your ip address
i'll take a guess and say your ip is 192.168.1.2
your freinds need to type
/connect 192.168.1.2
/connect localhost
your freinds to connect would need to know your ip address
i'll take a guess and say your ip is 192.168.1.2
your freinds need to type
/connect 192.168.1.2
[color=#FF0000][WYD][/color]