30.4.2009 09:45
It looks like you tried to keep your modifications while updating. function WaitForLimitChanges() isn't declared or called, otherwise those variables would be defined.
Coffee phreak!
set sv_hostname "Serwerek CoDzika2 @ Gameadmin.pl"
set sv_pure "0"
set rcon_password ""
set g_password ""
set sv_privatePassword ""
set sv_privateClients ""
set g_log "server.log"
set g_logsync "0"
set sv_floodProtect "1"
set sv_maxPing "150"
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "master.gamespy.com:28960"
set sv_master4 "master0.gamespy.com"
set sv_master5 "master1.gamespy.com"
set sv_master6 "clanservers.net"
set sv_master7 "codmaster.infinityward.com"
set sv_gamespy "1"
set scr_drawfriend "1"
set scr_forcerespawn "0"
set scr_friendlyfire "0"
set scr_freelook "1"
set scr_spectateenemy "0"
set scr_roundcam "1"
set scr_killcam "1"
set g_deadchat "1"
set scr_teambalance "1"
set g_teamswitchdelay "25"
set sv_zombietime "1"
set sv_timeout "120"
set g_inactivity "0"
set g_inactivityspectator "0"
set sv_kickBanTime "300"
set sv_voice "0"
set sv_voiceQuality "0"
set voice_deadChat "0"
set scr_allow_enfieldsniper "1"
set scr_allow_kar98ksniper "1"
set scr_allow_nagantsniper "1"
set scr_allow_springfield "1"
set scr_allow_svt40 "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_nagant "1"
set scr_allow_g43 "1"
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_mp44 "1"
set scr_allow_ppsh "1"
set scr_allow_sten "1"
set scr_allow_mp40 "1"
set scr_allow_thompson "1"
set scr_allow_pps42 "1"
set scr_allow_greasegun "1"
set scr_allow_shotgun "1"
set scr_allow_smokegrenades "1"
set scr_allow_fraggrenades "1"
set scr_dm_scorelimit "200"
set scr_dm_timelimit "30"
set scr_tdm_scorelimit "400"
set scr_tdm_timelimit "30"
scr_ctf_scorelimit "15"
set scr_ctf_timelimit "30"
set scr_hq_scorelimit "600"
set scr_hq_timelimit "30"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "0"
set scr_sd_timelimit "20"
set scr_sd_bombtimer "60"
set sv_allowDownload "1"
set sv_wwwDownload "0"
set sv_wwwBaseURL ""
set sv_mapRotationCurrent ""
set sv_MapRotation "gametype sd map mp_matmata gametype tdm map mp_downtown gametype sd map mp_rhine"
exec Ashus.cfg
Cvar server example variables:
// Welcome Messages
set am_welcome_msg_wait 1
set am_welcome_msg_small 1
set am_welcome_msg_1 "^3=================================="
set am_welcome_msg_2 "Welcome to ^6Czf^2Kafe^3mlynek^7"
set am_welcome_msg_3 "Rules and statistics are at ^3www.km.ashus.net^7"
set am_welcome_msg_4 "^3=================================="
// you can add more (unlimited), add an empty one to stop at it, add an "-" to wait once more before showing next msg
set am_only_with_autodownload "1"
// Voting
set scr_allow_vote "0"
set g_allowvote "0"
set am_vote "1"
set am_vote_map "1"
set am_vote_gametype "1"
set am_vote_shuffled "1"
set am_vote_time "25"
set am_vote_spectators "1"
//set am_vote_delete_defaults "1"
//set am_vote_enable_mp_toujane "0"
//set am_vote_enable_sd "0"
//set am_vote_extra_m_1 "mp_silotown"
//set am_vote_extra_m_1_f "SiloTown"
//set am_vote_extra_g_1 "ctb"
//set am_vote_extra_g_1_f "Capture the Beer"
// USE am_vote_now 1 to pop up vote menu instantly (c) Ashus
// Anti-same-map/gametype (c) Ashus
set am_antisamemap "1"
set am_antisamemap_one ""
set am_antisamemap_max "3"
set am_antisamegametype "1"
set am_antisamegametype_one "sd"
set am_antisamegametype_max "3"
//
// Anti-camp (c) Ashus
set am_camper_show "1"
set am_camper_show_allmodes "1"
set am_camper_radius "70"
set am_camper_time1 "20"
// DM, TDM timing
set am_camper_time2 "25"
set am_camper_time_chill_slow "1"
set am_camper_time_to_chill "5"
set am_camper_time_chill_speed "1"
set am_camper_show_friendly "0"
set am_camper_radius_b "70"
set am_camper_time1_b "20"
set am_camper_time2_b "25"
set am_camper_time_chill_slow_b "1"
set am_camper_time_to_chill_b "5"
set am_camper_time_chill_speed_b "2"
set am_camper_show_friendly_b "0"
set am_camper_msg1 "^1Nekempi!"
set am_camper_msg2 "^6Uz si pro tebe jdou!"
// CampMeter (c) Ashus
set am_camper_show_campmeter "1"
// Remaining players indicator (c) Ashus
set am_remaining_players_show "1"
set am_remaining_players_text "Zbyva"
// Final ranks (c) Ashus
set am_show_ratios "1"
set am_finals_ranks "1"
set am_finals_ranks_i1 "-20"
set am_finals_ranks_i2 "-10"
set am_finals_ranks_i3 "10"
set am_finals_ranks_i4 "20"
set am_finals_ranks_s1 "Hrajes jako ponocnej."
set am_finals_ranks_s2 "Hrajes celkem blbe."
set am_finals_ranks_s3 "Hrajes normalne."
set am_finals_ranks_s4 "Hrajes dobre."
set am_finals_ranks_s5 "Hrajes vyborne."
set am_camper_show_finals "1"
set am_camper_finals_title "^3Kdo nam to kazil"
// Spawn protection
set am_spawnprotection "1"
set am_spawnprotection_time "5"
set am_spawnprotection_distance "120"
set am_spawnprotection_dropweapon "0"
// Weapons
set am_sniper_limit "0"
set am_shotgun_limit "0"
set am_grenades_limit "0"
set am_smokes_limit "0"
set am_allow_turret "0"
set am_allow_turret_b "0"
//set am_bash "1"
//set am_pistols "1"
// Spectator abuse (c) Ashus
set am_abuse_spectators "1"
set am_abuse_spectators_warn_time "290"
set am_abuse_spectators_warn_msg "^3Spectator, play or leave - you're breaking the rules"
set am_abuse_spectators_action "1"
set am_abuse_spectators_action_time "300"
set am_abuse_spectators_assign_weapchoice_timeout "10"
set am_abuse_spectators_assign_msg "^3You're in. Choose your weapon, though now use just a pistol."
set am_abuse_spectators_kick_msg "You were kicked for inactivity."
set am_abuse_spectators_kick_from_sd "1"
set am_abuse_spectators_kick_from_sd_tolerance "1"
// Name checker (c) Ashus
set am_name_checker "1"
set am_name_checker_forbid_unknown "1"
set am_name_checker_min_letters "3"
set am_name_checker_kick_msg "You were kicked for bad name. It must contain at least 3 letters and not be blacklisted."
set am_name_checker_max_renames "2" //0 = disable checking, 1 = no renaming allowed, 2 = one renaming allowed, etc.
set am_name_checker_rename_kick_msg "You were kicked for renaming. You are violating rules of the server."
set am_name_checker_rename_warn_msg "^1Warning: This server does not tolerate renaming."
// UT sounds (c) Ashus
set am_utsounds "0"
set am_utsounds_countdown "1"
set am_utsounds_countdown_sd "1"
set am_utsounds_countdown_sd_sec "1"
*/
******* script runtime error *******
undefined is not an array, string, or vector: (file 'maps/mp/gametypes/__kafemlynek_by_ashus.gsc', line 1068)
if (isdefined(self.am_campmeter[i]))
*
started from:
(file 'maps/mp/gametypes/__kafemlynek_by_ashus.gsc', line 1042)
wait 1;
*
************************************
********************
ERROR: script runtime error
(see console for details)
(file 'maps/mp/gametypes/__kafemlynek_by_ashus.gsc', line 1042)
set developer "0"
http://rapidshare.com/files/231225610/zzz_k28c.iwd