Results 1 to 4 of 4

Thread: locating error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Razor's Avatar Licenced to insult
    Join Date
    Apr 2004
    Location
    Deventer, The Netherlands
    Posts
    4,057

    Default locating error

    After trying to get my first unit ingame I get this error.

    Code:
    19:11:01.876 [script.err] [error] Script Error in mods/European_Wars/data/export_descr_unit.txt, at line 14768, column 28
    Could not find soldier battle model for unit type 'Line_Infantry'.
    
    19:11:01.876 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/European_Wars/data/export_descr_unit.txt.

    Code:
    19:18:05.716 [system.rpt] [always] CPU: SSE2
    19:18:05.717 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
    19:18:05.720 [system.io] [always] mounted pack packs/data_0.pack
    19:18:05.720 [system.io] [always] mounted pack packs/data_1.pack
    19:18:05.721 [system.io] [always] mounted pack packs/data_2.pack
    19:18:05.721 [system.io] [always] mounted pack packs/data_3.pack
    19:18:05.722 [system.io] [always] mounted pack packs/data_4.pack
    19:18:05.722 [system.io] [always] mounted pack packs/localized.pack
    19:18:07.208 [script.err] [error] Script Error in mods/European_Wars/data/export_descr_unit.txt, at line 14768, column 28
    Could not find soldier battle model for unit type 'Line_Infantry'.
    
    19:18:07.208 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/European_Wars/data/export_descr_unit.txt.
    Obviously my error has something to do with the edu at line 14768.
    If I go to line 14768 in my edu file it brings me to this line (blue-colored) (being the last line in the edu):

    Code:
    type             Line Infantry
    dictionary       Line_Infantry      ; Line Infantry
    category         infantry
    class            missile
    voice_type       Heavy
    banner faction   main_missile
    banner holy      crusade
    soldier          Line_Infantry, 60, 0, 0.8
    attributes       sea_faring, hide_forest, can_withdraw, gunpowder_unit, fire_by_rank, start_not_skirmishing, gunmen
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      1, 0
    stat_pri         14, 1, musket_bullet, 180, 20, missile, missile_gunpowder, piercing, none, musket_shot_set, 25, 1
    ;stat_pri_ex      0, 0, 20
    stat_pri_attr    ap
    stat_sec         13, 8, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  0, 3, 0, flesh
    ;stat_armour_ex   0, 5, 0, 0, 3, 0, 0, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        2
    stat_ground      1, -2, 3, 2
    stat_mental      3, normal, trained
    stat_charge_dist 10
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 540, 150, 65, 50, 540, 4, 130
    armour_ug_levels 1
    armour_ug_models Line_Infantry
    ownership        france, spain, portugal, england, venice, hre, poland, russia, denmark
    era 2            france, spain, portugal, england, venice, hre, poland, russia, denmark
    ;unit_info        6, 14, 3 

    I'm a bit clueless now because it all seems fine to me. Perhaps someone can quickly spot the error?
    Last edited by Razor; March 21, 2010 at 05:47 AM. Reason: spelling

  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: locating error

    Yes, your missing a model called Line_Infantry (see: soldier Line_Infantry, 60, 0, 0.8) from the modeldb file.
    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
    Razor's Avatar Licenced to insult
    Join Date
    Apr 2004
    Location
    Deventer, The Netherlands
    Posts
    4,057

    Default Re: locating error

    Quote Originally Posted by Sqυιd View Post
    Yes, your missing a model called Line_Infantry (see: soldier Line_Infantry, 60, 0, 0.8) from the modeldb file.
    Eh? I know that's what the log file says. But to my knowledge everything is right there. That includes the model entry in the modeldb file.



    Edit: okay I just read somewhere about a serialization number in the first line of the modeldb file. It seems that was the issue all the time. Stupid M2TW mechanism...
    Last edited by Razor; March 21, 2010 at 06:39 AM.

  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: locating error

    Sorry was trying to type too fast. There are three reasons you'll get that error:


    1. The model doesn't exist in the modelsdb file
    2. The model name is misspelt in EDU
    3. The model is listed at the bottom of modelsdb and the serialization number wasn't increased
    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

Posting Permissions

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