Results 1 to 26 of 26

Thread: v0.8.1a CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: v0.8.1a CTD

    Quote Originally Posted by Kull
    Well that's depressing. Baktria has a city with revolt-level unrest (Sulek), and it CTD's on their turn. It certainly appears to be the Rebelling City CTD, although it has the ability to build exactly the units required to offset it (i.e. Saka or Rebel). Gah.
    The problem I think is the mercenary_unit attribute of the unit (steppe missile cavalry sauromatae fat aexsdzhytae) that will be recruited in case of a revolt. If I remove that attribute in EDU for this unit the CTD dissappears.
    EB member


  2. #2

    Smile Re: v0.8.1a CTD

    Quote Originally Posted by Oleo
    The problem I think is the mercenary_unit attribute of the unit (steppe missile cavalry sauromatae fat aexsdzhytae) that will be recruited in case of a revolt. If I remove that attribute in EDU for this unit the CTD dissappears.
    Thank you very much for the solution Oleo!

    I can confirm this. Just removed it as described by Oleo, restarted game and reloaded my previous posted 2 CTD-Files (Rome + Baktria).

    With Oleo's solution, no CTD happened both times!

    Instead I got in both cases a correctly rebelled (to Saka Rauka) Sulek with 11 Elite sauromatae fat aexsdzhytae only by removing its mercenary-trait. Perhaps its by the program not allowed, that mercenary-Units take control of a rebelling city?!

    (If somebody wants it, i could provide screenshots or files for proof!)

  3. #3

    Default Re: v0.8.1a CTD

    Very nice work guys. I hope we can implement this.

  4. #4
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: v0.8.1a CTD

    Quote Originally Posted by Oleo
    The problem I think is the mercenary_unit attribute of the unit (steppe missile cavalry sauromatae fat aexsdzhytae) that will be recruited in case of a revolt. If I remove that attribute in EDU for this unit the CTD dissappears.
    Very nice piece of detective work! I was pulling my hair out over WHAT could possibly have gone wrong with our Palace recruiting solution.

    However. I believe that Saka and Sauromatae have the SAME palace unit, so how did Irnerius have a successful revolt-to-Sauromatae in Gava Haomavarga? Could somebody take a look at that test game and see what the units look like in the revolting city? Because if it is the same Sarmatian Horse Archer unit that CTD's in Sulek.....then we have another mechanism at work here.

    Going out on a limb (because i have no files to look at), can somebody pop open descr_merc and see if there is any mercenary recruitment in Sulek's province? And Gava Haomavarga province? Thanks!

    BTW, the team REALLY appreciates it when fans take the time to delve into these CTD's and help us solve them - or even solve them all by yourselves!
    "Numidia Delenda Est!"

  5. #5

    Default Re: v0.8.1a CTD

    Here you are,

    Spoiler Alert, click show to read: 

    pool Xiyu
    regions Xiyu
    ;; unit SAKA ASPA SHIVATIR (Sakae Horse Archers)?, exp 0 cost 1000 replenish 0.11 - 0.16 max 2 initial 0

    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

  6. #6
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: v0.8.1a CTD

    The dreaded presence of a mercenary causing problems still :( I wish that could be tracked down...I would guess that depleting the pool (getting a family member to recruit the merc(s) before the revolt (and before the next replenishment)) would also avoid the CTD?
    "One of the most sophisticated Total War mods ever developed..."

  7. #7
    Resident Pessimist Member Dooz's Avatar
    Join Date
    Jan 2005
    Location
    AEnima city, USA
    Posts
    1,897

    Default Re: v0.8.1a CTD

    Guys, I read the posts but I'm still not sure what change to make exactly so I can avoid this CTD. If the solution has been discovered and confirmed, can someone explain what to do?

  8. #8
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: v0.8.1a CTD

    Quote Originally Posted by Wonderland
    Guys, I read the posts but I'm still not sure what change to make exactly so I can avoid this CTD. If the solution has been discovered and confirmed, can someone explain what to do?
    I think the best solution is to replace the recruitment of the unit that is causing the ctd with a unit that does not have the mercenary_unit attribute. My suggestion is: steppe missile fistaegfataexsdzhytae

    What you have to do is first open up Export_descr_buildings.txt. This file starts with the governor buildings, which are the building that need adapting:

    For these buildings (governors_house, governors_villa, governors_palace, proconsuls_palace, imperial_palace ) you will have to change all the lines starting with:

    Code:
    recruit "steppe missile cavalry sauromatae fat aexsdzhytae" 0
    into a line starting with

    Code:
    recruit "steppe missile fistaegfataexsdzhytae" 0
    So just copy-paste the new unit name over the old one.

    Oh and make a backup before saving!!
    EB member


  9. #9

    Default Re: v0.8.1a CTD

    Quote Originally Posted by Oleo
    I think the best solution is to replace the recruitment of the unit that is causing the ctd with a unit that does not have the mercenary_unit attribute. My suggestion is: steppe missile fistaegfataexsdzhytae

    What you have to do is first open up Export_descr_buildings.txt. This file starts with the governor buildings, which are the building that need adapting:

    For these buildings (governors_house, governors_villa, governors_palace, proconsuls_palace, imperial_palace ) you will have to change all the lines starting with:

    Code:
    recruit "steppe missile cavalry sauromatae fat aexsdzhytae" 0
    into a line starting with

    Code:
    recruit "steppe missile fistaegfataexsdzhytae" 0
    So just copy-paste the new unit name over the old one.

    Oh and make a backup before saving!!
    Are you sure this is the right file, all I have is agent diplomats in those buildings.

  10. #10
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: v0.8.1a CTD

    Sulek:

    Quote Originally Posted by Tellos Athenaios
    Code:
    pool Xiyu
    	regions Xiyu
    ;;	unit SAKA ASPA SHIVATIR (Sakae Horse Archers)?,			exp 0 cost 1000 replenish 0.11 - 0.16 max 2 initial 0
    Gava-Haomavarga:

    Code:
    pool Dahyu_Haomavarga
    	regions Dahyu_Haomavarga
    	unit eastern missile eransahr arshtbara merc,			exp 0 cost 1082 replenish 0.1 - 0.15 max 2 initial 1
    ;;	unit SAKA ASPA SHIVATIR (Sakae Horse Archers)?,			exp 0 cost 1000 replenish 0.1 - 0.16 max 2 initial 1
    The Gava-Haomavarga save does indeed not get a ctd when revolting, after the revolt there is no garrison present. Not one unit.

    In EDB the entries for recruitment for the faction armenia (Sauromatae) do not cover the city of Gava-Haomavarga (EA, B, y1, n2, y4, n8). Adding such an entry to EDB:

    Code:
    recruit "steppe missile cavalry sauromatae fat aexsdzhytae" 0 requires factions { armenia, } and hidden_resource EA and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
    results in a ctd like Sulek's ctd.

    p.s. Bughunting is fun
    EB member


  11. #11
    EBII Council Senior Member Kull's Avatar
    Join Date
    Jan 2003
    Location
    El Paso, TX
    Posts
    13,502

    Default Re: v0.8.1a CTD

    Quote Originally Posted by Oleo
    Sulek:



    Gava-Haomavarga:

    Code:
    pool Dahyu_Haomavarga
    	regions Dahyu_Haomavarga
    	unit eastern missile eransahr arshtbara merc,			exp 0 cost 1082 replenish 0.1 - 0.15 max 2 initial 1
    ;;	unit SAKA ASPA SHIVATIR (Sakae Horse Archers)?,			exp 0 cost 1000 replenish 0.1 - 0.16 max 2 initial 1
    The Gava-Haomavarga save does indeed not get a ctd when revolting, after the revolt there is no garrison present. Not one unit.

    In EDB the entries for recruitment for the faction armenia (Sauromatae) do not cover the city of Gava-Haomavarga (EA, B, y1, n2, y4, n8). Adding such an entry to EDB:

    Code:
    recruit "steppe missile cavalry sauromatae fat aexsdzhytae" 0 requires factions { armenia, } and hidden_resource EA and hidden_resource B and hidden_resource y1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8
    results in a ctd like Sulek's ctd.

    p.s. Bughunting is fun
    Nice. That locks it down very nicely. There is now NO DOUBT that what drives these CTDs is the presence of the merc_unit attribute in a Palace recruitable unit. I checked through all the palace recruitable units in the v.81a EDB, and this horsearcher is the only unit that has the attribute. Thus the bug is currently restricted to provinces with saka or sauromatae "base culture" (as defined in descr_regions.txt). So that's also good - we only have to fix the one unit.

    Your choice of the Foot Archer looks to be correct, as we need to select a unit that's recruitable in these provinces AND is MIC Level 1. Unfortunately I'd prefer not to saddle horsearcher factions with a mass of foot units, but for now that's acceptable - it's better than a CTD, and you can't remove the merc_attribute from the horsearcher without totally screwing up it's skin.

    I'll put together a corrected EDB so folks can just copy that over whole instead of trying to mod the thing - but it may take a day or so. In the meantime Oleo's manual fix should do the trick.
    "Numidia Delenda Est!"

  12. #12
    Resident Pessimist Member Dooz's Avatar
    Join Date
    Jan 2005
    Location
    AEnima city, USA
    Posts
    1,897

    Default Re: v0.8.1a CTD

    Thanks O! Once again, you are the best.
    Last edited by Dooz; 03-10-2007 at 20:34.

  13. #13
    Resident Pessimist Member Dooz's Avatar
    Join Date
    Jan 2005
    Location
    AEnima city, USA
    Posts
    1,897

    Default Re: v0.8.1a CTD

    I just experienced the CTD, repeatable, I believe on Baktria's turn. I hadn't done the copy+paste yet when it happened, I just did though. I'm wondering if that horse archer post was the only thing that has to be changed, or if your post above that is for something too. If so, what exactly is it you have to do with regards to Gava-Haomavarga and Xiyu and all that?


    -edit-
    Nevermind! Should have tried it before posting I guess. Works like a charm, thanks again O.
    Last edited by Dooz; 03-10-2007 at 20:43.

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