Moderators: Joe Kari, Pardner, TheDoctor
/dev/random wrote:I don't mean to be rude, but why don't you just RTFM?
There are plenty tutorials out there, which explain how to set up a Quake3 server. Since SG bases upon Q3, setting up a server is almost the same.
Anyways, we need more information about your conditions. Which hardware, which OS, etc. What are the specific problems (error messages and the like)?
"C:\SG\smokinguns.exe" +set dedicated 2 +set net_port 27960 +exec server.cfg
/dev/random wrote:Assuming you have SG in C:\SG and your server.cfg in C:\SG\smokinguns\server.cfg, try the following:
- Code: Select all
"C:\SG\smokinguns.exe" +set dedicated 2 +set net_port 27960 +exec server.cfg
This will launch a dedicated smokin guns server, which only hosts the game. If you want to participate in the game, you need to start SG a second time and join your server.
Make sure port 27960 UDP or whatever you choose has been enabled in your firewall.
Of course you'll need to have some settings and a maprotation inside your config
As a side note, this is exactly what you'd do to start a Q3 server. Of course it's quake3.exe and maybe another path, but that's it. And the config has different cvars and maps, but that's not too diffcult to grab I guess
/dev/random wrote:Why don't you ask your school's admin whether he will open the port in the firewall? If it is blocked, there's most likely a reason to it. Circumventing these rules may result in a lot of trouble
If port 80/442 is open, this is usally TCP, not UDP. Furthermore, ports < 1024 do need admin-privileges to be opened. You may portscan your school's server and see which ports aren't filtered
/dev/random wrote:The game doesn't know whether ports are open or not.
The "UDP" is just added to indicate the server is using udp when querying local servers. Sort of pointless, since there is no other protocol being used iirc
StartServer.bat wrote:smokinguns.exe <additional parameters>
StartServer.bat wrote:smokinguns.exe +set dedicated 2 exec MyFirstServer.cfg
SG 1.0 win-x86 Dec 29 2008
----- FS_Startup -----
pak0 has checksum 2206249363
alamo1 has checksum 3611996451
joekarimat1 has checksum 891991440
sg_maps0 has checksum 3111238755
sg_pak0 has checksum 2450671269
sg_sounds has checksum 1404357192
sg_textures0 has checksum 3110057026
Current search path:
C:\Program Files\Smokin' Guns\smokinguns\sg_textures0.pk3 (1018 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_sounds.pk3 (278 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_pak0.pk3 (803 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_maps0.pk3 (161 files)
C:\Program Files\Smokin' Guns\smokinguns\joekarimat1.pk3 (178 files)
C:\Program Files\Smokin' Guns\smokinguns\alamo1.pk3 (14 files)
C:\Program Files\Smokin' Guns/smokinguns
C:\Program Files\Smokin' Guns\baseq3\pak0.pk3 (107 files)
C:\Program Files\Smokin' Guns/baseq3
----------------------
2559 files in pk3 files
execing default.cfg
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found AMD w/ 3DNow!
------- Input Initialization -------
No window for DirectInput mouse init, delaying
Joystick is not active.
------------------------------------
--- Common Initialization Complete ---
Winsock Initialized
Opening IP socket: 192.168.1.101:27960
Hostname: Sucalakafufu
IP: 192.168.1.101
IP: 5.19.52.77
IP: 192.168.0.1
IP: 192.168.218.1
Working directory: C:\Program Files\Smokin' Guns
execing server.cfg
------ Server Initialization ------
Server: dm_hangemhigh
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
pak0 has checksum 2206249363
alamo1 has checksum 3611996451
joekarimat1 has checksum 891991440
sg_maps0 has checksum 3111238755
sg_pak0 has checksum 2450671269
sg_sounds has checksum 1404357192
sg_textures0 has checksum 3110057026
Current search path:
C:\Program Files\Smokin' Guns\smokinguns\sg_textures0.pk3 (1018 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_sounds.pk3 (278 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_pak0.pk3 (803 files)
C:\Program Files\Smokin' Guns\smokinguns\sg_maps0.pk3 (161 files)
C:\Program Files\Smokin' Guns\smokinguns\joekarimat1.pk3 (178 files)
C:\Program Files\Smokin' Guns\smokinguns\alamo1.pk3 (14 files)
C:\Program Files\Smokin' Guns/smokinguns
C:\Program Files\Smokin' Guns\baseq3\pak0.pk3 (107 files)
C:\Program Files\Smokin' Guns/baseq3
----------------------
5118 files in pk3 files
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1607212 bytes of code
qagame loaded in 4532960 bytes on the hunk
------- Game Initialization -------
gamename: smokinguns
gamedate: Dec 29 2008
Swap_Init: byte order functions set on little endian QVM
Server: Loading tex-file... maps/dm_hangemhigh.tex
AiNode-File: maps/dm_hangemhigh.ai:
40 nodes parsed
------------------------------------------------------------
InitGame: \g_deathcam\0\g_splitChat\0\g_chaseonly\0\g_roundtime\0\du_forcetrio\0\du_enabletrio\0\scorelimit\10\duellimit\5\g_specsareflies\1\g_blueteamname\Lawmen\g_redteamname\Outlaws\sv_hostname\FU Server TEST\sv_maxRate\8000\sv_minPing\0\sv_maxPing\0\sv_floodProtect\1\dmflags\0\fraglimit\30\timelimit\0\sv_maxclients\12\g_maxGameClients\0\g_allowVote\1\g_gametype\0\g_delagHitscan\1\g_allowVoteKick\1\version\SG 1.0 win-x86 Dec 29 2008\protocol\68\mapname\dm_hangemhigh\sv_privateClients\0\sv_allowDownload\0\Admin\Sucalakafufu\g_motd\Please visit forum.smokin-guns.org\sv_Location\your server's location\MOD_URL\forum.smokin-guns.org\IRC\#smokinguns @ irc.freenode.net\gamename\smokinguns\g_needpass\0\g_unlaggedVersion\2.0\g_redteamcount\0\g_blueteamcount\0\g_redteamscore\0\g_blueteamscore\0\sg_version\1.0 20081229
0 teams with 0 entities
21 items registered
-----------------------------------
------- 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/dm_hangemhigh.aas
loaded maps/dm_hangemhigh.aas
weapon_knife not reachable for bots at (64.0 192.0 151.1)
weapon_knife not reachable for bots at (64.0 226.0 151.1)
found 7 level items
-------------------------------------
8 bots parsed
file not found: scripts/arenas.txt
0 arenas parsed
server time 0 , map time 0
AAS initialized.
-----------------------------------
Hitch warning: 190506944 msec frame time
Resolving master.quake3arena.com
master.quake3arena.com resolved to 192.246.40.56:27950
Sending heartbeat to master.quake3arena.com
Resolving master0.gamespy.com
master0.gamespy.com resolved to 207.38.11.174:27950
Sending heartbeat to master0.gamespy.com
Hitch warning: 1885 msec frame time
Hitch warning: 14319 msec frame time
loaded skill 1 from bots/default_c.c
loaded skill 1 from bots/male1_c.c
loaded skill 4 from bots/default_c.c
loaded skill 4 from bots/male1_c.c
loaded bots/male1_i.c
loaded bots/male1_w.c
loaded Clint from bots/male1_t.c
ClientConnect: 0
ClientUserinfoChanged: 0 n\TheMexican\t\0\model\wq_male3/red\hc\90\w\0\l\0\skill\3.000000\tt\0\tl\0
broadcast: print "TheMexican connected\n"
broadcast: print "TheMexican entered the game\n"
ClientBegin: 0
Item: 0 weapon_schofield bought ($18/$20)
Interesting part wrote:Winsock Initialized
Opening IP socket: 192.168.1.101:27960
Hostname: Sucalakafufu
IP: 192.168.1.101
IP: 5.19.52.77
IP: 192.168.0.1
IP: 192.168.218.1
Lucky Bro wrote:Anyway just to be sure - let me know if your current PC hasn't direct access to the internet and my assumption is correct.
Lucky Bro wrote:I think that this IP (5.19.52.77) is going from hamachi