Help!
I have ctd and have no idea what should i do to fix this problem. Log shows some errors, but i cannot find the proper cause of it. May i ask someone smart for check files i attached?
Help!
I have ctd and have no idea what should i do to fix this problem. Log shows some errors, but i cannot find the proper cause of it. May i ask someone smart for check files i attached?
Under barons_stables for denmark and sicily you have the building belonging to england and scotland. The buildings after that are also to england and scotland. Change them to denmark and sicily and it should work.
Hope that helped,
Vegas_Bear
I still think you are having problems because you have multiple buildings in different building trees with the same exact names. You should rename those barons_stables to something like barons_stables1, barons_stables2, etc... or to something like northern_barons_stables, southern_barons_stables, etc...
Vegas - thax i couldn't find it. I don't know why because i'm not blind![]()
rebelyell2006
to tell you the true i never have problems with usint the same names inside differents buildings tree![]()
Glad it worked for you.
It's not the end... I still have ctd during the game. Log shows nothing, but i think it can be something with scripts. So instead logfile i've attached campaign_script file.
If you are triggering events, are the events also in the historic_events.txt?
Have you turned off the fog of war and followed the ai to see what is triggering it? I have had priests, merchants, and family members trigger mine.
no, i have not. Should i turn off fog of war?
You never know without trying. If it was my mod, I would want to know what's under it causing me grief.
No it is not your mod. i've taken only map from your mod. I'll try to turn it off.
Is there any tip to make this error faster? It takes a lot of time when i'm waiting for it.
There is no faster way, as far as I know. Sorry.
I have no ide what was wrong. Anyway i've changed conversion script.
I have not ctd yet, but i have 2 known bugs:
1. i cannot build temples after conversion
2. if i will start the campaign as one faction, i have ctd when i'm trying to start another campaign by other faction if i did not remove map. rwm file.
Here is my converting script:
restrict_strat_radar false
monitor_event FactionTurnStart
add_events
event counter lithuania_conversion_accepted
event counter lithuania_conversion_declined
event counter pagan_lithuania
event counter not_pagan_lithuania
date 0
end_add_events
terminate_monitor
end_monitor
monitor_event PreFactionTurnStart not FactionType lithuania
set_event_counter pagan_lithuania 0
set_event_counter not_pagan_lithuania 1
end_monitor
monitor_event PreFactionTurnStart FactionType lithuania
set_event_counter pagan_lithuania 1
set_event_counter not_pagan_lithuania 0
if I_EventCounter lithuania_conversion_accepted == 1
set_event_counter pagan_lithuania 0
set_event_counter not_pagan_lithuania 1
end_if
end_monitor
monitor_event FactionTurnStart FactionType lithuania
if I_NumberOfSettlements lithuania > 1
and I_TurnNumber 6
historic_event lithuania_conversion true factions { lithuania, }
if I_IsFactionAIControlled lithuania
generate_random_counter random_accept 0 2
if I_EventCounter random_accept < 2
set_event_counter lithuania_conversion_accepted 1
end_if
end_if
terminate_monitor
end_if
end_monitor
monitor_conditions I_EventCounter lithuania_conversion_accepted == 1
set_religion lithuania catholic
retire_characters lithuania priest
change_population_religion lithuania catholic 20 pagan
destroy_buildings lithuania temple_perkunas true
destroy_buildings lithuania temple_perkunas_castle true
spawn_character lithuania, Algirdas, priest, age 18, x 315, y 309
spawn_character lithuania, Jogaila, priest, age 14, x 315, y 310
terminate_monitor
end_monitor
[QUOTE=attyla;9396943]1. i cannot build temples after conversion
QUOTE]
Do you have the counters correct in the export_descr_buildings.txt?
small_church city requires factions { teutonic_order, normans, denmark, hre, scotland, france, england, lithuania, hungary, poland, venice, papal_states, portugal, spain, sicily, milan, } and event_counter not_pagan_lithuania 1
dievas_altar city requires factions { lithuania, } and event_counter pagan_lithuania 1
I'm sure now, my problem is connected with lithuania. i've erased this faction and my problems was desapeared. I've wrote conversion script again, but it i have ctd all the time. I think it can be connected with traits, but i can't check it, because i've only copied traits fron teutonic TW. I didn't think about modify traits, so i have no idea about it. Is there any method to check traits without knowing crcipting in ths matter?
I don't know what was wrong, but all my problems dissareared after rewriting descr_strat. It was huge work, but all's OK now
Tkanks you all for your help and patience![]()
To your error.log - in campaign_script are a few lines:
look:Code:monitor_conditions not I_SettlementOwner Cairo = egypt and I_EventCounter holds_cairo == 1 and I_NumberOfSettlements egypt > 0 set_event_counter holds_cairo 0 end_monitor monitor_conditions I_SettlementOwner Cairo = egypt and I_EventCounter holds_cairo == 0 add_events event counter holds_cairo date 0 end_add_events end_monitor
set_event_counter holds_cairo
event counter holds_cairo
set event counter must be another in the name than historic event
Try channge historic event "holds_cairo" to hold_kair
I think it is a bug, because line:
is 1976 line, and your error.log all time trying set a counter in this place.Code:event counter holds_cairo