PDA

View Full Version : log problem


bobby5892
09-23-2008, 03:49 PM
Long time viewer, first time poster!

Anyhow.

I cannot get my 1.7 linux server to do logs.

I changed permissions on every folder within my root cod4 to 777 (chmod).

My config file looks like


// ************************************************** ***
// *********** Server Security & Errors *************
// ************************************************** ***
// Log Settings
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set g_log "/home/dildohun/temp/cod4/main/games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"

//SV Pure
set sv_pure "1"
//SV Cheats
set sv_cheats "0"
//Allowed Clans
set sv_allowedClan1 ""
set sv_allowedClan2 ""
//Disable Console
set sv_disableClientConsole "0"
set sv_reconnectlimit "3"
//************************************************** ****************************
// Color Codes
//************************************************** ****************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
// ************************************************** ***
// ************ Public Info ****************************
// ************************************************** ***
// SETS PUBLIC INFO (stuff that shows up in server info)
sets g_needpass "" // Denotes whether the server is public or private
sets _Admin "Flexo and Fate"
sets _Email "admin@dumpsterbabies.net"
sets _Website "dumpsterbabies.net"
sets _Location "US"
sets _Irc ""
// ************************************************** ***
// *********** Server Dvars ****************
// ************************************************** ***
// Hostname and MOTD
//sv_hostname "GameTracker"
sv_hostname "]^3db^7[^1DumpsterBabies HC"
set scr_motd "dumpsterbabies.com for details"
set sv_maxclients "16"
set rcon_password "rconpasshere"
set sv_privatePassword "" // OPTIONAL CHANGE ME
set g_password "" // Only used if you want to close your server to the public

// Reserved Slots
set sv_privateClients "" //Allows players to enter the server without taking up public slots
//Downloads
seta sv_allowAnonymous "0"
set sv_allowdownload "1"
// Server Packet Rate
set sv_maxRate "25000"
// Limit Laggers and reconnect spammers
set sv_minPing "0"
set sv_maxPing "350"
// - Banning
set g_banIPs ""
//voting
set g_allowvote "0"
// 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"

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "0"
seta sv_wwwDownload "0"
//seta sv_wwwBaseURL "http://www.your_website.com/base_folder"
seta sv_wwwDlDisconnected "1"


//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150
set scr_dm_timelimit 10
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0
//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 200
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0
//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 2000
set scr_war_timelimit 15
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 1
set scr_war_waverespawndelay 0
//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 2
set scr_sab_timelimit 10
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 45
set scr_sab_planttime 2
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 6
set scr_sab_waverespawndelay 0
//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 4
set scr_sd_timelimit 2.5
set scr_sd_roundlimit 0
set scr_sd_roundswitch 3 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0
//************************************************** ****************************
// CAPTURE THE FLAG -- NOT YET
//************************************************** ****************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15
//************************************************** ****************************
// KING OF THE HILL
//************************************************** ****************************
set scr_koth_scorelimit 1000
set scr_koth_timelimit 15
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60
//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_allowkillcam 0
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 0
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 1
set scr_game_forceuav 0
set scr_game_hardpoints 1
set scr_teambalance 1
//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1
//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 3
set scr_team_teamkillspawndelay 20
set scr_team_kickteamkillers 0
//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4
//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 1
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 1

//
//
// PUB SERVER ROTATION
set sv_mapRotation "gametype sab map mp_broadcast gametype war map mp_crossfire gametype sab map mp_citystreets gametype war map mp_backlot gametype sab map mp_convoy gametype koth map mp_pipeline gametype war map mp_bog gametype sab map mp_bloc gametype sab map mp_overgrown gametype war map mp_vacant gametype sab map mp_farm gametype war map mp_countdown gametype war map mp_crash gametype sab map mp_creek gametype koth map mp_pipeline gametype sab map mp_vacant gametype war map mp_showdown gametype war map mp_citystreets gametype sab map mp_convoy gametype koth map mp_strike gametype sab map mp_strike gametype war map mp_creek gametype sab map mp_carentan gametype war map mp_farm gametype koth map mp_crash gametype sab map mp_crossfire gametype war map mp_backlot gametype sab map mp_bloc gametype war map mp_overgrown gametype sab map mp_broadcast gametype koth map mp_convoy gametype war map mp_farm gametype sab map mp_creek"
sv_punkbuster 1
//
//
//
// this is a bug in the 1.5 patch, IW may change this so it only works in unranked servers
set scr_heli_maxhealth "550"
set scr_heli_target_recognition "0.3"
set scr_heli_turretclipsize "20"




I also have setenforce 0 - to disable sulinux

I have tried using full path, and using a relative path
So both
set g_log "/home/dildohun/temp/cod4/main/games_mp.log"
and
set g_log "games_mp.log"

Thanks in advance.

wcSki
09-24-2008, 10:28 AM
Is this a linux server??

Look for the logs in the .callofduty/main folder on your server.