Results 1 to 6 of 6

Thread: Battle CTD's

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    caralampio's Avatar Magnificus
    Join Date
    Dec 2006
    Location
    Guatemala
    Posts
    1,809

    Default Battle CTD's

    I'm getting frequent CTD's during battles since I installed 6.4, and also a few from the campaign map. This didn't happen in prior versions.

    log:

    08:23:56.375 [system.rpt] [always] CPU: SSE2
    08:23:56.375 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    08:23:56.390 [system.io] [always] mounted pack packs/data_0.pack
    08:23:56.390 [system.io] [always] mounted pack packs/data_1.pack
    08:23:56.390 [system.io] [always] mounted pack packs/data_2.pack
    08:23:56.390 [system.io] [always] mounted pack packs/data_3.pack
    08:23:56.390 [system.io] [always] mounted pack packs/data_4.pack
    08:23:56.390 [system.io] [always] mounted pack packs/localized.pack
    08:29:02.906 [game.script] [error] Script execution error for <label_unit>, at line 12615, in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    label_unit referenced non-existent unit
    08:29:02.906 [game.script] [error] Script execution error for <label_unit>, at line 12616, in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    label_unit referenced non-existent unit
    08:29:02.968 [game.script] [error] Script execution error for <define_unit_group>, at line 12619, in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    Error in battle script command 'define_unit_group': invalid unit label 'unit37'.
    08:29:02.968 [game.script] [error] Script execution error for <define_unit_group>, at line 12619, in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    Error in battle script command 'define_unit_group': invalid unit label 'unit38'.
    08:29:56.937 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    This is what it says in those lines of campaign_script:

    12615 end_monitor
    12616
    12617 monitor_conditions I_BattleStarted
    12618 and I_CompareCounter label5_ready = 1
    12619 and I_PercentageUnitGroupKilled army4 > 50
    ???
    Last edited by caralampio; February 17, 2011 at 08:36 AM.

  2. #2
    Germanicu5's Avatar Will buy spare time...
    Join Date
    Feb 2009
    Location
    Not Zee Germany
    Posts
    2,101

    Default Re: Battle CTD's

    You started your campaign prior to making changes to game files (seen in log referring to different lines than in your current campaign script), which means some of the game's mechanics could've been disturbed. The errors that pop up aren't a problem and there's 54 second gap between last "error" and a CTD.

    Try deleting map.rwm, all strings.bin files and disabling file cache (which enables compatibility mode) if 2 first methods won't help. You can also have a look at my sticky thread on this forum.

    Regards
    I have no memory of this place.

  3. #3

    Default Re: Battle CTD's

    Quote Originally Posted by Germanicu5 View Post
    You started your campaign prior to making changes to game files (seen in log referring to different lines than in your current campaign script), which means some of the game's mechanics could've been disturbed. The errors that pop up aren't a problem and there's 54 second gap between last "error" and a CTD.

    Try deleting map.rwm, all strings.bin files and disabling file cache (which enables compatibility mode) if 2 first methods won't help. You can also have a look at my sticky thread on this forum.

    Regards

    What folder are those files found?

  4. #4
    preachercheeze's Avatar Biarchus
    Join Date
    Oct 2008
    Location
    Gothenburg
    Posts
    690

    Default Re: Battle CTD's

    I also get these crashes.... but my system log says that it is the post battle scroll that is the problem...

    Spoiler Alert, click show to read: 
    ;################## Cleaning up ##################

    monitor_event ScrollOpened ScrollOpened post_battle_scroll

    set_counter fire_labels 0
    set_counter check_timer 0
    set_counter elephant_fix_check 0
    set_counter elephant_fix_check_sally 0
    set_counter reinf_check 0
    set_counter sally_defense_check 0
    ;;;;;;;Stakes
    set_counter label_ready 0
    set_counter stakes_on 0
    ;;;;;;;Reinforcements
    set_counter label2_ready 0
    set_counter label4_ready 0
    set_counter label5_ready 0
    set_counter army_moving 0
    set_counter reinf_arrive 0
    set_counter reinf_arrive2 0
    set_counter reinf_late 0
    set_counter army3_run 0
    set_counter army3_run_siege 0
    set_counter army4_run 0
    set_counter distance_trigger1 0
    set_counter distance_trigger2 0
    set_counter distance_trigger3 0
    set_counter distance_trigger4 0
    set_counter distance_trigger5 0
    ;;;;;;;HA Fix
    set_counter ha_fix 0
    ;;;;;;;Elephant Fix
    set_counter elephant_fix 0
    set_counter elephant_gate 0
    set_counter elephant_gate2 0
    set_counter elephant_gate_tier2 0
    set_counter elephant_gate_tier3 0
    set_counter elephant_gate_tier2s 0
    set_counter elephant_gate_tier3s 0
    set_counter rally_walls 0
    set_counter rally_walls_s 0
    set_counter second_ring 0
    set_counter third_ring 0
    set_counter second_ring2 0
    set_counter third_ring2 0
    set_counter del_objective 0
    set_counter del_objective2 0
    ;;;;;;;Sally-out
    set_counter sally-out_fix 0
    set_counter sally_defense 0
    set_counter reform_back 0
    set_counter reform_multi 0
    set_counter unit_under_fire 0
    set_counter kill_sally 0
    set_counter sally_reinf 0
    set_counter reset_position 0
    set_counter defend_location 0
    set_counter reset_army2 0
    set_counter assign_labels 0
    ;;;;;;;Siege
    set_counter siege_fix 0
    set_counter army_sieging 0
    set_counter army_south 0
    set_counter army_north 0
    set_counter army_east 0
    set_counter army_west 0
    set_counter emergency_stop 0
    set_counter omfg_cannon_tower 0
    set_counter army2_sally 0
    set_counter wall_advance2 0
    ;;;;;;;Protect General
    set_counter protect_general 0
    set_counter general_wait 0
    ;;;;;;;Sally-out, AI defending
    set_counter label3_ready 0
    set_counter army3_location 0
    set_counter path_n 0
    set_counter path_ne 0
    set_counter path_e 0
    set_counter path_se 0
    set_counter path_s 0
    set_counter path_sw 0
    set_counter path_w 0
    set_counter path_nw 0
    set_counter obstacle_check 0
    set_counter label_army3 0
    set_counter army3_moving 0
    set_counter army3_idle 0
    set_counter line_passed 0
    set_counter army2_idle 0
    set_counter wall_line_passed 0
    set_counter reset_position2 0
    set_counter repeat_test1 0
    set_counter repeat_test2 0
    set_counter repeat_test3 0
    set_counter repeat_test4 0
    set_counter repeat_test5 0
    set_counter repeat_test6 0
    prepare_for_battle
    end_monitor


    The last line "prepare_for_battle" is the culprit in my crashes... and the crashes always occur after I press OK in the post battle scroll....

    last lines in the system log

    Spoiler Alert, click show to read: 
    21:44:47.818 [game.script.counter] [trace] counter <sally-out_fix> = 0
    21:44:47.818 [game.script.exec] [trace] exec <set_counter> at line 23571 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.818 [game.script.counter] [trace] counter <sally_defense> = 0
    21:44:47.818 [game.script.exec] [trace] exec <set_counter> at line 23572 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.818 [game.script.counter] [trace] counter <reform_back> = 0
    21:44:47.818 [game.script.exec] [trace] exec <set_counter> at line 23573 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.818 [game.script.counter] [trace] counter <reform_multi> = 0
    21:44:47.818 [game.script.exec] [trace] exec <set_counter> at line 23574 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.818 [game.script.counter] [trace] counter <unit_under_fire> = 0
    21:44:47.818 [game.script.exec] [trace] exec <set_counter> at line 23575 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <kill_sally> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23576 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <sally_reinf> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23577 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <reset_position> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23578 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <defend_location> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23579 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <reset_army2> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23580 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <assign_labels> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23582 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <siege_fix> = 0
    21:44:47.819 [game.script.exec] [trace] exec <set_counter> at line 23583 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.819 [game.script.counter] [trace] counter <army_sieging> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23584 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <army_south> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23585 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <army_north> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23586 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <army_east> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23587 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <army_west> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23588 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <emergency_stop> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23589 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <omfg_cannon_tower> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23590 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.820 [game.script.counter] [trace] counter <army2_sally> = 0
    21:44:47.820 [game.script.exec] [trace] exec <set_counter> at line 23591 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <wall_advance2> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23593 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <protect_general> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23594 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <general_wait> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23596 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <label3_ready> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23597 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <army3_location> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23598 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <path_n> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23599 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <path_ne> = 0
    21:44:47.821 [game.script.exec] [trace] exec <set_counter> at line 23600 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.821 [game.script.counter] [trace] counter <path_e> = 0
    21:44:47.822 [game.script.exec] [trace] exec <set_counter> at line 23601 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.822 [game.script.counter] [trace] counter <path_se> = 0
    21:44:47.822 [game.script.exec] [trace] exec <set_counter> at line 23602 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.822 [game.script.counter] [trace] counter <path_s> = 0
    21:44:47.822 [game.script.exec] [trace] exec <set_counter> at line 23603 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.822 [game.script.counter] [trace] counter <path_sw> = 0
    21:44:47.822 [game.script.exec] [trace] exec <set_counter> at line 23604 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.822 [game.script.counter] [trace] counter <path_w> = 0
    21:44:47.822 [game.script.exec] [trace] exec <set_counter> at line 23605 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.822 [game.script.counter] [trace] counter <path_nw> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23606 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <obstacle_check> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23607 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <label_army3> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23608 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <army3_moving> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23609 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <army3_idle> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23610 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <line_passed> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23611 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <army2_idle> = 0
    21:44:47.823 [game.script.exec] [trace] exec <set_counter> at line 23612 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.823 [game.script.counter] [trace] counter <wall_line_passed> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23613 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <reset_position2> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23614 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test1> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23615 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test2> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23616 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test3> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23617 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test4> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23618 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test5> = 0
    21:44:47.824 [game.script.exec] [trace] exec <set_counter> at line 23619 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:47.824 [game.script.counter] [trace] counter <repeat_test6> = 0
    21:44:47.824 [game.script.exec] [trace] exec <prepare_for_battle> at line 23620 in mods/SS6.3/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    21:44:49.169 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.


    Nessun Maggior Dolores che Ricordarsi del Tempo Felice Nella Miseri








  5. #5
    Germanicu5's Avatar Will buy spare time...
    Join Date
    Feb 2009
    Location
    Not Zee Germany
    Posts
    2,101

    Default Re: Battle CTD's

    prepare_for_battle should be excluded from the post battle section, apparently my absence from forums influenced the fact it's still there, Sept 5 release contains this fix.

    Regards
    Last edited by Germanicu5; February 17, 2011 at 03:56 PM.
    I have no memory of this place.

  6. #6
    Germanicu5's Avatar Will buy spare time...
    Join Date
    Feb 2009
    Location
    Not Zee Germany
    Posts
    2,101

    Default Re: Battle CTD's

    SS6.3\data\world\maps\campaign\imperial_campaign\ and SS6.3\data\text\

    Regards
    I have no memory of this place.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •