Results 1 to 12 of 12

Thread: Error on EDB

  1. #1
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Error on EDB

    What can this be?


  2. #2

    Default Re: Error on EDB

    have you made that new building , or is it from a mod (the spartacus mod apparently) ? If it's from a mod , it's best to ask on their forum :)

  3. #3

    Default Re: Error on EDB

    It's pretty clear actually. ;) The building tree's first level (ie shrine) is not available to a faction, while a level above that is, so it's causing an error.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  4. #4
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    Quote Originally Posted by Aradan View Post
    It's pretty clear actually. ;) The building tree's first level (ie shrine) is not available to a faction, while a level above that is, so it's causing an error.

    Neither the temple the error referes to is not available to romans_julii on any level. The temple above it, is available for all the leves. I've checked and re-checked it, thats why it doesn't seem to make sense. Also, the line the error points to, its the last line on the EDB.


    It is from a mod, PopePopo. But one that I am creating: Spartacus, Total War.

  5. #5

    Default Re: Error on EDB

    Could you post the entire section of code for the temple_of_governors?
    There are never enough hours in the days of a Queen, and her nights have too many...

    ATW Version 2.5 is now out!

  6. #6
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    plugins
    {
    }
    }
    building temple_of_governors
    {
    levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
    {
    temple_of_governors_shrine requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 1
    law_bonus bonus 1
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_governors_temple
    }
    }
    temple_of_governors_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_governors_large_temple
    }
    }
    temple_of_governors_large_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 3
    law_bonus bonus 3
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    temple_of_governors_awesome_temple
    }
    }
    temple_of_governors_awesome_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 5
    cost 3200
    settlement_min large_city
    upgrades
    {
    temple_of_governors_pantheon
    }
    }
    temple_of_governors_pantheon requires factions { }
    {
    capability
    {
    happiness_bonus bonus 5
    law_bonus bonus 5
    farming_level bonus 2
    recruits_exp_bonus bonus 2
    weapon_missile bonus 2
    }
    construction 6
    cost 6400
    settlement_min huge_city
    upgrades
    {
    }
    }


    Here it is.

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

    Default Re: Error on EDB

    is
    temple_of_governors_pantheon requires factions { }
    the right way to say no factions can build that level? maybe its reading that as all factions?

    I've seen that written elsewhere as
    temple_of_governors_pantheon requires factions { , }

    Also, the line the error points to, its the last line on the EDB.
    If the above doesn't work - you can sometimes get really weird EDB errors if you've made changes to resources / things Carthaginian's can build without fixing their look up first, and haven't deleted your map.rwm
    Not used mods before? Looking for something small and fun?!
    Download the:

  8. #8
    ###### of the Gladiators Member neo_deus's Avatar
    Join Date
    Dec 2008
    Location
    Portugal
    Posts
    84

    Default Re: Error on EDB

    the right way to say no factions can build that level? maybe its reading that as all factions?
    I believe the right way is

    temple_of_governors_pantheon

    nothing added in front of it, because there are other temples like that. I checked it when I made the changes.
    My mistake, I pasted after making some changes to try and see if it would work.
    Here is the "correct" one:

    }
    building temple_of_governors
    {
    levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple temple_of_governors_pantheon
    {
    temple_of_governors_shrine requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 1
    law_bonus bonus 1
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_governors_temple
    }
    }
    temple_of_governors_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_governors_large_temple
    }
    }
    temple_of_governors_large_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 3
    law_bonus bonus 3
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    temple_of_governors_awesome_temple
    }
    }
    temple_of_governors_awesome_temple requires factions { pontus, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 5
    cost 3200
    settlement_min large_city
    upgrades
    {
    temple_of_governors_pantheon
    }
    }
    temple_of_governors_pantheon
    {
    capability
    {
    happiness_bonus bonus 5
    law_bonus bonus 5
    farming_level bonus 2
    recruits_exp_bonus bonus 2
    weapon_missile bonus 2
    }
    construction 6
    cost 6400
    settlement_min huge_city
    upgrades
    {
    }
    }

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

    Default Re: Error on EDB

    I think you will find, and as Mak rightly guessed, that your syntax is being read as "all factions". The Julii are being reported because they are the default report faction I believe. Change it to the syntax Mak suggested. This is how I do it, and it is how other mods no doubt do it - check other mods and learn from them rather than guessing
    "One of the most sophisticated Total War mods ever developed..."

  10. #10
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Error on EDB

    I can confirm the syntax isnt the issue, had to dig trhu some back up folders, but from my EDB:
    Code:
    building taverns
    {
        levels tavern bardic_circle 
        {
            tavern requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 1
                }
                construction  2 
                cost  800 
                settlement_min large_town
                upgrades
                {
                    bardic_circle
                }
            }
            bardic_circle requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                }
                construction  3 
                cost  1600 
                settlement_min city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    building temple_of_battle
    {
        levels temple_of_battle_shrine temple_of_battle_temple temple_of_battle_large_temple temple_of_battle_awesome_temple temple_of_battle_pantheon 
        {
            temple_of_battle_shrine requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 1
                }
                construction  1 
                cost  400 
                settlement_min town
                upgrades
                {
                    temple_of_battle_temple
                }
            }
            temple_of_battle_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 2
                    recruits_morale_bonus bonus 1
                }
                construction  2 
                cost  800 
                settlement_min large_town
                upgrades
                {
                    temple_of_battle_large_temple
                }
            }
            temple_of_battle_large_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 3
                    recruits_morale_bonus bonus 2
                }
                construction  3 
                cost  1600 
                settlement_min city
                upgrades
                {
                    temple_of_battle_awesome_temple
                }
            }
            temple_of_battle_awesome_temple requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 4
                    recruits_morale_bonus bonus 3
                }
                construction  5 
                cost  3200 
                settlement_min large_city
                upgrades
                {
                    temple_of_battle_pantheon
                }
            }
            temple_of_battle_pantheon requires factions {  } 
            {
                capability
                {
                    happiness_bonus bonus 7
                    recruits_morale_bonus bonus 4
                }
                construction  6 
                cost  6400 
                settlement_min huge_city
                upgrades
                {
                }
            }
        }
        plugins 
        {
        }
    }
    edit: .. er .. I used 2 spaces instead of 1, so perhaps it could be a syntax error ... lol
    Last edited by Red Spot; 02-26-2009 at 02:00.

  11. #11

    Default Re: Error on EDB

    If you do not want pontus or macedon to have the pantheon level, why not just remove it?

    This ought to do the trick (I think)

    Code:
    }
    building temple_of_governors
    {
    levels temple_of_governors_shrine temple_of_governors_temple temple_of_governors_large_temple temple_of_governors_awesome_temple 
    {
    temple_of_governors_shrine requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 1
    law_bonus bonus 1
    }
    construction 1
    cost 400
    settlement_min town
    upgrades
    {
    temple_of_governors_temple
    }
    }
    temple_of_governors_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 2
    law_bonus bonus 2
    }
    construction 2
    cost 800
    settlement_min large_town
    upgrades
    {
    temple_of_governors_large_temple
    }
    }
    temple_of_governors_large_temple requires factions { pontus, macedon, }
    {
    capability
    {
    happiness_bonus bonus 3
    law_bonus bonus 3
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {
    temple_of_governors_awesome_temple
    }
    }
    temple_of_governors_awesome_temple requires factions { pontus, }
    {
    capability
    {
    happiness_bonus bonus 4
    law_bonus bonus 4
    }
    construction 5
    cost 3200
    settlement_min large_city
    upgrades
       {
                }
            }
        }
        plugins 
        {
        }
    }
    Last edited by SubRosa; 02-26-2009 at 02:21.
    There are never enough hours in the days of a Queen, and her nights have too many...

    ATW Version 2.5 is now out!

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

    Default Re: Error on EDB

    It is the syntax. I tested a building from a mod. Use the "requires factions { , }" to block out any higher levels you do not want; you can just remove the level but sometimes that means hunting through and changing references elsewhere (and of course you may choose to use it later).

    I have used this in FATW for years and it has never caused any reported errors, CTDs or instability.
    "One of the most sophisticated Total War mods ever developed..."

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