Results 1 to 6 of 6

Thread: [error] "Target building level not allowed"

  1. #1
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default [error] "Target building level not allowed"

    Hi, my mod likes to crash just before I view the campaign map (after the map is all loaded).

    My mod also has these other errors further up in my error log (see below).

    I'm not sure if they are the culprit of the crash, but it's best I get them fixed before going any further.

    Could anyone help me find out what errors are saying, and how to fix them?

    Code:
     
    15:00:04.974 [data.invalid] [error] Target building level not allowed: The Aztecs, village -> motte_and_bailey, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, town -> wooden_castle, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, town -> wooden_castle, hinterland_roads[0](roads) -> hinterland_castle_roads[0](c_roads)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, core_building[1](wooden_wall) -> core_castle_building[2](castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, port[0](port) -> castle_port[0](c_port)
    15:00:04.976 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, hinterland_roads[0](roads) -> hinterland_castle_roads[0](c_roads)
    15:00:04.976 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, hinterland_mines[0](mines) -> hinterland_castle_mines[0](c_mines)
    I think what its saying is there is some data invalid (although which file it is in I doesn't tell me), concerning Aztec buildings (village, town, large town) when they are replaced with motte and bailey, wooden castle, or castle.

    If memory serves me right, the Aztecs cant build castle structures.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  2. #2
    TSD's Avatar Ordinarius
    Join Date
    May 2008
    Location
    Chicago, IL
    Posts
    725

    Default Re: [error] "Target building level not allowed"

    Quote Originally Posted by Paradigm View Post
    Hi, my mod likes to crash just before I view the campaign map (after the map is all loaded).

    My mod also has these other errors further up in my error log (see below).

    I'm not sure if they are the culprit of the crash, but it's best I get them fixed before going any further.

    Could anyone help me find out what errors are saying, and how to fix them?

    Code:
     
    15:00:04.974 [data.invalid] [error] Target building level not allowed: The Aztecs, village -> motte_and_bailey, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, town -> wooden_castle, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, town -> wooden_castle, hinterland_roads[0](roads) -> hinterland_castle_roads[0](c_roads)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, core_building[0](wooden_pallisade) -> core_castle_building[1](wooden_castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, core_building[1](wooden_wall) -> core_castle_building[2](castle)
    15:00:04.975 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, port[0](port) -> castle_port[0](c_port)
    15:00:04.976 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, hinterland_roads[0](roads) -> hinterland_castle_roads[0](c_roads)
    15:00:04.976 [data.invalid] [error] Target building level not allowed: The Aztecs, large_town -> castle, hinterland_mines[0](mines) -> hinterland_castle_mines[0](c_mines)
    I think what its saying is there is some data invalid (although which file it is in I doesn't tell me), concerning Aztec buildings (village, town, large town) when they are replaced with motte and bailey, wooden castle, or castle.

    If memory serves me right, the Aztecs cant build castle structures.
    I had this issue before, it has something to do with allowing a building level when your faction doesnt have the ability to build a prerequisite building I believe.

    When adding buildings its best to just clone a single faction and culture.

    i.e. Do find and replace (i.e. replace greek with greek, mesoamerican) then replace byzantium with byzantium, aztecs (of course avoiding the actual unit pool sections and just hitting the building ownership lines) if you do that correctly you should avoid errors.

  3. #3
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: [error] "Target building level not allowed"

    thx TSD i'll look into it
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: [error] "Target building level not allowed"

    Basically as said above you have a building tree, in this case the castle and town trees, and you are trying to give a level of that tree to faction that can't build it. In this case it looks like you've enabled a higher level of castle/town, or maybe just castles, for the aztecs but not the corresponding buildings listed in the error message, which they require access to due to the conversion buildings.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: [error] "Target building level not allowed"

    If memory serves right, this happens if the descr_cultures entry (meso_american) doesn't show the levels of core building (walls) that is defined in the EDB.










  6. #6
    TSD's Avatar Ordinarius
    Join Date
    May 2008
    Location
    Chicago, IL
    Posts
    725

    Default Re: [error] "Target building level not allowed"

    Quote Originally Posted by Gigantus View Post
    If memory serves right, this happens if the descr_cultures entry (meso_american) doesn't show the levels of core building (walls) that is defined in the EDB.
    Interesting....when adding a new faction into third age (using the aztecs slot) I replaced the content of mesoamerican with that of one of the other cultures. So I never actually tested it prior to doing this, so i wasn't sure if that is the case (but I'll take your word on it).

    But I do know for sure it will happen if your EDB entries are funky.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •