Help with setting up my server

tribhuvana

Junior Member
Joined
Feb 20, 2008
Likes
0
#1
so I have a server, and here is the config file:

Code:
sv_hostname "a game for sdgpgmsfd"



set g_gametype 1


set rconpassword "[NOT TELLING]"



seta sv_floodProtect "1"
seta flood_waitdelay "10"
seta flood_persecond "4"
seta flood_msgs "4"


set g_healthdrop 1

set g_realismmode 0

set sv_dmspeedmult 1.100000


set g_teamdamage 0

// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 20

// Max Players
set sv_maxclients 16

// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 0

// Frag Limit
// The score at which the player or team will win the current map.
fraglimit 20

// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 0


set sv_team_spawn_interval 15


roundlimit 0

set g_inactivespectate 320

 seconds is default.
set g_inactivekick 900

set sv_gamespy 2


set sv_pure 0


// Allow Vote
// Enables players to call a vote.
set g_allowvote 0

// Flood Protect
// Limits amount of text a player can type
set sv_floodprotect 1

// Forces players to only be able to spectate behind their own team. 
set g_forceteamspectate 1

set dmflags 0

set nohorror 1


set sv_invulnerabletime 3

// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 3

// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5

// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 15


// Allow Join Time
set g_allowjointime 30

// Private Clients
// Clients that require a password to join
set sv_privateclients 0

// Password
// Allows you to set a password for the server
set sv_privatepassword ""

// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""

// Net Port
net_ip 5.104.13.143 //use your IP 
net_port 12203 //and your port number 
//net_restart 


// Minimum Ping to allow clients to join with.  0 means anyone
set sv_minping 0

// Maximum Ping to allow clients to join with.  0 means anyone
set sv_maxping 0

// Maximum Rate
set sv_maxrate 0

// Map
// Starting map on the rotation.
map "dm/mohdm1"

// Map Rotation List
sv_maplist "dm/mohdm1 dm/mohdm6 dm/thefalls"



// Default to sprint-off and Allied Assault runspeed
sv_sprinton 0
sv_runspeed 250	// breakthrough runspeed is 287, MOHAA is 250


//exec rcon.cfg
(I edited out a lot of the comment lines to save space)

when I host the server, people on my LAN and same wireless network can play in the server. however, when they are on a different network, the server can not be seen in LAN or the internet games list. I think I have all the necessary ports forwarded, but I don't know what is wrong. :(
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#2
Checking against the port forward guide would certainly be a first step.

Are the local players seeing it in a list or just connecting by IP?

Can someone from the outside connect by (external) IP?
 

tribhuvana

Junior Member
Joined
Feb 20, 2008
Likes
0
#3
Checking against the port forward guide would certainly be a first step.

Are the local players seeing it in a list or just connecting by IP?

Can someone from the outside connect by (external) IP?
part of the problem was a bad install of Hamachi which prevented it, now it shows up on LAN. however, still not in internet though.

yeah, I have checked them multiple times.

the LAN works now.

they can connect through IP, but it takes more than ten minutes after clicking join, and we stopped after waitiing that long.
 

GaSplat

Administrator
Joined
Sep 22, 2003
Likes
2
Location
St Louis
#4
I don't see the master server entries in your config (see the default configs you got with the game to see the entries).

I have also found that the only place to set ip and port is in the start up command, and even that does not appear to be 100%.

You should also check to make sure any firewall running on the server is giving the game server permissions to listen on ports.

I don't know what Hamachi does to your networking but any kind of VPN service is apt to hose things up. If all else fails, try stopping Hamachi (may need to reboot with Hamachi disablesd or temporarily removed from auto-starting).
 
Top Bottom