PDA

View Full Version : a EDB puzzling error



Seth Krn3ll
06-05-2008, 10:45
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?



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
{
}
}

Dol Guldur
06-05-2008, 11:42
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

Seth Krn3ll
06-05-2008, 12:23
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.