View Full Version : Server problem
DaN#GW
11-09-2007, 09:47 AM
Hi, I have followed carefully the tutorial on setting up a server in windows and everything has gone smoothly, people can join the server etc.. but for some reason whatever i enter in sets sv_hostname "MY SERVER NAME" it doesn't actually change the name.
If it helps this is the command line - "D:\COD4\iw3mp.exe" +set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate
RaDioAcTivE
11-09-2007, 11:32 AM
You may want to post your entire cfg. I usually add the IP and port to my command line but that shouldn't make a difference.
The only thing without seeing more that I can think of is that the hostname could be in the cfg at a later point overwriting what you're putting in?????? Pretty weak but that's all I got.
DaN#GW
11-09-2007, 11:45 AM
//************************************************** ****************************
// Call of Duty 4
//************************************************** ****************************
//************************************************** ****************************
// Public Information
//************************************************** ****************************
sets sv_hostname "#GW - www.TeHGW.co.uk"
sets _Admin "DaN"
sets _Email "my@email.com"
sets _Website "http://www.TeHGW.co.uk"
sets _Location "UK"
sets _Irc ""
set scr_motd "Welcome."
//************************************************** ****************************
// Common Server Settings
//************************************************** ****************************
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
// Network options
set net_ip "85.17.171.30" // Set your servers IP address
set net_port "28960" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet
// Password Settings
set rcon_password "somepass" // RCON must supply pw to use
set sv_privatePassword "" // Private slots, non-public slots
// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""
// Player slots setup
set sv_maxclients "20" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "200" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "1"
//seta sv_wwwBaseURL "http://www.xxx.xxx.xx"
seta sv_wwwDlDisconnected "1"
// Rate
set sv_maxRate "5000"
// FPS
//set sv_fps "20"
// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"
// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"
// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "0"
// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"
// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
The server name just stays at "CoD4Host"
[ELS]WRX Boy
11-09-2007, 11:49 AM
Try changing it to "set sv_hostname...". Lose the s after set. I don't have it and mine works fine.
Also, just a note for your security, make sure you *** out your passwords. You may want to change your rcon password if that was actually it.
DaN#GW
11-09-2007, 11:51 AM
Thanks i'll try it, btw the password isn't actually that ;)
DaN#GW
11-09-2007, 12:07 PM
I seem to have fixed it now, had to put +set sv_hostname "server name" in the command line.
What could be the cause of this and could it be that none of my other variables in the config are working?
Daboys
11-09-2007, 12:12 PM
I would make sure your config name is the same name as in your startup shortcut.
Also, were do you have your config? It should be in the "main" folder with your setup
"Opps, my reply was after yours - sorry"
DaN#GW
11-09-2007, 12:29 PM
My config file IS in the main folder with iw3mp.exe etc.. and it does seem the config isn't working because when i try connecting to the server with codrcon tool it tells me that i must set a rcon password, but if i put +set rcon_password in the command line it works fine.
Daboys
11-09-2007, 12:46 PM
I tried your server IP listed in your config but it doesn't show up.
Can you confirm your server is listed here: http://www.game-monitor.com/
[ELS]WRX Boy
11-09-2007, 12:49 PM
Your config file needs to be in the "main" folder, as in "C:\Program Files\Activision\Call of Duty 4\main" (this is the default install location).
Daboys
11-09-2007, 12:55 PM
WRX Boy;55300']Your config file needs to be in the "main" folder, as in "C:\Program Files\Activision\Call of Duty 4\main" (this is the default install location).
Ya, you got it right. I saw main and didn't read his post fully - my bad
TY
DaN#GW
11-09-2007, 12:58 PM
haha thanks alot mate, knew it would be something realy simple, really appreciated. :o
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.