Results 1 to 3 of 3

Thread: Strat problem

Hybrid View

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

    Default Strat problem

    Having a tiny problem with the strait. Backround, I added in a new named general for Portugal and loaded fine but had a small error. I forgot to change the leaders name in the relative box to match. So I quit, made the change, and now crashing. This is what I get in the .log

    22:03:14.109 [script.err] [error] Script Error in DLV_ext/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3921, column 83
    Children of Rei Afonso: Rei Afonso (age 26) is supposed to be younger than Rei Afonso (age 26)

    Ok, pretty straight forward, I'm used to seeing this one. So I go to the strat to fix... and this is the portugal character section....

    character Afonso Henriques, named character, male, leader, age 71, x 95, y 157
    traits Factionleader 1 , GoodCommander 2 , PublicFaith 2 , Intelligent 1 , ReligionStarter 1, CharacterAges 1, TurnsAlive 3, PresentAtGameStart 1
    ancillaries crown_portugal
    army
    unit SE Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit Peasant Archers exp 0 armour 0 weapon_lvl 0

    character Sancho Henriques, named character, male, heir, age 26, x 102, y 153
    traits Factionheir 1 , NaturalMilitarySkill 1 , Intelligent 1 , FathersLegacy 3 , PublicFaith 1 , LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1 , TurnsAlive 1 , PresentAtGameStart 1
    army
    unit SE Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Peasant Crossbowmen exp 0 armour 0 weapon_lvl 0
    unit Peasant Crossbowmen exp 0 armour 0 weapon_lvl 0

    character Rodrigo Fernandes, general, male, age 30, x 105, y 179
    army
    unit Jinetes exp 0 armour 0 weapon_lvl 0
    unit Jinetes exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Peasant Crossbowmen exp 0 armour 0 weapon_lvl 0

    character Lopo Pires, spy, male, age 20, x 107, y 146
    traits GoodSpy 4, CharacterAges 1, SpyTurnsAlive 1

    character Vicente Ramalho, merchant, male, age 25, x 108, y 159
    traits GoodMerchant 3, CharacterAges 1, MerchantTurnsAlive 1

    character Joao, general, male, age 26, x 106, y 180
    army
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Peasant Archers exp 0 armour 0 weapon_lvl 0
    unit Peasant Archers exp 0 armour 0 weapon_lvl 0

    character Xavier Valente, named character, male, age 36, x 102, y 150
    traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1 , TurnsAlive 1 , PresentAtGameStart 1 , Graduate 1 , Sane 1 , Path_Career_Chosen 1 , NaturalMilitarySkill 2 , Intelligent 2 , Handsome 2 , FormerCivilianEducation 1 , Path_Governor 1 , Loyal 1 , MathematicsSkill 1 , Sobriety 1 , Stoic 2 , Upright 1 , Prim 1 , GoodAdministrator 1 , GoodTaxman 1 , Just 1 , GoodDefender 1 , GoodSiegeDefender 1 , GoodRiskyDefender 1
    army
    unit SE Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Spear Militia exp 0 armour 0 weapon_lvl 0
    unit Peasant Crossbowmen exp 0 armour 0 weapon_lvl 0
    unit Peasant Crossbowmen exp 0 armour 0 weapon_lvl 0

    character Mendo, admiral, male, age 27, x 91, y 153
    army
    unit cog exp 0 armour 0 weapon_lvl 0
    unit cog exp 0 armour 0 weapon_lvl 0

    character Manuel, priest, male, age 28, x 98, y 153
    traits PriestCatholicDoctrine 1 , NaturalPriestSkill 2 , GoodDenouncer 1 , PriestLevel 1, CharacterAges 1, PriestTurnsAlive 1

    character Teresa Henriques, princess, female, age 23, x 100, y 148
    traits IAmPrincess 1 , NaturalPrincess 1 , GoodPrincess 1, HumbleWoman 1 , EducatedWoman 2 , FertileWoman 3 , CharacterAges 1, PrincessTurnsAlive 1

    character Urraca Henriques, princess, female, age 26, x 103, y 181
    traits IAmPrincess 1 , NaturalPrincess 2 , GoodPrincess 1, EducatedWoman 2 , CharacterAges 1, PrincessTurnsAlive 1
    ancillaries royal_escort

    character_record Mafalda de_Saboia, female, age 33, dead, 22, never_a_leader

    relative Afonso Henriques, Mafalda de_Saboia, Urraca Henriques, Sancho Henriques, Teresa Henriques, end

    Usally I'm pretty good at finding the error in the strat but this is beyond me... usally the error is because I gave one of the children the same name as the leader. As you can see, that's not the case... and besides he's 71 but the log says he's 26. The only one that is 26 is his son, Sancho... about as far as you can get from Afonso... I guess they both end in "o"?

  2. #2

    Default Re: Strat problem

    And fixed. Problem was in the wifes character _record. I put a "," between dead and 22. Why it would show up in the log the way it did I will never know. But now I know that that error can mean that problem aswell.

  3. #3
    Harry Lime's Avatar Not a ToS violation
    Artifex Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Kent, England
    Posts
    15,771

    Default Re: Strat problem

    Yes, family trees are tricky. One mistake & *bang* the file fails. Even getting the spacing wrong can lead to TMA (terminal modification angst) .
    Proud Patron of derdrakken, dave scarface, J@mes & irishron
    Indulging in the insight & intelligence of imb39

Posting Permissions

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