Results 1 to 14 of 14

Thread: Unspecified error in New_Faction

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Unspecified error in New_Faction

    I just completed Creating a World - Adding a new faction tutorial by Gigantus (+rep). I launched the mod, started playing as Ottomans but I got error message before I got in the game:

    "This is bad. Don't know why but I have to exit. Sorry, pal."

    Is there any way to specify error so I can fix it? I don't wanna redo whole tutorial.


  2. #2
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Unspecified error in New_Faction

    show us the last 5 lines of the log
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  3. #3

    Default Re: Unspecified error in New_Faction

    Yes as swagger mentioned give us the last 5 lines or submit here the entire log so that we can see what the problem is

  4. #4

    Default Re: Unspecified error in New_Faction

    This may sound even more n00bish but: whats a log?


  5. #5
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Unspecified error in New_Faction

    system.log.txt.

  6. #6

    Default Re: Unspecified error in New_Faction

    Whole log for today:

    Spoiler Alert, click show to read: 
    16:13:33.593 [system.rpt] [always] CPU: SSE2
    16:13:33.593 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    16:13:33.593 [system.io] [always] mounted pack packs/data_0.pack
    16:13:33.593 [system.io] [always] mounted pack packs/data_1.pack
    16:13:33.593 [system.io] [always] mounted pack packs/data_2.pack
    16:13:33.593 [system.io] [always] mounted pack packs/data_3.pack
    16:13:33.593 [system.io] [always] mounted pack packs/data_4.pack
    16:13:33.593 [system.io] [always] mounted pack packs/localized.pack
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 282, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 338, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 395, column 104
    unit(Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 444, column 115
    unit(Dismounted Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 454, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 495, column 104
    unit(Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 549, column 115
    unit(Dismounted Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 556, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 747, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 798, column 104
    unit(Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 807, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 857, column 99
    unit(Quapukulu) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 871, column 104
    unit(Sipahi Lancers) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 878, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1153, column 107
    unit(Janissary Archers) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1220, column 152
    unit(Janissary Musketeers) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1224, column 107
    unit(Janissary Archers) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1361, column 95
    unit(Azabs) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1419, column 95
    unit(Azabs) does not match up to the ownership for faction(ottomans)
    16:13:35.500 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1488, column 95
    unit(Azabs) does not match up to the ownership for faction(ottomans)
    16:13:35.515 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1638, column 106
    unit(Ottoman Infantry) does not match up to the ownership for faction(ottomans)
    16:13:35.515 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1684, column 106
    unit(Ottoman Infantry) does not match up to the ownership for faction(ottomans)
    16:13:35.531 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 1988, column 108
    unit(ME Monster Bombard) does not match up to the ownership for faction(ottomans)
    16:13:35.531 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 2132, column 108
    unit(ME Monster Bombard) does not match up to the ownership for faction(ottomans)
    16:13:35.531 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 2204, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.625 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 3983, column 109
    unit(Janissary Heavy Inf) does not match up to the ownership for faction(ottomans)
    16:13:35.625 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4009, column 109
    unit(Janissary Heavy Inf) does not match up to the ownership for faction(ottomans)
    16:13:35.640 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4437, column 113
    unit(Hashishim) does not match up to the ownership for faction(ottomans)
    16:13:35.640 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4452, column 113
    unit(Hashishim) does not match up to the ownership for faction(ottomans)
    16:13:35.640 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4467, column 113
    unit(Hashishim) does not match up to the ownership for faction(ottomans)
    16:13:35.656 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4636, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.656 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4657, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:35.656 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 4679, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    16:13:45.843 [script.err] [error] Script Error in mods/New_Faction/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 170, column 32
    resource timber positioned on 199,57 which is an invalid tile.

    16:13:46.281 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


    EDIT: It seems, there's same error for any faction I try to play.
    Last edited by Ishan; October 02, 2010 at 10:08 AM. Reason: placed the log inside spoiler


  7. #7

    Default Re: Unspecified error in New_Faction

    Ok the error is in your export_descr_buildings.txt file and a resource on your map is placed on a invalid tile.
    So fix them plz.
    The units mentioned in the log for ottomans so make sure u have the ownership of the units in the export_descr_unit.txt file.
    And the resource is timber placed at 199,57 coordinates so move it left right etc on the tile that is vaild.

  8. #8
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Unspecified error in New_Faction

    Example: 16:13:35.484 [script.err] [error] Script Error in mods/New_Faction/data/export_descr_buildings.txt, at line 282, column 97
    unit(Sipahis) does not match up to the ownership for faction(ottomans)
    .
    The Sipahis in blue have to be give ownership in the export_descr_unit.txt to ottomans in red.

    It has to be done for each error line or you will ctd in battles.
    Last edited by Ishan; October 02, 2010 at 10:31 AM. Reason: file name was wrong

  9. #9

    Default Re: Unspecified error in New_Faction

    I'm sure the units in ex file are defined properly. Example:

    recruit_pool "ME Town Militia" 1 0.2 2 0 requires factions { moors, turks, ottomans, mongols, timurids, }

    Everything is done this way.

    Edit: I fixed the timber.
    Last edited by ModderN00b; October 02, 2010 at 10:22 AM.


  10. #10

    Default Re: Unspecified error in New_Faction

    I know you EDB is fine but the error is match up that is check this ownership in EDU as well. Read my or Sir Ron's previous post again.

  11. #11

    Default Re: Unspecified error in New_Faction

    I fixed EDB and EDU but now I get this log:

    Log
    17:48:21.890 [system.rpt] [always] CPU: SSE2
    17:48:21.890 [system.rpt] [always] ==== system log start, build date: Aug 3 2007 version bld-medieval2-kingdoms-104 (45562) ===
    17:48:21.890 [system.io] [always] mounted pack packs/data_0.pack
    17:48:21.906 [system.io] [always] mounted pack packs/data_1.pack
    17:48:21.906 [system.io] [always] mounted pack packs/data_2.pack
    17:48:21.906 [system.io] [always] mounted pack packs/data_3.pack
    17:48:21.906 [system.io] [always] mounted pack packs/data_4.pack
    17:48:21.906 [system.io] [always] mounted pack packs/localized.pack
    17:48:33.984 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.


  12. #12

    Default Re: Unspecified error in New_Faction

    This log really means "Sorry Pal".

    Set the log to *trace in your mod's .cfg file and post again.

    This thing happens when u try to mod fast and a lot of things at once.

    Place the faction, start putting units one by one by first confirming then in custom battle and their upgrades as well. That's the way it works and even though i'm experienced in this but i still double check and work in steps.

  13. #13

    Default Re: Unspecified error in New_Faction

    I can't play Ottomans in custom battle


  14. #14

    Default Re: Unspecified error in New_Faction

    Read this Tutorial and match and co-relate it with ottomans make sure there is every file placed in it's location and entry.

    It's the max i can do.

Posting Permissions

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