Results 1 to 10 of 10

Thread: EDU crash with no message

  1. #1
    Civis
    Join Date
    Aug 2009
    Location
    Always temporary.
    Posts
    186

    Icon9 EDU crash with no message

    Hello everyone.

    I really dont know what on earth happened. After successfully converting entries in the EDU file to match units for my mod, now all of a sudden the game CTDs without a message at the launch screen.

    I tried to start work on a new unit. All I did was move a vanilla entry to the bottom of the file, not naval, not mercenary. Save, run game. CTD at launch screen. I reverse what I did and it became fine. Next, I tried to alter the entry in its original spot in the file. But any kind of change I made causes the same thing. Change unit ownership: launch screen CTD. Change unit size: launch screen CTD. Try working on a different entry: launch screen CTD. Simply moving any entry at all without making any kind of changes: launch screen CTD. Try to manually add a new entry: launch screen CTD. Deleting an entry: game works. Deleting an entry and adding a new one: launch screen CTD. Add or delete any 'era' to a unit: launch screen CTD.

    I am completely dumbfounded by this as I have converted several existing vanilla units into my mod creations without trouble. The units I made from converting vanilla ones still work. This has made me stuck as any alteration made causes a launch screen CTD. There is no message of any kind and the loading screen doesn't even appear.

    Has anyone else experienced this?

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

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

    Default Re: EDU crash with no message

    What does the log file show?
    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
    Civis
    Join Date
    Aug 2009
    Location
    Always temporary.
    Posts
    186

    Default Re: EDU crash with no message

    16:23:15.194 [script.err] [error] Script Error in mods/Bare_Geomod/data/export_descr_unit.txt, at line 10006, column 1
    Missing attributes field for unit type 'Byzantine Infantry'.
    16:23:15.194 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/Bare_Geomod/data/export_descr_unit.txt.

    Byzantine Infantry is the entry I tried to move. The attributes field is there.

    I attached the whole thing.
    Attached Files Attached Files

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

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

    Default Re: EDU crash with no message

    Quote Originally Posted by Xagamon View Post
    16:23:15.194 [script.err] [error] Script Error in mods/Bare_Geomod/data/export_descr_unit.txt, at line 10006, column 1
    Missing attributes field for unit type 'Byzantine Infantry'.
    16:23:15.194 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/Bare_Geomod/data/export_descr_unit.txt.

    Byzantine Infantry is the entry I tried to move. The attributes field is there.

    I attached the whole thing.
    Could you post the entire Byzantine Infantry entry as well as the entry of the unit before it.
    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
    Civis
    Join Date
    Aug 2009
    Location
    Always temporary.
    Posts
    186

    Default Re: EDU crash with no message

    type Bayushi Elite Guard
    dictionary Bayushi_Elite_Guard
    category infantry
    class spearmen
    voice_type Light
    accent Scottish
    banner faction main_spear
    banner holy crusade
    soldier bayushi_elite_guard, 37, 0, 1.2
    attributes sea_faring, hide_improved_forest, can_withdraw, very_hardy, can_formed_charge, frighten_foot
    formation 1.2, 1.2, 2.4, 2.4, 5, square, schiltrom
    stat_health 1, 0
    stat_pri 12, 5, no, 0, 0, melee, melee_blade, piercing, spear, 7, 0.6
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr light_spear, spear_bonus_10
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 5, 6, 5, metal
    ;stat_armour_ex 0, 0, 0, 0, 3, 3, 3, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, -2, 3, 2
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 3, 920, 400, 100, 75, 920, 1, 170
    armour_ug_levels 1
    armour_ug_models bayushi_elite_guard
    ownership scotland
    era 0 scotland
    era 1 scotland
    era 2 scotland
    ;unit_info 7, 0, 6

    type Byzantine Infantry
    dictionary Byzantine_Infantry ; Byzantine Infantry
    category infantry
    class heavy
    voice_type Heavy
    banner faction main_infantry
    banner holy crusade
    soldier Byzantine_Infantry, 48, 0, 1
    attributes sea_faring, hide_forest, can_withdraw
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 0
    stat_pri 11, 2, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 5, 7, 6, metal
    ;stat_armour_ex 5, 7, 0, 0, 7, 6, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, 0, 2, 0
    stat_mental 5, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 400, 125, 75, 55, 400, 4, 100
    armour_ug_levels 2, 3
    armour_ug_models Byzantine_Infantry, Byzantine_Infantry_ug1
    ownership phoenix_clan
    era 1 phoenix_clan
    era 2 phoenix_clan
    ;unit_info 11, 0, 18
    Attached Files Attached Files
    Last edited by Xagamon; October 09, 2015 at 12:51 PM. Reason: To add the full file

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

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

    Default Re: EDU crash with no message

    What's the name of the model, including case, as written in modeldb? What happens if you remove that unit entirely from EDU? And yes I'm aware that other files will potentially fail at point, but I'm trying to determine if there's a bug at some previous point in EDU that isn't being recognized until that location for some reason.
    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

  7. #7
    Civis
    Join Date
    Aug 2009
    Location
    Always temporary.
    Posts
    186

    Default Re: EDU crash with no message

    The modeldb entry is byzantine_infantry. When I delete the entry from EDU, the game runs as normal. Odd... it would crash before.

    I returned the entry and tried to edit the entry by just leaving it there. Changing ownership is fine, as well as eras. It crashes when I try to add the line "era 0", even with the same faction. I added an attribute to the primary weapon and it worked just fine as well. Maybe I will try to change the name in the modeldb and EDU?

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,096
    Blog Entries
    35

    Default Re: EDU crash with no message

    Which application are you using for editing?

    The EDU entry only has line feeds (LF), no carriage returns (CR) - simply copy\paste the complete entry into a blank Notepad document, delete the old entry and then copy it back.










  9. #9
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: EDU crash with no message

    It does have LF problems. And not just that unit.

    http://www.twcenter.net/forums/showt...2#post13984052

  10. #10
    Civis
    Join Date
    Aug 2009
    Location
    Always temporary.
    Posts
    186

    Default Re: EDU crash with no message

    Thanks for the input everyone. I usually use Notepad++.

    Odd, I'm not sure what I did. It suddenly just started working again. I dont remember doing anything beyond making edits. But in any case now I'm back in business.
    But now with your feedback, now I have a direction to look at if this happens again. Thanks again.

Posting Permissions

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