Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Call Of Duty 2: Kafemlynek MOD 3.0 CZ
#31

It looks like you tried to keep your modifications while updating. function WaitForLimitChanges() isn't declared or called, otherwise those variables would be defined.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#32

Do you have any idea how to fix it?

It still not working form me at Windows server, nor Linux server. Error message is the same.

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply
#33

It's incomprehesnsible. That's working for u, but not for me Sad
Reply
#34

I love your mod, but I can't use it, help please?

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply
#35

No help. TY!

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply
#36

******* script runtime error *******
pair 'undefined' and '1' has unmatching types 'undefined' and 'string': (file 'maps/mp/gametypes/__kafemlynek_by_ashus.gsc', line 841)
if ((game["am_vote_map"] == "1") || (game["am_vote_gametype"] == "1")) {
*
called from:
(file 'maps/mp/gametypes/ctf.gsc', line 314)
maps\mp\gametypes\__kafemlynek_by_ashus:TonguelayerConnect();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 38)
[[level.callbackPlayerConnect]]();
*
started from:
(file 'maps/mp/gametypes/ctf.gsc', line 241)
self waittill("begin");
*
************************************
********************
ERROR: script runtime error
(see console for details)
(file 'maps/mp/gametypes/ctf.gsc', line 241)
Reply
#37

Server.cfg

Code:
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

Ashus.cfg:

Code:
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"

*/

I have still fatal error. Please helpme with configuration Sad

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply
#38

@Jarek: Try the new update. Somewhere in your config you're using set developer "1", that makes even a slight script error terminate the game. And it logs a lot of [to me] useful info in the log - as you've posted above. By enabling that, I've discovered a shitload of silent script errors, many are fixed. If the new version doesn't work as expected, send me another script error log here, along with environment info - gametype, players, actions taken before the error occured, etc.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#39

Thank you for update. The error ocures after changing team:

Code:
******* 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)

config files as earlier posted here.

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply
#40

Now works perfectly. There must be a line
Code:
set developer "0"
at config file.

Here is file with server config and mod config inside, for Only Rifle server:
Code:
http://rapidshare.com/files/231225610/zzz_k28c.iwd

Ashus

The great work. I appreciate it. Thank you veeeery much! Smile

[Image: b_350_20_D5D9EB_264BC0_110E0E_000000.png]
Reply




Users browsing this thread: 1 Guest(s)