Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 41

Thread: Odd CTD in campaign and i do not know the cause or how to solve it?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,303

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Razor posted this in PM regarding this crash:

    "Ok, I may have fixed the issue I was having. After 3 tests I can now easily get to 200 turns without a crash happening. I found that out by coincidence during a testing for something else and the game constantly crashed when I took the last settlement of one specific faction. I then tried to eliminate the faction using the surrender_regions command. Still a crash. Then I tried the command on all factions on the map and everything worked fine and all factions turned rebel, which got me thinking. For some reason I went to look the descr_sm_factions.txt and found that the faction causing the crash was being shadowed by another faction that was present on the map. I tested the same for other factions on the map that were being shadowed by another faction and I got a hit: all caused a crash. Then I tried eliminating the shadowing factions first and then the shadowed factions and everything went smooth.

    So in short: the culprit in my case seems to have been related to the use of shadow factions as defined in descr_sm_factions.txt. The shadow factions spawn correctly when they rebel from their parent faction, but whenever the parent faction get annihilated by another faction while the shadow faction is still alive the game crashes. "

    I have very little knowledge about shadowing factions, and shadow factions? What does this even mean? I know there was something like that connected to the Baron-feature of Med2?

    The Hyrule descr_SM_factions would look like this:

    Code:
    
    
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						hylian
    culture						northern_european
    religion					catholic
    symbol						models_strat/symbol_venice.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 122, green 0, blue 183
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_england.tga
    standard_index					0
    logo_index					FACTION_LOGO_VENICE
    small_logo_index				SMALL_FACTION_LOGO_VENICE
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						gerudo
    culture						darknutish
    religion					catholic
    symbol						models_strat/symbol_sicily.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 148, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_twili.tga
    standard_index					1
    logo_index					FACTION_LOGO_SICILY
    small_logo_index				SMALL_FACTION_LOGO_SICILY
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						goron
    culture						barbari_european
    religion					orthodox
    symbol						models_strat/symbol_milan.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 0, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_spain.tga
    standard_index					2
    logo_index					FACTION_LOGO_MILAN
    small_logo_index				SMALL_FACTION_LOGO_MILAN
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						zora
    culture						northern_european
    religion					orthodox
    symbol						models_strat/symbol_papacy.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 0, green 0, blue 255
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_venice.tga
    standard_index					3
    logo_index					FACTION_LOGO_PAPAL_STATES
    small_logo_index				SMALL_FACTION_LOGO_PAPAL_STATES
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						kokiri
    culture						southern_european
    religion					orthodox
    symbol						models_strat/symbol_denmark.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 25, green 255, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_sicily.tga
    standard_index					4
    logo_index					FACTION_LOGO_BYZANTIUM
    small_logo_index				SMALL_FACTION_LOGO_BYZANTIUM
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						gohma
    culture						middle_eastern
    religion					islam
    symbol						models_strat/symbol_egypt.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 200, green 255, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_milan.tga
    standard_index					5
    logo_index					FACTION_LOGO_ENGLAND
    small_logo_index				SMALL_FACTION_LOGO_ENGLAND
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						ordona
    culture						northern_european
    religion					catholic
    symbol						models_strat/symbol_scotland.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 187, green 176, blue 127
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_england.tga
    standard_index					6
    logo_index					FACTION_LOGO_PORTUGAL
    small_logo_index				SMALL_FACTION_LOGO_PORTUGAL
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						lanayru
    culture						northern_european
    religion					lesser
    symbol						models_strat/symbol_poland.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 0, green 87, blue 177
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_france.tga
    standard_index					7
    logo_index					FACTION_LOGO_AZTEC
    small_logo_index				SMALL_FACTION_LOGO_AZTEC
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						deku
    culture						southern_european
    religion					lesser
    symbol						models_strat/symbol_ZOLA.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 50, green 80, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_denmark.tga
    standard_index					8
    logo_index					FACTION_LOGO_FRANCE
    small_logo_index				SMALL_FACTION_LOGO_FRANCE
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						moblin
    culture						barbari_european
    religion					lesser
    symbol						models_strat/symbol_france.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 131, green 89, blue 61
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_venice.tga
    standard_index					9
    logo_index					FACTION_LOGO_DENMARK
    small_logo_index				SMALL_FACTION_LOGO_DENMARK
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						darknut
    culture						darknutish
    religion					idols
    symbol						models_strat/symbol_turks.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 198, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_milan.tga
    standard_index					10
    logo_index					FACTION_LOGO_RUSSIA
    small_logo_index				SMALL_FACTION_LOGO_RUSSIA
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						lizalfos
    culture						barbari_european
    religion					pantheon
    symbol						models_strat/symbol_holy_roman_empire.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 137, green 137, blue 137
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_egypt.tga
    standard_index					11
    logo_index					FACTION_LOGO_MOORS
    small_logo_index				SMALL_FACTION_LOGO_MOORS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						labrynna
    culture						northern_european
    religion					pagan
    symbol						models_strat/symbol_byzantium.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 86, green 77, blue 167
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_byzantium.tga
    standard_index					12
    logo_index					FACTION_LOGO_SCOTLAND
    small_logo_index				SMALL_FACTION_LOGO_SCOTLAND
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						fairy
    culture						southern_european
    religion					nature
    symbol						models_strat/symbol_aztecs.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 0, blue 255
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_aztecs.tga
    standard_index					13
    logo_index					FACTION_LOGO_MONGOLS
    small_logo_index				SMALL_FACTION_LOGO_MONGOLS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						stalfos
    culture						vreek
    religion					pagan
    symbol						models_strat/symbol_spain.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 0, green 0, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_spain.tga
    standard_index					14
    logo_index					FACTION_LOGO_SPAIN
    small_logo_index				SMALL_FACTION_LOGO_SPAIN
    triumph_value					5
    custom_battle_availability			yes
    horde_min_units					10
    horde_max_units					20
    horde_max_units_reduction_every_horde		10
    horde_unit_per_settlement_population		250
    horde_min_named_characters			2
    horde_max_percent_army_stack			80
    horde_disband_percent_on_settlement_capture	0
    horde_unit					Stalfos Eurdi
    horde_unit					Stalfos Gerudo
    horde_unit					Stalfos Zarko
    horde_unit					Stalkin
    horde_unit					Stalhounds
    horde_unit					Parutamu
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						sheikah
    culture						vreek
    religion					catholic
    symbol						models_strat/symbol_timurids.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 70, green 0, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_sicily.tga
    standard_index					15
    logo_index					FACTION_LOGO_HOLY_ROMAN_EMPIRE
    small_logo_index				SMALL_FACTION_LOGO_HRE
    triumph_value					5
    custom_battle_availability			yes
    horde_min_units					2
    horde_max_units					4
    horde_max_units_reduction_every_horde		1
    horde_unit_per_settlement_population		250
    horde_min_named_characters			1
    horde_max_percent_army_stack			80
    horde_disband_percent_on_settlement_capture	0
    horde_unit					Sheikah Spies
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						ikana
    culture						vreek
    religion					heretic
    symbol						models_strat/symbol_hungary.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 200, green 190, blue 150
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_ikana.tga
    standard_index					16
    logo_index					FACTION_LOGO_EGYPT
    small_logo_index				SMALL_FACTION_LOGO_EGYPT
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				yes
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						twili
    culture						mesoamerican
    religion					heretic
    symbol						models_strat/symbol_moors.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 0, green 255, blue 180
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_twili.tga
    standard_index					17
    logo_index					FACTION_LOGO_TURKS
    small_logo_index				SMALL_FACTION_LOGO_TURKS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						zanti
    culture						mesoamerican
    religion					heretic
    symbol						models_strat/symbol_moors.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 75, blue 75
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_twili.tga
    standard_index					17
    logo_index					FACTION_LOGO_TURKS
    small_logo_index				SMALL_FACTION_LOGO_TURKS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						wizzrobe
    culture						northern_european
    religion					wizzrobe_inf
    symbol						models_strat/symbol_saxons.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 255, blue 255
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_moors.tga
    standard_index					18
    logo_index					FACTION_LOGO_TIMURID
    small_logo_index				SMALL_FACTION_LOGO_TIMURID
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						zola, spawned_on_event
    culture						barbari_european
    religion					lesser
    symbol						models_strat/symbol_dacia.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 110, green 240, blue 210
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_ZOLA.tga
    standard_index					21
    logo_index					FACTION_LOGO_ZOLA
    small_logo_index				SMALL_FACTION_LOGO_ZOLA
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						zuna
    culture						darknutish
    religion					idols
    symbol						models_strat/symbol_armenia.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 170, green 130, blue 85
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_hre.tga
    standard_index					23
    logo_index					FACTION_LOGO_ZUNA
    small_logo_index				SMALL_FACTION_LOGO_ZUNA
    triumph_value					5
    custom_battle_availability			no
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						subrosian
    culture						barbari_european
    religion					idols
    symbol						models_strat/symbol_brutii.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 255, green 255, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_scotland.tga
    standard_index					24
    logo_index					FACTION_LOGO_SUBROSIAN
    small_logo_index				SMALL_FACTION_LOGO_SUBROSIAN
    triumph_value					5
    custom_battle_availability			no
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						tokay
    culture						barbari_european
    religion					idols
    symbol						models_strat/symbol_barb_rebel.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 150, green 255, blue 100
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_poland.tga
    standard_index					25
    logo_index					FACTION_LOGO_TOKAY
    small_logo_index				SMALL_FACTION_LOGO_TOKAY
    triumph_value					5
    custom_battle_availability			no
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						huskus
    culture						southern_european
    religion					catholic
    symbol						models_strat/symbol_numidia.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 100, green 100, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_hungary.tga
    standard_index					26
    logo_index					FACTION_LOGO_HUSKUS
    small_logo_index				SMALL_FACTION_LOGO_HUSKUS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						horon
    culture						southern_european
    religion					nature
    symbol						models_strat/symbol_seleucid.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 230, green 230, blue 230
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_timurids.tga
    standard_index					27
    logo_index					FACTION_LOGO_HORON
    small_logo_index				SMALL_FACTION_LOGO_HORON
    triumph_value					5
    custom_battle_availability			no
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						papal_states
    culture						northern_european
    religion					catholic
    special_faction_type				papal_faction
    symbol						models_strat/symbol_papacy.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 160, green 243, blue 255
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_papal_states.tga
    standard_index					19
    logo_index					FACTION_LOGO_HUNGARY
    small_logo_index				SMALL_FACTION_LOGO_PAPAL_OOCCA
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						majora
    culture						mesoamerican
    religion					heretic
    symbol						models_strat/symbol_majora.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 80, green 65, blue 125
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_majora.tga
    standard_index					20
    logo_index					FACTION_LOGO_POLAND
    small_logo_index				SMALL_FACTION_LOGO_MAJORA
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						saxons
    culture						southern_european
    religion					pagan
    special_faction_type				slave_faction
    symbol						models_strat/symbol_rebels.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 100, green 100, blue 100
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_hre.tga
    standard_index					20
    logo_index					FACTION_LOGO_SAXONS
    small_logo_index				SMALL_FACTION_LOGO_SAXONS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						herooftime
    culture						northern_european
    religion					catholic
    symbol						models_strat/symbol_saxons.cas
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 0, green 0, blue 0
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_hre.tga
    standard_index					21
    logo_index					FACTION_LOGO_SAXONS
    small_logo_index				SMALL_FACTION_LOGO_SAXONS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						no
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    
    faction						slave
    culture						northern_european
    religion					pagan
    special_faction_type				slave_faction
    symbol						models_strat/symbol_rebels.CAS
    rebel_symbol					models_strat/symbol_rebels.CAS
    primary_colour					red 100, green 100, blue 100
    secondary_colour				red 110, green 110, blue 110
    loading_logo					loading_screen/symbols/symbol128_slaves.tga
    standard_index					28
    logo_index					FACTION_LOGO_REBELS
    small_logo_index				SMALL_FACTION_LOGO_REBELS
    triumph_value					5
    custom_battle_availability			yes
    can_sap						yes
    prefers_naval_invasions				no
    can_have_princess				no
    has_family_tree					no
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


    Any ideas?
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  2. #2

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    If you don't use the 'shadowed_by' or 'shadowing' code (which is apparently bugged) that is not the cause of your crash. I never used that code and this is the first I have heard of it. I did a google search for it and did not find anyone that actually tested to see if it works, just people talking about it.

    Do you have any regions that have 'slave' as the owner in descr_regions.txt? This does not work, I don't recall if it causes a CTD in game or while starting it up since I have been using another faction to fill this role to avoid that for a long time, but the game does not allow it.

    Do all the regions religion points add up to 100 in that file? This will cause a crash if that region gets attacked, or upgrades, or something to where the game checks it.

    Are any character names missing? As in is it blank where their name should be in game? This will cause a CTD.

    Do you have characters that come of age around the time the turn it crashes? If so it is a trait bug.

    My guess so far is a regions bug and a trait bug, which could cause the 'Uh oh' to show I assume. I have had all these bugs but only one at a time. It could be a typo somewhere, I had notepad++ glitch out on me before and add in some weird text I wouldn't even know how to type when using undo/redo. Luckily I saw it happen, and it kept happening until I restarted my PC.
    Last edited by alreadyded; February 24, 2019 at 03:44 AM.

  3. #3
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,303

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Quote Originally Posted by alreadyded View Post
    Do you have any regions that have 'slave' as the owner in descr_regions.txt? This does not work, I don't recall if it causes a CTD in game or while starting it up since I have been using another faction to fill this role to avoid that for a long time, but the game does not allow it.
    There is one faction called "Wild Life" that has the "slave_faction" attribute in the descr_SM_factions - it is also the only faction causing crashes often if attempting to play as them in real-time or fighting them in real time as any other faction. They are not the slave-faction - but they are the second out of two factions using that slave_faction attribute.

    As they are animals Neph probably wanted to give them their own separate faction slot. But the crashing mostly happens when the Stalfos are involved, or when someone is attacking the Lanayru faction.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

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

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Just out of curiosity, does the faction zola, which is set at spawned_on_event, have an entry in descr_win_conditions.txt? In the vanilla files factions that emerge later on don't have an entry in descr_win_conditions.txt. It probably won't fix anything, but I think it won't hurt deleting the entry in case you have one either.

  5. #5

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Oh I never used Bare Geomod, I had the luxury of just building off of TATW.

    I resolved the leader and heir dying at the same time with a simple script that spawns a random general for each faction, I cannot recall the conditions I used. I also have all factions setup to go horde with enough units to spawn two armies so they get two generals. Even so I still got the 'TC_BATTLE_ENGAGEMENT' thing in the log after that, but my log didn't show trait triggers firing right before. So it could be the combo of traits and something with regions. The error in this thread was very rare and non-repeatable for me, I didn't even think it was a bug for a long time, just a hiccup in the game from playing 250 turns without restarting the game or loading a save. The only way I was able to narrow it down was because there were no other bugs.

    Perhaps two or more regions are using colors that are too similar in the regions file, or there are some pixels of a blue color that doesn't work in the ocean if it is a naval battle crash? I had these bugs in the past as well.

    If certain traits have too many affects listed for even just one it can cause a crash when that trait is checked, this bug was not showing anything in the log, I had to get help around here narrowing it down. So traits is something I would guess because of that, they don't always show something in the log.

    I think if all the regions aren't listed in all the files, then it causes a random non-repeatable crash, so it could be that. I had one missing in a sound file because another one was listed twice.

    The cause seems to be things getting checked and one or more errors being found, and I can only imagine regions and traits being the things getting checked. But it could just be a simple typo in descr_strat causing all this, you can try removing all the code except for the first two factions and see if it works, this is how I go about finding errors in descr_strat. One typo can cause all the code that follows to randomly cause a non-repeatable crash.

    A long while back I had a bug that showed traits being checked in the log right before it crashed and it had to do with regions if I recall. Possibly even the win_conditions not have all regions listed but I don't think so, I didn't set this up until I used it for the CAI to prioritize certain things. I think it was a sound file missing a region or two. If a faction doesn't have an entry at all I would imagine the game wouldn't even start.

    You can also try removing all the transgression code from descr_faction_standing.txt to see if the log shows something more specific.
    Last edited by alreadyded; February 24, 2019 at 02:04 PM.

  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: Odd CTD in campaign and i do not know the cause or how to solve it?

    That's the discussion, thanks for the link.

    As to win conditions for spawned\shadowing factions - my memory might be hazy but I do seem to remember that the Mongols always won the game when they spawned because there was no win condition for them. At least that was one of my earliest corrections in Bare Geomod.
    Rather set impossible conditions like the slave faction has.










  7. #7
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    Having two factions with a supposedly unique AI and special function setting will be the reason for the crashes. There is really no compelling reason to have a second rebel\slave faction.
    Remove the special faction setting in descr_sm_factions and give them the heretic religion so they don't cause havoc with other religion's events (lizards voting for the next pope, hamsters on jihad - would be kinda weird). You don't have to worry about witches or heretics spawned by them - that's based on the special function of the slave faction, not the religion. The culture is fairly irrelevant to game play (apart from the odd trait and the settlement strat models used) so the choice is yours.
    Last edited by Gigantus; February 25, 2019 at 07:24 AM.










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

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Quote Originally Posted by Gigantus View Post
    That's the discussion, thanks for the link.

    As to win conditions for spawned\shadowing factions - my memory might be hazy but I do seem to remember that the Mongols always won the game when they spawned because there was no win condition for them. At least that was one of my earliest corrections in Bare Geomod.
    Rather set impossible conditions like the slave faction has.
    But does the crash happen when both your faction leader and faction heir die simultaneously or when the last settlement gets captured and the faction leader dies while the faction heir - that's to be new faction leader - is out camping somewhere else? I've heard about first one, but the second one is being discussed in the link.

    Quote Originally Posted by Gigantus View Post
    Having two factions with a supposedly unique AI and special function setting will be the reason for the crashes. There is really no compelling reason to have a second rebel\slave faction.
    Remove the special faction setting in descr_sm_factions and give them the heretic religion so they don't cause havoc with other religion's events (lizards voting for the next pope, hamsters on jihad - would be kinda weird). You don't have to worry about witches or heretics spawned by them - that's based on the special function of the slave faction, not the religion. The culture is fairly irrelevant to game play (apart from the odd trait and the settlement strat models used) so the choice is yours.
    I'm not sure how the game would handle two rebel/slave factions. To which of the two will a settlement revolt to when they rebel? Also, does it matter and get ignored or will it make the game crash? I'm full with question marks on this one.
    Also, lizards choosing the pope and hamsters on jihad is quite the metaphor...

  9. #9
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    Quote Originally Posted by Razor View Post
    But does the crash happen when both your faction leader and faction heir die simultaneously or when the last settlement gets captured and the faction leader dies while the faction heir - that's to be new faction leader - is out camping somewhere else? I've heard about first one, but the second one is being discussed in the link.
    I think essentially it doesn't matter - losing the faction leader triggers the BecomesFactionLeader event if another family member exists. Which occasionally causes havoc if a faction gets wiped out, regardless if the heir is involved in the same battle that killed the faction leader in the last settlement or is just gallivanting around. There will however be a longer time delay in the latter occasion between processing characters I guess, eg 'game over' might trigger before the the trait event gets tested.
    Battles were the last two (males of age) family members get killed are the most prone situations.

    Most mods I have been working with lately have changed the triggers to use the IsFactionLeader condition with the CharacterTurnEnd event, some may need a trait level check to prevent undue increase in multi level traits.
    Last edited by Gigantus; February 26, 2019 at 06:20 AM.










  10. #10
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,303

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Quote Originally Posted by Razor View Post
    But does the crash happen when both your faction leader and faction heir die simultaneously or when the last settlement gets captured and the faction leader dies while the faction heir - that's to be new faction leader - is out camping somewhere else? I've heard about first one, but the second one is being discussed in the link.

    I'm not sure how the game would handle two rebel/slave factions. To which of the two will a settlement revolt to when they rebel? Also, does it matter and get ignored or will it make the game crash? I'm full with question marks on this one.
    Also, lizards choosing the pope and hamsters on jihad is quite the metaphor...
    The "slave"-faction is the rebel faction in use for rebel settlements at the start. The "Wild Life"-faction is a playable faction more or less, but with the slave_faction attribute in the descr_SM_factions. The Wild Life also has the ownership and is the faction creator of certain settlements while the slave faction cannot be creator without it crashing. So i'd guess the slave attribute is for the wild life faction to never die.

    While i do believe the issue with that particular faction crashing could be due to it using the slave attribute, it still doesn't cause issues loading up the game - and some battles work.

    The issue with the transgressor crash could be separate to this though. I will test removing the attribute but the issue with the transgressor usually happens when the Lanayru is attacked. As such it could be separate. Also, Hyrule has far too many scripts for it to be possible to remove them. So it has to be something else.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

  11. #11
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    The simplest test is to remove the special faction attribute from the wild life faction in the descr_sm_faction file. Start with that, needs a fresh game.










  12. #12

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    The problem Gig is referring to will cause crashes as things get checked (traits, regions, etc.) and when the game finds too many things that 'do not compute' (don't make sense in reality) it crashes. It simply does not work even if someone thinks it does is what that means, you have to find what does work. It is not the only bug you have but it is preventing you from identifying the other bugs, things that don't work.

    Why the slave faction can't be the owner in regions file? I don't know, it makes no sense to me and it is too complicated to find out, I just realized it doesn't work and did something that does. If you apply this to all problem solving by opening your mind to it, you will find and fix all these bugs one at a time. To do otherwise is just running in circles, confusing yourself with your thoughts, you will not accomplish anything and you will get sick of trying.
    Last edited by alreadyded; February 28, 2019 at 03:14 PM.

  13. #13
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    Quote Originally Posted by alreadyded View Post
    Why the slave faction can't be the owner in regions file?
    It's not an ownership entry - it's the 'creator\loyalty' entry that cannot be slave. That's the faction a region revolts to - remember that region in the middle of Anatolia in RTW? Had me dumbfounded the first time when after a revolt it became Gaul.
    The game mechanic will not allow to revolt to the slave faction.

    And yes, the first step in tracing weird crashes is to reverse unusual stuff you implemented. Did you know that using max map size nearly always results in scroll crashes? It's because the engine can't handle all the 3D elements, most notable rivers (yes, the riverbed is 3D) - which will force you to trim their appearance down drastically (experience from 1648, took a week to figure that out).
    Last edited by Gigantus; February 28, 2019 at 07:25 PM.










  14. #14

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    I was referring to that, I was just too lazy to go into detail. I am not as helpful as you are, the only reason I am even here is a PM.
    Last edited by alreadyded; February 28, 2019 at 08:38 PM.

  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: Odd CTD in campaign and i do not know the cause or how to solve it?

    I am a detailed annoyance, ain't I?
    Last edited by Gigantus; February 28, 2019 at 09:38 PM.










  16. #16
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,568

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    Well, seems that I solved my version of this CTD. Some infantry units has berserker morale parameter. It's broken for them.

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  17. #17
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    The berserker attribute is known to be broken in m2tw - something to do with animation I think.










  18. #18
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,568

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    If to say correct - it's broken for infantry. For cavalry works as it should. In my case - some infantry units I forgot to remove from tests while I searched info about berserker ability.

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

  19. #19
    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: Odd CTD in campaign and i do not know the cause or how to solve it?

    Never tried the equestrian version










  20. #20
    bitterhowl's Avatar Campidoctor
    Join Date
    Feb 2011
    Location
    Russian Feodality
    Posts
    1,568

    Default Re: Odd CTD in campaign and i do not know the cause or how to solve it?

    I want to use this feature for elite knights to making effect of their historical behaviour on battlefield - ignoring leader's orders due to their own will.

    My sister, do you still recall the blue Hasan and Khalkhin-Gol?
    Russian warship is winning. Proofs needed? Go find yourself!

Page 2 of 3 FirstFirst 123 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
  •