Results 1 to 10 of 10

Thread: Campaign crash

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Campaign crash

    Hello everybody

    My mod is always crash during the campaign. I don't know why, so I'm asking your help. It is during the AI turn. It could be the 4th turn, the 20th or the 9th.

    The log is attached.

    Here is my campaign_script :
    Spoiler Alert, click show to read: 
    Code:
    ;
    ; Campaign script
    ;
    script
    
    declare_counter turncounter
    monitor_event FactionTurnStart FactionType england
        log always New Turn:
        log_counter always turncounter
        inc_counter turncounter 1
    end_monitor
    
    wait_monitors
    end_script


    My descr_events is empty, the same for historic_events.txt
    Last edited by sinople; February 22, 2009 at 10:37 AM.

  2. #2

    Default Re: 4th turn crash

    Try initializing the counter before you increment it. Use delcare_counter turncounter, then set_counter turncounter 0 before using inc_counter. Allso, try using I_TurnNumber. It's a built in turn counter. I'll try running your script in the mean time.

    EDIT: It's definitely not your camaign script. Looking at the error log, it is probably a problem with the map/AI or with a trait.
    Last edited by Azim; October 09, 2008 at 08:43 AM.

    Dominion of the Sword, a Medieval II: Total War Supermod
    Under the patronage of Archaon. Proud member of the House of Siblesz
    My friend died from chain letters. If you don't post this again 100 times, he will come and kill you in your sleep!

  3. #3
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: 4th turn crash

    Ok, and what do you recommand me to do ?

  4. #4

    Default Re: 4th turn crash

    If you edited descr_start.txt, it is possible that there is an error there and a character is gaining an invalid trait. It's also possible that your campaign map does cooperate poorly with the AI, and the AI crashes while trying to make a decision on the fourth turn. There are several warnings in your log about the map. I would try to fix these issues as well. There is no campaign script error in your log, so the mistake is not there.

    Dominion of the Sword, a Medieval II: Total War Supermod
    Under the patronage of Archaon. Proud member of the House of Siblesz
    My friend died from chain letters. If you don't post this again 100 times, he will come and kill you in your sleep!

  5. #5
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: 4th turn crash

    I tried to fix the descr_strat. Still the problem, so it could be because of the map.

    Btw descr_strat, new log and descr_trait are attached

  6. #6

    Default Re: 4th turn crash

    Sinople did you address your settlement errors in your log?

    Click to view content: 

    [error] Script Error in mods/Europe_Total_War/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 169, column 12
    You have chosen an invalid tile(123, 246) for the settlement of Dorcester.
    Last edited by J@mes; October 12, 2008 at 04:45 AM.


  7. #7
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: 4th turn crash

    I'm trying to fix the map. Thanks J@mes.

    I also fixed a part of traits bug. Now I can go to the turn 10th

    Here is the new log (attached)

  8. #8

    Default Re: 4th turn crash

    I noticed you had afew errors in the log work though each one this should fix the CTD'S.


  9. #9

    Default Re: 4th turn crash

    This one is definately a trait error.

    I would look at these triggers, and the traits/ancillaries they use:
    11:38:45.180 [game.script.trigger] [trace] Trigger <0001_Guild_Upgraded> fired
    11:38:45.196 [game.script.trigger] [trace] Trigger <Worthy_Of_Adoption_1_VnV_Trigger> fired

    Dominion of the Sword, a Medieval II: Total War Supermod
    Under the patronage of Archaon. Proud member of the House of Siblesz
    My friend died from chain letters. If you don't post this again 100 times, he will come and kill you in your sleep!

  10. #10
    sinople's Avatar These Romans are crazy!
    Join Date
    Apr 2007
    Location
    France
    Posts
    2,447

    Default Re: 4th turn crash

    11:38:45.196 [game.script.trigger] [trace] Trigger <Worthy_Of_Adoption_1_VnV_Trigger> fired
    I think I know for this problem, when I was adopting new generals they were dying (I was with Friesland faction that uses turks codes).

Posting Permissions

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