Hi,I am having this error when I start bat.bat:
dvar ''g_logsync'' must be greater or equal to 1,current:0
How to change it to 1?
Hi,I am having this error when I start bat.bat:
dvar ''g_logsync'' must be greater or equal to 1,current:0
How to change it to 1?
You can find this setting in your serverconfig file of you COD-Server.
Search for g_logsync and change the value to 1 (or greater). Don't forget to restart your server.
I have:
main()
{
// Search & Destroy
setDvar("scr_sd_roundlimit", "24");
setDvar("scr_sd_roundswitch", "12");
setDvar("scr_sd_scorelimit", "0");
// Team Deathmatch
setDvar("scr_war_numlives", "0");
setDvar("scr_war_playerrespawndelay", "0");
setDvar("scr_war_roundlimit", "1");
setDvar("scr_war_scorelimit", "0");
setDvar("scr_war_timelimit", "33");
setDvar("scr_war_waverespawndelay", "0");
// Friendly Fire
setDvar("scr_team_fftype", "0");
// Respawn
setDvar("scr_player_forcerespawn", "1");
setDvar("scr_player_respawndelay", "0");
// Game Timers
setDvar("scr_game_graceperiod", "5");
setDvar("scr_game_matchstarttime", "10");
setDvar("scr_game_playerwaittime", "15");
// Classes
////////////////////////////////////////////
//
// Assault Class Options
setDvar("allies_allow_assault", "1");
setDvar("axis_allow_assault", "1");
setDvar("class_assault_allowdrop", "1");
setDvar("class_assault_camo", "camo_none");
setDvar("class_assault_frags", "0");
setDvar("class_assault_grenade", "none");
setDvar("class_assault_limit", "64");
setDvar("class_assault_primary", "ak47");
setDvar("class_assault_primary_attachment", "none");
setDvar("class_assault_secondary", "deserteagle");
setDvar("class_assault_secondary_attachment", "none");
setDvar("class_assault_special", "1");
// Weapons
setDvar("weap_allow_ak47", "1");
setDvar("weap_allow_g3", "1");
setDvar("weap_allow_g36c", "1");
setDvar("weap_allow_m14", "1");
setDvar("weap_allow_m16", "1");
setDvar("weap_allow_m4", "1");
setDvar("weap_allow_mp44", "1");
// Attachments
setDvar("attach_allow_assault_silencer", "1");
////////////////////////////////////////////
//
// Demolitions Class Options
setDvar("allies_allow_demolitions", "1");
setDvar("axis_allow_demolitions", "1");
setDvar("class_demolitions_allowdrop", "0");
setDvar("class_demolitions_camo", "camo_none");
setDvar("class_demolitions_frags", "0");
setDvar("class_demolitions_grenade", "none");
setDvar("class_demolitions_limit", "1");
setDvar("class_demolitions_primary", "winchester1200");
setDvar("class_demolitions_primary_attachment", "none");
setDvar("class_demolitions_secondary", "deserteagle");
setDvar("class_demolitions_secondary_attachment", "none");
setDvar("class_demolitions_special", "1");
// Weapons
setDvar("weap_allow_m1014", "1");
setDvar("weap_allow_winchester1200", "1");
// Sniper Class Options
setDvar("allies_allow_sniper", "1");
setDvar("axis_allow_sniper", "1");
setDvar("class_sniper_allowdrop", "0");
setDvar("class_sniper_camo", "camo_none");
setDvar("class_sniper_frags", "0");
setDvar("class_sniper_grenade", "none");
setDvar("class_sniper_limit", "1");
setDvar("class_sniper_primary", "m40a3");
setDvar("class_sniper_primary_attachment", "none");
setDvar("class_sniper_secondary", "deserteagle");
setDvar("class_sniper_secondary_attachment", "none");
setDvar("class_sniper_special", "1");
// Weapons
setDvar("weap_allow_m40a3", "1");
setDvar("weap_allow_remington700", "1");
// Attachments
setDvar("attach_allow_sniper_none", "1");
////////////////////////////////////////////
//
// SpecOps Class Options
setDvar("allies_allow_specops", "1");
setDvar("axis_allow_specops", "1");
setDvar("class_specops_allowdrop", "1");
setDvar("class_specops_camo", "camo_none");
setDvar("class_specops_frags", "0");
setDvar("class_specops_grenade", "none");
setDvar("class_specops_limit", "64");
setDvar("class_specops_primary", "ak74u");
setDvar("class_specops_primary_attachment", "none");
setDvar("class_specops_secondary", "deserteagle");
setDvar("class_specops_secondary_attachment", "none");
setDvar("class_specops_special", "1");
// Weapons
setDvar("weap_allow_ak74u", "1");
setDvar("weap_allow_mp5", "1");
setDvar("weap_allow_uzi", "1");
// Attachments
setDvar("attach_allow_smg_none", "1");
setDvar("attach_allow_smg_silencer", "1");
////////////////////////////////////////////
//
// Other Weapons
// Pistols
setDvar("weap_allow_beretta", "1");
setDvar("weap_allow_colt45", "1");
setDvar("weap_allow_deserteagle", "1");
setDvar("weap_allow_deserteaglegold", "1");
setDvar("weap_allow_usp", "1");
// Attachments
setDvar("attach_allow_pistol_none", "1");
setDvar("attach_allow_pistol_silencer", "1");
// Other nades
setDvar("weap_allow_flash_grenade", "0");
setDvar("weap_allow_frag_grenade", "0");
setDvar("weap_allow_smoke_grenade", "0");
// Smoke
setDvar("scr_weapon_allowsmoke", "1");
// Logging
setDvar("logfile", "1");
setDvar("g_log", "games_mp.log");
setDvar("g_logSync", "1");
setDvar("loc_warnings", "0");
// Voting
setDvar("g_allowVote", "0");
setDvar("g_voteAbstainWeight", "0.5");
setDvar("g_oldVoting", "1"); // Unknown what it does, but obviously goes here
// Anti-Lag efforts
setDvar("g_antilag", "0"); // in testing
setDvar("g_smoothClients", "1");
// Other
setDvar("sv_fps", "30"); // in testing
setDvar("scr_teambalance", "0");
setDvar("scr_game_allowkillcam", "0");
setDvar("public_mode", "1" );
}
I changed it to 1,but it still says I got it set to 0..must i copy this somewhere?