Results 1 to 26 of 26

Thread: v0.8.1a CTD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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!"

  2. #2
    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.

  3. #3
    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.

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

    Default Re: v0.8.1a CTD

    EB member


  5. #5

    Default Re : v0.8.1a CTD

    Very interesting debuging sequence


    It inspires me to understand the functionning of the famous rebel CTD, and I hope I can solve my own CTD problem

    I am always on the 0.81 version (I don't want to let my dear Roman Campain down ) but with the Marcus Aurelius "export_desc_building" file. I have a CTD caused by a Carthaginian city ( I hate Carthaginians... ).

    As I read your debugging method, I think that the CTD could be caused by the "nature" of the unit used by the revolting city.

    So I am going to work on this and try to solve it myself because it is not so important for me to have very good rebel units against me.

    But Thank you guys, the mod is so pleasant that even debugging is motivating
    Last edited by Al_Veran; 03-13-2007 at 00:04.

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

    Default Re: v0.8.1a CTD

    As promised, a new EDB has been posted that should solve all the v.81a rebel city CTDs (it won't work with v.80, but it *might* work with v.81).
    "Numidia Delenda Est!"

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