Results 1 to 8 of 8

Thread: help needed please

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Tacticalwithdrawal's Avatar Ghost
    Join Date
    May 2005
    Location
    Stirling, Scotland
    Posts
    7,013

    Default help needed please

    folks, I'm reloading all my files back into BI (after my disk crashed). I'm doing it in steps and have now got it so that descr_strat has been loaded back in. I have just added in export_descr_buildings but, since I don't have my units loaded back I am just commenting them out as the -show_err says they are missing.

    However, when I comment out 'recruit dwarf axe' BI crashes without giving an error. If I un-comment it out I get an error message saying dwarf axe not recognised.

    Can anyone tell me why this is happening and how to fix it? why the blooming heck it is crashing when commented .....

    building barracks_dwarven
    {
    levels muster_field_dwarven militia_barracks_dwarven city_barracks_dwarven army_barracks_dwarven royal_barracks_dwarven
    {
    muster_field_dwarven requires factions { nomad, celts, } and building_present_min_level town_plan_dwarven temple_of_fertility_shrine_dwarven
    {
    capability
    {
    recruit "dwarf axe" 0 requires factions { vandals, }

    recruit "celtic slingers" 0 requires factions { celts, }
    }
    construction 2
    cost 600
    settlement_min town
    upgrades
    {
    militia_barracks_dwarven
    }
    }

    }
    plugins
    {
    }
    }
    Last edited by Tacticalwithdrawal; August 15, 2007 at 04:24 PM.
    : - It's my smilie and I'll use it if I want to......
    ______________________________________________________________

    Ave Caesar, Morituri Nolumus Mori (in Glaswegian: gae **** yrsel big man)
    ______________________________________________________________
    Child of Seleukos, Patron of Rosacrux redux, Polemides, Marcus Scaurus, CaptainCernick, Spiff and Fatsheep

  2. #2
    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: help needed please

    My only guess to the errorless CTD would be there is some error further up in the file which isn't causing problems until that point.
    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

  3. #3
    Tacticalwithdrawal's Avatar Ghost
    Join Date
    May 2005
    Location
    Stirling, Scotland
    Posts
    7,013

    Default Re: help needed please

    I hate editing files
    : - It's my smilie and I'll use it if I want to......
    ______________________________________________________________

    Ave Caesar, Morituri Nolumus Mori (in Glaswegian: gae **** yrsel big man)
    ______________________________________________________________
    Child of Seleukos, Patron of Rosacrux redux, Polemides, Marcus Scaurus, CaptainCernick, Spiff and Fatsheep

  4. #4

    Default Re: help needed please

    First of all, let me apologize in advance as my knowledge of EDB is quite limited but it looks like you declare several levels for the barracks_dwarven building but you only write two of them: muster_field_dwarven and militia_barracks_dwarven.

  5. #5
    Tacticalwithdrawal's Avatar Ghost
    Join Date
    May 2005
    Location
    Stirling, Scotland
    Posts
    7,013

    Default Re: help needed please

    hmm, I'll give it a shot
    : - It's my smilie and I'll use it if I want to......
    ______________________________________________________________

    Ave Caesar, Morituri Nolumus Mori (in Glaswegian: gae **** yrsel big man)
    ______________________________________________________________
    Child of Seleukos, Patron of Rosacrux redux, Polemides, Marcus Scaurus, CaptainCernick, Spiff and Fatsheep

  6. #6

    Default Re: help needed please

    Did' Salvor's advice work? If yes, ignore the rest.

    Hard CTDs are most probably cases of typos... An extra underscore, space, dot, you-name-it. Have you tried replacing just the unit's id with another unit's and see what you get?

  7. #7
    Tacticalwithdrawal's Avatar Ghost
    Join Date
    May 2005
    Location
    Stirling, Scotland
    Posts
    7,013

    Default Re: help needed please

    nah - it's still bust, but it may be one of so many things (ie. any number of files may be corrupted) that I'll just start from scratch from a fresh base.

    thanks guys
    : - It's my smilie and I'll use it if I want to......
    ______________________________________________________________

    Ave Caesar, Morituri Nolumus Mori (in Glaswegian: gae **** yrsel big man)
    ______________________________________________________________
    Child of Seleukos, Patron of Rosacrux redux, Polemides, Marcus Scaurus, CaptainCernick, Spiff and Fatsheep

  8. #8
    DaVinci's Avatar TW Modder 2005-2016
    Patrician Artifex

    Join Date
    Apr 2005
    Location
    The plastic poisoned and d(r)ying surface of planet Earth in before Armageddon
    Posts
    15,299

    Default Re: help needed please

    Salvor's advice is in so far absolutely correct, if you have not coded all the building-upgades which are listed here in this line

    levels muster_field_dwarven militia_barracks_dwarven city_barracks_dwarven army_barracks_dwarven royal_barracks_dwarven
    ... that will for sure lead to a ctd, and as for your code above looks like, it must be shortened to just

    levels muster_field_dwarven militia_barracks_dwarven
    ... but then, there is missing still the whole militia_barracks_dwarven building upgrade code.

    So it should look like for example this

    building barracks_dwarven
    {
    levels muster_field_dwarven militia_barracks_dwarven
    {
    muster_field_dwarven requires factions { nomad, celts, } and building_present_min_level town_plan_dwarven temple_of_fertility_shrine_dwarven
    {
    capability
    {
    recruit "dwarf axe" 0 requires factions { vandals, }

    recruit "celtic slingers" 0 requires factions { celts, }
    }
    construction 2
    cost 600
    settlement_min town
    upgrades
    {
    militia_barracks_dwarven
    }
    }
    militia_barracks_dwarven requires factions { nomad, celts, } and building_present_min_level town_plan_dwarven temple_of_fertility_shrine_dwarven
    {
    capability
    {
    recruit "dwarf axe" 0 requires factions { vandals, }
    recruit "celtic slingers" 0 requires factions { celts, }
    recruit ...entry...
    }
    construction 4
    cost 1200
    settlement_min large_town
    upgrades
    {
    }
    }
    }
    plugins
    {
    }
    }
    Last edited by DaVinci; August 16, 2007 at 06:12 PM.
    #Anthropocene #not just Global Warming but Global Disaster, NASA #Deforestation #Plastic Emission #The Blob #Uninhabitable Earth #Savest Place On Earth #AMOC #ICAN #MIT study "Falsehoods Win" #Engineers of Chaos
    #"there can be no doubt about it: the enemy stands on the Right!" 1922, by Joseph Wirth.
    Rightwingers, like in the past the epitome of incompetence, except for evilness where they own the mastership.
    #"Humanity is in ‘final exam’ as to whether or not it qualifies for continuance in universe." Buckminster Fuller
    Any chance for this exam? Very low, because the established Anthropocentrism destroys the basis of existence.
    #My Modding #The Witcher 3: Lore Friendly Tweaks (LFT)
    #End, A diary of the Third World War (A.-A. Guha, 1983) - now, it started on 24th February 2022.

Posting Permissions

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