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

Thread: Family Issues

Hybrid View

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

    Default Family Issues

    11:34:10.484 [script.err] [error] Script Error in eor/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 165, column 45
    trying to make lesser character named character the faction leader. Only named characters please.
    11:34:10.484 [script.err] [error] Script Error in eor/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 165, column 74
    Unable to create the character named character. (Is the gender correct?)

    Error in Log

    The code i inserted

    Code:
    character    Utigur, named character, male, leader, age 67, x 50, y 129 
    traits Intelligent 1 , NaturalMilitarySkill 1 , GoodCommander 1 , LoyaltyStarter 1 , Factionleader 1 
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    
    character    Kutrigur, named character, male, age 66, x 51, y 129 
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    
    character    Grod, named character, male, heir, age 35, x 52, y 129 
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    
    character    Mugel, named character, male, age 34, x 53, y 129 
    army
    unit        NE Bodyguard                exp 1 armour 0 weapon_lvl 0
    
    ; Ernach's family
    character_record        Ernach,    male, age 96, dead 11, never_a_leader
    character_record        Agafia,    female, age 85, alive, never_a_leader
    
    ; Utigur's wife
    character_record        Botokhui,    female, age 64, alive, never_a_leader
    
    ; Kutrigur's wife
    character_record        Orbei,     female, age 60, alive, never_a_leader
    
    ; Grod's wife & child
    character_record        Mandughai,    female, age 31, alive, never_a_leader
    character_record        Bulger,    male, age 14, alive, never_a_leader
    
    ; Mugel's wife & child
    character_record        Ibakha,    female, age 36, alive, never_a_leader
    character_record        Drong,    male, age 13, alive, never_a_leader
    
    relative    Mugel,    Ibakha,    Drong,    end
    relative    Grod,    Mandughai,    Bulger,    end
    relative    Kutrigur,    Orbei,    Mugel,    end
    relative    Utigur,    Botokhui,    Grod,    end
    relative     Ernach,    Agafia,    Utigur,    Kutrigur,    end

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

    Default Re: Family Issues

    From a first glance the code looks ok. Is Utigur a valid male name for this faction?

    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

  3. #3

    Default Re: Family Issues

    I think so I will check

  4. #4

    Default Re: Family Issues

    ... strange that you get that error

    It worked/tested fine in game when I built the tree - does the game not load at all for you?

    ...history abhors a paradox

    -------------


  5. #5

    Default Re: Family Issues

    no at campaign it turns back

  6. #6

    Default Re: Family Issues

    any ideas?

  7. #7
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Family Issues

    If it's working for other people in the mod team, I'd suggest WinMerge comparing the relevant files.

  8. #8
    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 Issues

    WinMerge? Any advantage over Notepad++?










  9. #9
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Family Issues

    Quote Originally Posted by gigantus View Post
    WinMerge? Any advantage over Notepad++?
    The former is file comparison software whilst the latter is text editing software. WinMerge is useful for merging and comparing files if you work on a team, especially a team with a build manager that doesn't have the money to host a dedicated SVN server for file commits(which I'd venture most don't). You can also compare folders and filter the results to see which files are present or missing from either side, and which files have different binary values. There's also ways to generate a 'patch file' which someone who knows how to use it could apply to their files, which seems to work like binary logging in that it appends the changes rather than replacing the files, but I've never actually tried that function myself.

    I'd suggest that the problem be resolved by going to a stable backup and re-typing it if possible. I once had an issue in my campaign script that confounded the imagination, spent 4 days debugging 5 lines of code which many attested were perfectly sound(and ironically, when unsound code was replaced it worked). I deleted it, went to backup, and started scripting something else instead and haven't had any issues since.

  10. #10

    Default Re: Family Issues

    well the raziel_eire had the EXACT same with a age difference which shouldnt make a difference at all. Would incorrect co ordinates cause a problem?(It shouldnt ive had armies on land before)

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

    Default Re: Family Issues

    Which exactly is line 165?

    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

    Default Re: Family Issues

    the error message doesn't indicate a co-ord issue, but I'd check them anyways - did you get them from show_cursorstat?

    the age difference may play a part in it depending on what the max/min values are stored in xml file I talked about in the PM, if you could source it, we could at least rule that out too

    ...history abhors a paradox

    -------------


  13. #13

    Default Re: Family Issues

    ok will check out the file tommorow, i didnt do by show_cursorsat, i got some random point of land and just plotted them right of that(in a line)

  14. #14

    Default Re: Family Issues

    I got same error once I just use old file and code it again and error never appeard

    The more sand has escaped from the hourglass of our life, the clearer we should see through it.
    Niccolo Machiavelli

  15. #15
    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 Issues

    Thanks for the info. I was using notepad++ with the compare add on for individual files. That gives me the exact differences between files.. Will keep winmerge in mind when it comes to bulk comparison.










  16. #16
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Family Issues

    Nakharar this is likely your problem:
    Code:
    relative    Mugel,    Ibakha,    Drong,    end
    relative    Grod,    Mandughai,    Bulger,    end
    relative    Kutrigur,    Orbei,    Mugel,    end
    relative    Utigur,    Botokhui,    Grod,    end
    relative     Ernach,    Agafia,    Utigur,    Kutrigur,    end
    I'm fairly certain the game reads the very first name on the first relative line as the faction leader. So it thinks Mugel is trying to be the faction leader. Try re-arranging it so that Utigur's relative line is at the top.

  17. #17

    Default Re: Family Issues

    Quote Originally Posted by Augustus Lucifer View Post
    Nakharar this is likely your problem:
    Code:
    relative    Mugel,    Ibakha,    Drong,    end
    relative    Grod,    Mandughai,    Bulger,    end
    relative    Kutrigur,    Orbei,    Mugel,    end
    relative    Utigur,    Botokhui,    Grod,    end
    relative     Ernach,    Agafia,    Utigur,    Kutrigur,    end
    I'm fairly certain the game reads the very first name on the first relative line as the faction leader. So it thinks Mugel is trying to be the faction leader. Try re-arranging it so that Utigur's relative line is at the top.
    I wasn't aware of this Augustus - if this is the case, should the same error not occur for all instances of the family tree? (I originally built this tree and it continues to work in-game for me)

    I know for each family tree that I've built in my own mod work, that I structure the relative code as per the above, with the oldest family relationship always at the bottom... why? I found it was the only way to overcome a problem with one of my first family tree builds.

    @Nak... I built this tree using a modified descr_campaign_db.xml file (its stored in the data folder if you have this unpacked). As I'm sure you're suing a different version then me with different age parameters then it would be beneficial if you could show us what is contained in your version of the file (the <family_tree> section specifically)

    ...history abhors a paradox

    -------------


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

    Default Re: Family Issues

    Quote Originally Posted by Augustus Lucifer View Post
    I'm fairly certain the game reads the very first name on the first relative line as the faction leader. So it thinks Mugel is trying to be the faction leader. Try re-arranging it so that Utigur's relative line is at the top.
    I am pretty certain that the relative line doesn't make a difference. I have set up many family trees where the FL is not the first named living character in this list and they all work fine.

    @ Nakharar

    Try giving Utigur a second name. May be there is another character with that name in descr_start whom the engine is confusing with this Utigur.

    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

  19. #19

    Default Re: Family Issues

    ah thanks will try

  20. #20

    Default Re: Family Issues

    yea AUs suggestion didnt work i try give him a surname

    Spoiler Alert, click show to read: 


    Code:
    <?xml version="1.0"?>
    <root>
       <recruitment>
          <recruitment_slots uint="1"/>
          <retraining_slots uint="1"/>
          <deplenish_pools_with_caps bool="false"/>
          <clear_pools_with_caps bool="false"/>
          <add_initial_with_caps bool="true"/>
          <add_disband_no_caps bool="true"/>
          <force_clamp_to_max bool="false"/>
          <deplenish_multiplier float="0.9"/>
          <deplenish_offset float="-0.2"/>
          <percentage_pool_reduction_lost uint="10"/>
          <percentage_pool_reduction_occupy uint="20"/>
          <percentage_pool_reduction_sack uint="45"/>
          <percentage_pool_reduction_exterminate uint="100"/>
          <max_agents_per_turn uint="1"/>
       </recruitment>
       <religion>
          <max_witches_per_region uint="1"/>
          <max_witches uint="20"/>
          <max_heretics_per_region uint="1"/>
          <max_heretics uint="80"/>
          <max_heretics_conversion_modifier float="1.0"/>
          <max_inquisitors_per_region uint="1"/>
          <max_inquisitors uint="40"/>
          <heretic_conversion_rate_modifier float="0.0075"/>
          <heretic_conversion_rate_offset float="0.025"/>
          <witch_conversion_rate_modifier float="0.0"/>
          <witch_conversion_rate_offset float="0.02"/>
          <inquisitor_conversion_rate_modifier float="0.010"/>
          <inquisitor_conversion_rate_offset float="0.04"/>
          <priest_conversion_rate_modifier float="0.004"/>
          <priest_conversion_rate_offset float="0.015"/>
          <witch_creation_modifier float="1.0"/>
          <heretic_creation_modifier float="0.4"/>
          <inquisitor_creation_modifier float="0.3"/>
          <min_cardinal_piety uint="5"/>
          <convert_to_heretic_base_modifier float="10.0"/>
          <convert_to_heretic_unorthodox_modifier float="0.7"/>
          <inquisitor_turn_start uint="20"/>
          <inquisitor_target_crusades bool="false"/>
       </religion>
       <bribery>
          <bribe_to_family_tree bool="false"/>
          <base_character_chance float="0.4"/>
          <religion_modifier float="0.66"/>
          <combined_attribute_modifier float="0.2"/>
          <briber_attribute_divisor float="3.0"/>
          <bribee_attribute_divisor float="3.0"/>
          <army_size_modifier float="0.035"/>
          <base_settlement_chance float="0.8"/>
          <settlement_loyalty_modifier float="0.01"/>
          <settlement_population_modifier float="0.0001"/>
          <faction_standing_divisor float="10.0"/>
          <max_bribe_chance float="100.0"/>
          <min_bribe_chance float="1.0"/>
          <bribe_chance_modifier float="1.0"/>
       </bribery>
       <family_tree>
          <max_age uint="90"/>
          <max_age_for_marriage_for_male uint="75"/>
          <max_age_for_marriage_for_female uint="40"/>
          <max_age_before_death uint="105"/>
          <max_age_of_child uint="10"/>
          <old_age uint="60"/>
          <age_of_manhood uint="16"/>
          <daughters_age_of_consent uint="16"/>
          <daughters_retirement_age uint="40"/>
          <age_difference_min int="-10"/>
          <age_difference_max int="30"/>
          <parent_to_child_min_age_diff uint="12"/>
          <min_adoption_age uint="20"/>
          <max_adoption_age uint="30"/>
          <max_age_for_conception uint="50"/>
          <age_of_manhood_close uint="14"/>
          <max_number_of_children uint="4"/>
       </family_tree>
       <diplomacy>
          <max_diplomacy_items uint="8"/>
          <enemies_reject_gifts bool="false"/>
          <use_balance_owed bool="false"/>
       </diplomacy>
       <missions>
          <null_mission_score float="25.0"/>
       </missions>
       <display>
          <character_selection_radius float="0.3"/>
          <character_selection_height float="1.3"/>
          <character_selection_height_crouching float="1.0"/>
          <diplomacy_scroll_height uint="768"/>
          <recruitment_sort_simple bool="false"/>
          <faction_standing_min float="-1.0"/>
          <faction_standing_max float="1.0"/>
          <use_orig_rebel_faction_models bool="true"/>
          <keep_original_heretic_portraits bool=false/>
          <alt_sett_order_colours bool=false/>
       </display>
       <ransom>
          <captor_release_chance_base float="50.0"/>
          <captor_release_chance_chiv_mod float="12.0"/>
          <captor_ransom_chance_base float="60.0"/>
          <captor_ransom_chance_chiv_mod float="-5.0"/>
          <captor_ransom_chance_tm_mod float="10.0"/>
          <captive_ransom_chance_base float="40.0"/>
          <captive_ransom_chance_chiv_mod float="6.67"/>
          <captive_ransom_chance_tm_mod float="-10.0"/>
          <captive_ransom_chance_msm_mod float="10.0"/>
          <captive_ransom_for_slave bool="false"/>
       </ransom>
       <autoresolve>
          <min_capture_percent float="5.0"/>
          <max_capture_percent float="30.0"/>
          <lopsided_thresh float="1.5"/>
          <lopsided_hn_mod float="3.0"/>
          <separation_missile_add uint="1"/>
          <naval_sink_modifier float="1.5"/>
          <naval_sink_offset float="15.0"/>
          <naval_sink_max float="80.0"/>
       </autoresolve>
       <settlement>
          <sack_money_modifier float="0.4"/>
          <exterminate_money_modifier float="0.5"/>
          <chiv_spf_modifier float="1.0"/>
          <chiv_sof_modifier float="1.0"/>
          <dread_sof_modifier float="-1.0"/>
          <piety_cor_sif_modifier float="1.0"/>
          <piety_admin_sif_modifier float="1.0"/>
          <port_to_port_mp_min float="100.0"/>
          <heresy_unrest_modifier float="30.0"/>
          <religion_unrest_modifier float="20.0"/>
          <siege_gear_required_for_city_level string="huge_city"/>
          <siege_gear_required_for_castle_level string="moot_and_bailey"/>
          <no_towers_only_for_city_level string="huge_city"/>
          <no_towers_only_for_castle_level string="moot_and_bailey"/>
          <min_turn_keep_rebel_garrison int="999"/>
       </settlement>
       <revolt>
          <end_turn_modifier float="2"/>
          <excommunicated_modifier float="15"/>
          <new_leader_modifier float="10"/>
          <max_effective_loyalty float="7.0"/>
          <rebel_region_modifier float="2.0"/>
          <shadow_region_modifier float="2.0"/>
          <rebel_border_modifier float="1.1"/>
          <shadow_border_modifier float="1.1"/>
          <num_units_modifier float="1.05"/>
          <captain_modifier float="0.4"/>
          <min_revolt_chance float="0.0"/>
          <max_revolt_chance float="80.0"/>
          <ai_revolt_modifier float="0.25"/>
          <revolt_additional_armies bool="false"/>
          <revolt_crusading_armies bool="false"/>
       </revolt>
       <characters>
          <agents_can_hide bool="false"/>
       </characters>
       <hordes>
          <end_target_faction_bonus int="-300"/>
          <start_target_faction_bonus int="-500"/>
          <farming_level_bonus int="50"/>
          <shared_target_bonus int="-1000"/>
          <disbanding_horde_bonus int="-500"/>
          <starting_region_bonus int="-700"/>
          <horde_target_resource_bonus int="1000"/>
       </hordes>
       <merchants>
          <base_income_modifier float="0.7"/>
          <trade_bonus_offset float="10.0"/>
       </merchants>
       <agents>
          <denounce_inquisitor_base_chance float="35.0"/>
          <denounce_priest_base_chance float="33.0"/>
          <denounce_attack_modifier float="1.0"/>
          <denounce_defence_modifier float="1.0"/>
          <denounce_chance_min int="5"/>
          <denounce_chance_max int="95"/>
          <denounce_heretic_attemp_modifier float="1.5"/>
          <denounce_character_attemp_modifier float="0.5"/>
          <assassinate_base_chance float="33"/>
          <assassinate_attack_modifier float="0.8"/>
          <assassinate_defence_modifier float="0.8"/>
          <assassinate_public_modifier float="0.25"/>
          <assassinate_personal_modifier float="0.25"/>
          <assassinate_counter_spy_modifier float="1.0"/>
          <assassinate_agent_modifier float="1.24"/>
          <assassinate_own_region_modifier float="0.75"/>
          <assassinate_assassinate_attr_modifier float="0.18"/>
          <assassinate_chance_min int="5"/>
          <assassinate_chance_max int="95"/>
          <acquisition_base_chance float="40.0"/>
          <acquisition_level_modifier float="5.0"/>
          <acquisition_attack_trade_rights_modifier float="1.3"/>
          <acquisition_defence_trade_rights_modifier float="0.7"/>
          <acquisition_chance_min int="5"/>
          <acquisition_chance_max int="95"/>
          <inquisitor_crt_heresy_divisor float="1.0"/>
          <inquisitor_crt_pfp_modifier float="0.5"/>
          <inquisitor_crt_pfp_modifier_min float="0.0"/>
          <inquisitor_crt_pfp_modifier_max float="1.0"/>
          <inquisitor_crt_chance_min float="0.0"/>
          <inquisitor_crt_chance_max float="0.1"/>
          <inquisitor_target_leaders bool="false"/>
          <inquisitor_target_heirs bool="false"/>
       </agents>
       <crusades>
          <required_jihad_piety int="4"/>
          <max_disband_progress float="20.0"/>
          <near_target_no_disband_distance float="4.0"/>
          <disband_progress_window float="3"/>
          <crusade_called_start_turn float="20"/>
          <jihad_called_start_turn float="20"/>
          <movement_points_modifier float="2.0"/>
       </crusades>
    </root>


    my descr_campaign_DB from vanilla(unmodified)

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
  •