*goobert Posted October 24, 2006 Share Posted October 24, 2006 Afternoon, I hope you can offer a little advice on a recent problem I have found. The automated install on TCAdmin has uncovered a little problem. In its most basic form, the ports on a single box seem to be changing on their own accord. Example: COD 2 xx.xx.xx.xx:28960 xx.xx.xx.xx:28961 xx.xx.xx.xx:28962 If I have 3 virtual servers of COD 2 on the same ip, with ports as above, all work fine whilst the servers are running. When the servers are set up through the automated process, I have unchecked use default ports and assigned the ports myself. If I close/delete 28961 - for some reason on reboot of the virtual server 28962 changes itself down to 28961. I am failing to notice why. To stop it happening I have had to add the 'additional argument' +set net_port xxxxx (where it is the port the server should always have) We are in the process of integrating modernbill, and with full auto installs I am almost sure this will cause problems. Has anyone had a similar problem, and how was it solved? Any advice at all is appreciated - I'm sure this is something very basic but just can't put my finger on it ! Thanks Link to comment Share on other sites More sharing options...
ECF Posted October 24, 2006 Share Posted October 24, 2006 You should add the +set net_port xxxxx to the default commandline in the game config for COD2. If you do not specify the port number in the commandline, I would assume the game will search for the first availible one that is open. Which could be causing what you are seeing. By unchecking the "use default ports" option in TCAdmin, and entering a port, you are really doing nothing, as the control point would be the +set net_port which needs to be in the default commandline of the game config to work properly. Your default commandline with the COD2 game config in TCAdmin should look something like this. +set fs_savepath %userfilespath% +set dedicated 2 +set net_ip %serverip% +set net_port %serverport% +set sv_maxclients %slots% +set sv_punkbuster 1 +exec server.cfg +map_rotate Link to comment Share on other sites More sharing options...
*goobert Posted October 24, 2006 Author Share Posted October 24, 2006 Aaargh And therein lies the answer to my riddle. I really should have noticed that if I am being truthful. Thanks ECF. Link to comment Share on other sites More sharing options...
24play1 Posted November 4, 2006 Share Posted November 4, 2006 goobert if this is who I think it is will provide a slap via msn Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.