Results 1 to 3 of 3

Thread: a EDB puzzling error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default a EDB puzzling error

    Can't understand what is wrong now with a minor issue, maybe someone can help.

    I am adding some region-markers buildings to EDB, and they all works perfectly BUT the gondor one.

    If I add the gondorian ones, game and campaign loads fine but when I quit the game appears a "RTW crashed" error. Not really a major issue but pretty annoying. Moreover, this ending error may hide some other important error messages, and I would love to have them in check.

    I first thought maybe I hit the buildings limit, but its not, I can add more or cut some and it does not affect the error.

    I then made some tentative changing names, levels, capabilities to find out what was triggering it and to my surprise i find out the problem is the "carthage," reference.

    If I just change it to any other faction or I simply remove it (both from bonus and building requirement) the error disappears.

    So i thought maybe that was a new limit of the game, something like a maximum number of references to a faction in EDB. In my EDB there are now 215 occurrences of "carthage," references, excluding the "gondor region" ones. I tried removing some from other buildings, but again, that does not affect the error.

    So now I'm puzzled... suggestions anyone?


    Code:
    building hinterland_region_gondor
    {
        levels pelargir ithilien lossarnach dol_amroth gondor
        {
            pelargir requires factions { carthage, } and hidden_resource super_noldor
            {
                capability
                {
                    law_bonus bonus 2 requires factions { carthage, }
                }
                construction  1 
                cost  10 
                settlement_min town
                upgrades
                {
                    ithilien
                }
            }
            ithilien requires factions { carthage, } and hidden_resource super_noldor
            {
                capability
                {
                    law_bonus bonus 2 requires factions { carthage, }
                }
                construction  1 
                cost  10 
                settlement_min town
                upgrades
                {
                    lossarnach
                }
            }
            lossarnach requires factions { carthage, } and hidden_resource super_noldor
            {
                capability
                {
                    law_bonus bonus 2 requires factions { carthage, }
                }
                construction  1 
                cost  10
                settlement_min town
                upgrades
                {
                    dol_amroth
                }
            }
            dol_amroth requires factions { carthage, } and hidden_resource super_noldor
            {
                capability
                {
                    law_bonus bonus 2 requires factions { carthage, }
                }
                construction  1 
                cost  10
                settlement_min town
                upgrades
                {
                    gondor
                }
            }
            gondor requires factions { carthage, } and hidden_resource super_noldor
            {
                capability
                {
                     law_bonus bonus 2 requires factions { carthage, }
                }
                construction  1 
                cost  10 
                settlement_min town
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }

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

    Default Re: a EDB puzzling error

    Not had the message you describe, iiuyc, but you are aware of problems associated with the carthaginian culture I assume?

    See post #135 onwards on the Complete EDB Discussion thread - https://forums.totalwar.org/vb/showthread.php?t=50039
    "One of the most sophisticated Total War mods ever developed..."

  3. #3

    Default Re: a EDB puzzling error

    Dol Guldur you're my hero!

    I feel a bit dumb indeed, because I had a similar error months ago and i solved it exactly by modding the DUB and then i just forgot about that file... Enough to check it and no more error on exiting :)

    Thanks again.

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