Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Family Problem

Hybrid View

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

    Default Family Problem

    hi


    i'm having a stupif error, about something that should be done straight forward

    this is the family tree

    relative Imad_ad_din_Zengi, Scheherazade, Saif ad_Din_Ghazi, Nur_al_Din, Qutb ad_Din_Mawdud, end
    log:

    17:22:54.466 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 579, column 1
    Couldn't find character records name (female) in the names database
    17:22:54.466 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 579, column 37
    Couldn`t find spouse Scheherazade

    any ideas?


    i checked all names, and they're in descr_names, i tried to change the spouse name to a name im 100% sure it works and it gives the same error..
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Family Problem

    Are things in the right order in descr_strat? Post the entire section.

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

    Default Re: Family Problem

    Spoiler Alert, click show to read: 
    character Imad_ad_din_Zengi Zengi, named character, male, leader, age 59, x 271, y 108 ;baghdad
    traits Factionleader 1 , GoodCommander 2 , Intelligent 2 , Austere 1 , PublicFaith 1 , BattleChivalry 1 , StrategyChivalry 3 , ReligionStarter 1 , IslamHero 1 , JihadHistory 2 , NaturalMilitarySkill 1 , PublicFaith 2
    army
    unit ME Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Turkish Horse Archers exp 1 armour 0 weapon_lvl 0
    unit Hasham exp 1 armour 0 weapon_lvl 0
    unit Sipahi Lancers exp 1 armour 0 weapon_lvl 0
    unit Saracen Militia exp 2 armour 0 weapon_lvl 0
    unit Saracen Militia exp 2 armour 0 weapon_lvl 0
    unit Turkomans exp 1 armour 0 weapon_lvl 0

    character Nur_al_Din Zengi, named character, male, heir, age 26, x 235, y 130 ;mosul
    traits Factionheir 1 , LoyaltyStarter 1 , NaturalMilitarySkill 3 , BattleChivalry 1, StrategyChivalry 1 , IslamHero 1 , JihadHistory 2 , GoodDiplomacy 2, ReligionStarter 1 , GoodCommander 3 , PublicFaith 2 , Intelligent 1 , ReligionStarter 1 , AssassinMaster 1 , SpyMaster 1
    ancillaries apothecary
    army
    unit ME Bodyguard exp 4 armour 0 weapon_lvl 0
    unit Hasham exp 1 armour 0 weapon_lvl 0
    unit Hasham exp 1 armour 0 weapon_lvl 0
    unit Sipahi Lancers exp 1 armour 0 weapon_lvl 0
    unit Dismounted Hasham exp 1 armour 0 weapon_lvl 0
    unit Dismounted Hasham exp 1 armour 0 weapon_lvl 0
    unit Mutawitta Spearmen exp 1 armour 0 weapon_lvl 0
    unit Mutawitta Spearmen exp 1 armour 0 weapon_lvl 0
    unit Mutawitta Spearmen exp 1 armour 0 weapon_lvl 0
    unit ME Halberd Militia exp 1 armour 0 weapon_lvl 0
    unit Turkomans exp 1 armour 0 weapon_lvl 0
    unit Turkish Horse Archers exp 1 armour 0 weapon_lvl 0
    unit Sipahis exp 1 armour 0 weapon_lvl 0

    character Saif ad_Din_Ghazi Zengi, named character, male, age 29, x 255, y 118
    army
    unit ME Halberd Militia exp 1 armour 0 weapon_lvl 0
    unit ME Spear Militia exp 1 armour 0 weapon_lvl 0

    character Qutb ad_Din_Mawdud Zengi, named character, male, age 23, x 242, y 105
    army
    unit ME Spear Militia exp 1 armour 0 weapon_lvl 0
    unit ME Crossbow Militia exp 2 armour 0 weapon_lvl 0
    unit ME Crossbow Militia exp 2 armour 0 weapon_lvl 0

    character Janbulat, named character, male, age 26 x 209, y 128
    traits LoyaltyStarter 1 , NaturalMilitarySkill 1 , GoodCommander 1 , BattleChivalry 1, StrategyChivalry 1 , CrusaderHistory 1 , GoodDiplomacy 2, ReligionStarter 1
    army
    unit ME Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Hasham exp 1 armour 0 weapon_lvl 0
    unit Sipahi Lancers exp 1 armour 0 weapon_lvl 0
    unit Saracen Militia exp 2 armour 0 weapon_lvl 0
    unit Saracen Militia exp 2 armour 0 weapon_lvl 0
    unit Turkomans exp 1 armour 0 weapon_lvl 0
    unit Turkish Archers exp 1 armour 0 weapon_lvl 0
    unit ME Crossbow Militia exp 2 armour 0 weapon_lvl 0
    unit ME Crossbow Militia exp 2 armour 0 weapon_lvl 0
    unit Ghazis exp 1 armour 0 weapon_lvl 0
    unit ME Halberd Militia exp 1 armour 0 weapon_lvl 0
    unit ME Halberd Militia exp 1 armour 0 weapon_lvl 0
    unit Dismounted Hasham exp 1 armour 0 weapon_lvl 0
    unit Dismounted Hasham exp 1 armour 0 weapon_lvl 0
    unit Mutawitta Spearmen exp 1 armour 0 weapon_lvl 0

    ;Imad ad-Din Zengis family
    character_record Scheherazade, female, age 46, alive, never_a_leader

    relative Imad_ad_din_Zengi Zengi, Scheherazade, Saif ad_Din_Ghazi Zengi, Nur_al_Din Zengi, Qutb ad_Din_Mawdud Zengi, end
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  4. #4
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Family Problem

    I am not seeing the problem. The log specifies line 579, if you comment that line out does it run?

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

    Default Re: Family Problem

    yea


    this is the line

    relative Imad_ad_din_Zengi, Scheherazade, Saif ad_Din_Ghazi, Nur_al_Din, Qutb ad_Din_Mawdud, end

    i checked each name and they're fine


    i got all the others much more complex families running like a gem in no time, but for some reason this one is a black sheep
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  6. #6
    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: Family Problem

    These two guys have three part names, does that work?

    character Saif ad_Din_Ghazi Zengi
    character Qutb ad_Din_Mawdud Zengi

    Your first post:
    relative Imad_ad_din_Zengi Zengi, Scheherazade, Saif ad_Din_Ghazi Zengi, Nur_al_Din Zengi, Qutb ad_Din_Mawdud Zengi, end

    Your second post (red entry is missing):
    relative Imad_ad_din_Zengi, Scheherazade, Saif ad_Din_Ghazi, Nur_al_Din, Qutb ad_Din_Mawdud, end










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

    Default Re: Family Problem

    hi gigantus, i already did tried that, thinking the problem came from the missing surname common to all family but it didn't work


    take the example of the family tree of Tripoli:

    ;grandparents
    character_record Bertrand, male, age 68, dead, 32, never_a_leader
    character_record Elvira, female, age 70, alive, never_a_leader

    ;Raymondi Srs family
    character_record Pons, male, age 53, dead, 7, never_a_leader
    character_record Cecile, female, age 47, alive, never_a_leader

    ;Raymondis family
    character_record Hodierna, female, age 34, alive, never_a_leader
    character_record RaymondII, male, age 4, alive, never_a_leader
    character_record Melisende, female, age 2, alive, never_a_leader

    ;Alfonso Jordan family
    character_record Faydivee, female, age 28, alive, never_a_leader
    character_record Raymond, male, age 10, alive, never_a_leader

    relative Alfonso Jordan, Faydivee, Raymond, end
    relative Raymond de_Tripoli, Hodierna, RaymondII, Melisende, end
    relative Pons, Cecile, Alfonso Jordan, Raymond de_Tripoli, end
    relative Bertrand, Elvira, Pons, end
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  8. #8
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Family Problem

    Quote Originally Posted by Swagger View Post
    17:22:54.466 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 579, column 1
    Couldn't find character records name (female) in the names database
    17:22:54.466 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 579, column 37
    Couldn`t find spouse Scheherazade

    any ideas?
    The problem is this line:
    Code:
    character_record  Scheherazade,    female, age 46, alive, never_a_leader
    The engine cannot read that name but reads "female" as the name. Therefore this spouse cannot be found:

    Code:
    relative     Imad_ad_din_Zengi,     Scheherazade, Saif ad_Din_Ghazi,  Nur_al_Din, Qutb ad_Din_Mawdud, end
    Sollution: there is a tab missing (can even be two) between "character_record" and "Scheherazade". Either add the missing tabs or copy a character_record of another family tree that is working by guarantee and replace that name with Scheherazade's and set the age accordingly.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

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

    Default Re: Family Problem

    thanks konny, i'll test it


    i knew the problem was in both of those lines, but i even copied character records from other families that were working and replaced the names and still didn't work
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


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

    Default Re: Family Problem

    now the game loads, but still the family tree doesn't appear, only the faction leader


    15:34:32.613 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 578, column 1
    Couldn't find character records name (female) in the names database
    15:34:32.613 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 578, column 37
    couldn't find Scheherazade's character_record
    15:34:32.613 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 580, column 1
    The character record Crown Prince Nur al-Din is set as faction heir but is not in the family tree.
    15:34:32.613 [script.err] [error] Script Error in mods/L'Outremer/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 580, column 1
    The character record is neither married, nor has a father and will be ommited from the game. She needs to be defined as a relative
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  11. #11
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Family Problem

    Obviously, the problem still exists. Please upload your descr_strat.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

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

    Default Re: Family Problem

    i tried everything but meh.. doesnt work


    i'll upload when i return to my house
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


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

    Default Re: Family Problem

    see attachments
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  14. #14
    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: Family Problem

    These two lines have spaces instead of tabs. To fix, delete the space between the entries and replace with a single TAB each:

    ;Imad ad-Din Zengis family
    character_recordtabScheherazade,tabfemale, age 46, alive, never_a_leader

    relativetabImad_ad_din_Zengi,tabScheherazade,tabSaif ad_Din_Ghazi,tabNur_al_Din,tabQutb ad_Din_Mawdud,tabend










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

    Default Re: Family Problem

    i did that gigantus
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  16. #16
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Family Problem

    Yes, the tabs are still missing.

    Code:
    character_record<SPACE>Scheherazade,<SPACE><SPACE><SPACE>female, age 46, alive, never_a_leader
    should be
    Code:
    character_record<TAB>Scheherazade,<TAB>female, age 46, alive, never_a_leader
    Try this one:

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

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

    Default Re: Family Problem

    thanks now it works

    it's quite curious that the line has the same size

    i already have done like you said, but my ''tab'' created 3 spaces instead of the normal <tab>

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


  18. #18
    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: Family Problem

    Guess you are using a different editor. Some of them can be set to do that. Check the properties of the editor.










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

    Default Re: Family Problem

    i use notepad2 (i think it's the same as notepad ++)
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  20. #20
    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: Family Problem

    If it is like Notepad++, then this is the culprit (remove the tickmark):










Page 1 of 2 12 LastLast

Posting Permissions

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