Results 1 to 12 of 12

Thread: Tales from the Crypt (my EDB is really weird)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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 Tales from the Crypt (my EDB is really weird)

    Welcome to a tale of the unexplained.

    The situation is as follows:

    - I have a perfectly functioning EDB with custom building trees
    - The building tree in the attachment should be added
    Once the building tree and the entries for the export_buildings file are added the following happens:
    - After about 4-5 seconds the game crashes without message
    - A log is generated, the new export_buildings.string.bin is generated
    The last lines in the log (before the trigger list) relates to the name of the last building tree (custom) before the newly added one:
    error log
    Code:
    16:15:03.575 [system.io] [info] exists: missing data/ui/northern_european/buildings/#northern_european_hinterland_wunder_02.tga.dds
    16:15:03.575 [system.io] [info] exists: missing data/ui/northern_european/buildings/#northern_european_hinterland_wunder_02.tga
    16:15:03.575 [system.io] [info] exists: missing mods/1648_Beta04/data/ui/northern_european/buildings/#northern_european_hinterland_wunder_02.tga.dds
    16:15:03.575 [system.io] [info] exists: missing mods/1648_Beta04/data/ui/northern_european/buildings/#northern_european_hinterland_wunder_02.tga
    - checking for possible formatting errors (even checking with Notepad++ for the correct encoding) did not yield results

    And now the comes the dive into the abyss:
    As a test I simply copied the last building tree and only changed the tree's name, the names for the levels and everything else remained as before. Result: the game starts and displays it in the building browser. So far so good.
    The next step for the test involves changing the name of the first level to one from the new tree (entered correctly in export_buildings). Result: CTD within 4 seconds while still in the splash screen, no message - same log ending.

    Now this is really weird, because even if I didn't have an entry in export_buildings a place holder would show up. So the error must be in the EDB. But I have only changed the two instances where the first level name appears. Worthy of the Twilight zone?

    I have attached the two files (part of EDB and part of export_buildings) if someone would like to give it a try. The buildings are supposed to be pre-placed in the descr_strat, that's why they have no factions entered in the faction requirements - but then that's not really the problem here.

    Input will be highly appreciated.

    .
    Last edited by Gigantus; January 18, 2011 at 07:11 AM.










  2. #2
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Tales from the Crypt (my EDB is really weird)

    Is it cos you duplicated valleta instead of adding athens?

  3. #3
    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: Tales from the Crypt (my EDB is really weird)

    Doesn't make a difference. As I said: the CTD happens even when I duplicate one of the existing building trees and then only change the tree name and the first level name.

    Edit: just tried to add the batch to another mod and the same thing happened - the mistake must be in the added on section.
    Last edited by Gigantus; January 18, 2011 at 09:07 AM.










  4. #4
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Tales from the Crypt (my EDB is really weird)

    Really? I wonder if you understood me. It seems you designated an upgrade that doesn't exist, and duplicated one that does. If that 'makes no difference' then EDB being 'counter-intuitive' would be an understatement, 'nuts' would be more like it. Just do the entry 'properly' and perhaps the problem will go away
    Last edited by Taiji; January 18, 2011 at 09:41 AM.

  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: Tales from the Crypt (my EDB is really weird)

    This is somewhat embarrassing:

    Turns out my name converter had a bug. Spelled "descr" instead of only "desc" in the export_building entries.

    Thanks for all your suggestions.

    5 minutes until update for the name converter.










  6. #6
    gracul's Avatar 404 Not Found
    Artifex

    Join Date
    Dec 2007
    Location
    Poland
    Posts
    2,009

    Default Re: Tales from the Crypt (my EDB is really weird)

    As a side note you don't need to have a lot of entries for specified cultures, you can just have {%name%} {%name%_decr} {%name%_descr_short} and it's going to work for all cultures. If you want a specific description, just add it once. Like:
    {lemberg}Lemberg for all factions
    {lemberg_descr}Lemberg for all factions
    {lemberg_descr_short}Lemberg for all factions
    {lemberg_southern_european}Lemberg southern_european specific description
    {lemberg_southern_european_descr}Lemberg southern_european specific description
    {lemberg_southern_european_descr_short}Lemberg southern_european specific description

  7. #7
    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: Tales from the Crypt (my EDB is really weird)

    It's not even as complicated as that: just a simple spreadsheet with CONCATENATE formulas.

    The aim of the converter was to create an entry for each culture easily so that simple text could be added as was needed (export_building entries for dummies).

    But thanks anyhow for the tip, wasn't sure if the culture that can build the building didn't need the culture entry.










  8. #8
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Tales from the Crypt (my EDB is really weird)

    You're welcome.... But you don't say that you fixed the errors I point out in EDB. So now I wonder...

  9. #9
    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: Tales from the Crypt (my EDB is really weird)

    Quote Originally Posted by Taiji View Post
    You're welcome.... But you don't say that you fixed the errors I point out in EDB. So now I wonder...
    Doesn't make a difference.
    I should have been more precise in my response. At that point it didn't really matter, as I had simply related it to this step:
    The next step for the test involves changing the name of the first level to one from the new tree (entered correctly in export_buildings). Result: CTD within 4 seconds while still in the splash screen, no message - same log ending.
    Red being the major wrong assumption.

    I entered everything again into the (now fixed) converter and everything works perfectly.

    .










  10. #10
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Tales from the Crypt (my EDB is really weird)

    Quote Originally Posted by Gigantus View Post
    I should have been more precise in my response.
    Not meaning to be funny but that's only the bit of your last post that made sense to me...

  11. #11
    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: Tales from the Crypt (my EDB is really weird)

    You were asking: "But you don't say that you fixed the errors I point out in EDB."

    I was responding: "At that point it didn't really matter"
    --------------------
    What I had done at that point was the last step in my OP, in which I simply replaced the faulty tree with an existing one in which I had renamed the name of the tree and only the first level.
    Sorry for the confusion - I fixed the error you pointed out in my initial building tree. Thanks for saving me another nightmare.










  12. #12
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Tales from the Crypt (my EDB is really weird)

    Ah ok, sorry for being slow, I see what you mean now

Posting Permissions

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