Results 1 to 21 of 21

Thread: Reinforcement CTD: help needed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Reinforcement CTD: help needed

    I've been searching in the EB forum, as I knew that they had some kind of reinforcement bug, but that was after battle afaik. In my case it is a prebattle CTD, and these are my experiments to demonstrate it is a reinforcement problem:

    The tests are made with a celtiberian army (C) sieging a settlement with a small ilergeti garrison (G), and I have a big army (A) nearby.

    Test 1: A attacks C, G appears as reinforcement in the prebattle scroll: CTD.
    Test 2: G attacks C in a suicidal battle: normal battle. (Conclusion: the problem is neither the settlement, nor armies G and C)
    Test 3: A goes far and attacks a gaul army: normal battle. (Conclusion: the problem is not army A).
    Test 4: C assaults the settlement and takes it: normal battle. (same conclusion as test 2)
    Test 5: A sieges the settlement taken by C and assaults in the following turn: normal battle.
    Test 6: A is divided in two armies (A1 and A2) near the settlement. A1 attacks the settlement and A2 appears as reinforcement: CTD. (exactly the same units as in test 5 are involved)
    Test 7: The two armies (A1 and A2) are attacked by another big celtiberian army far from the settlement. A2 appears as reinforcement: CTD.

    Any idea about the origin of this problem?

  2. #2

    Default Re: Reinforcement CTD: help needed

    Hello, Monkwarrior.

    I've just read in the TWC wiki about the postbattle bug. I know your problem happens before and no after, but do you have any trait or ancillary trigger with the NumEnemiesInBattle condition?

  3. #3
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Reinforcement CTD: help needed

    I assume it would need to be something with a PreBattle test and NumFriendsInBattle - you should be able to rule out trait and anc. triggers quite easily, just by making back up of the files and deleting entire trigger sections, if you've got script obviously try running without it and see if result changes.

    Question does it CTD when you've got beyond scroll, ie onto loading bar? If so I wonder if that faction could be missing something for the ally battle banners (though I thought that would give you white banner not crash).

    Also are generals involved?
    Last edited by Makanyane; 11-02-2007 at 16:58.
    Not used mods before? Looking for something small and fun?!
    Download the:

  4. #4
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Reinforcement CTD: help needed

    Thanks to both of your for the answers.

    @Makanyane
    Yes, it happens when loading the battle, when the loading bar is near to the end.

    In the meantime I've been testing some other possibilities. Other CTDs without reinforcements are also present, indicating that it is not due exclusively to that.

    Generals are involved in this problem. But not always. Some examples:

    - Army A has been divided into three: general alone, A1 and A2. I was able to fight a battle with A1, and A2 as reinforcement, without the general present.

    - CTD of ilergeti-gaul battle, only one army against one. If general is not present, battle is possible. After defeat, general is again incorporated to the army, and then battle is possible again.

    - CTD of ilergeti-slave battle. Only general against slave, CTD. The rest of the army against slave, CTD. Only one unit of slingers against slave, battle fought. In this case, perhaps the presence of an experienced elite unit is responsible (man of hour? adoption?).

    As you pointed, I think it is a problem of ancillaries and/or traits, but I don't have NumEnemiesInBattle or NumFriendsInBattle conditions (triple checked ). It must be another one, but... which one?

  5. #5

    Default Re: Reinforcement CTD: help needed

    Hey Monk.

    Correct me if I'm wrong but a CTD when loading a battle should not be trait or ancillary related.

    I don't think the game parses or tests triggers when loading a battle, or does it?

    This is from the CTD threads:

    Battle Loading CTDs:
    - A unit with the attribute mercenary_unit in EDU that has no texture line for "merc" in the soldier, officer, and other related models found in DMB.
    - A non-mercenary_unit in EDU that has no texture line in DMB for any faction given ownership of the unit in EDU, for the soldier, officer, and other related models.
    - A sprite defined in DMB with no distance value.
    I know some of them sound pretty basic but have you discarded all of them?

  6. #6
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Reinforcement CTD: help needed

    The problem with textures for mercenary and rebels was my first hypothesis. But in most cases (I cannot say 100%, but close to it) I've been able to fight the battle with exactly the same units, although in the absence of the general.

    I cannot discard this problem in some of the CTD, if there are several causes, but I'm persuaded that it is not the problem in a good number of CTDs, for example the ilergete-celtiberian problem described in detail, where all the units have been involved in battle in one or another ocassion, or the ilergete-gaul battle, where the very same units have fought two battles, one with and one without general.

    I wonder the meaning of these conditions:

    BattleOdds >= 0.5

    I_ConflictType Normal

    WhenToTest PreBattleWithdrawal

    GeneralHPLostRatioinBattle

    GeneralNumKillsInBattle

    My concerns are if the game tests the possibility before the battle, and crashes if there is any conflict.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO