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

Thread: unknown error

Hybrid View

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

    Default unknown error

    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?

  2. #2
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: unknown error

    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

  3. #3

    Default Re: unknown error

    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...

  4. #4

    Default Re: unknown error

    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

  5. #5
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: unknown error

    Glad it worked for you.

  6. #6

    Default Re: unknown error

    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.

  7. #7

    Default Re: unknown error

    again...

  8. #8
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: unknown error

    If you are triggering events, are the events also in the historic_events.txt?

  9. #9

    Default Re: unknown error

    yes, they are

  10. #10

    Default Re: unknown error

    This error appears at 50 or 51 turn.

  11. #11
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: unknown error

    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.

  12. #12

    Default Re: unknown error

    no, i have not. Should i turn off fog of war?

  13. #13
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: unknown error

    You never know without trying. If it was my mod, I would want to know what's under it causing me grief.

  14. #14

    Default Re: unknown error

    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.

  15. #15
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: unknown error

    There is no faster way, as far as I know. Sorry.

  16. #16

    Default Re: unknown error

    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

  17. #17
    Vegas_Bear's Avatar Biarchus
    Join Date
    Sep 2005
    Location
    Las Vegas, NV
    Posts
    605

    Default Re: unknown error

    [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

  18. #18

    Default Re: unknown error

    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?

  19. #19

    Default Re: unknown error

    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

  20. #20
    StaefanBatory's Avatar Civis
    Join Date
    Feb 2009
    Location
    Cracow, Poland
    Posts
    187

    Default Re: unknown error

    To your error.log - in campaign_script are a few lines:
    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
    look:
    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:
    Code:
    event    counter    holds_cairo
    is 1976 line, and your error.log all time trying set a counter in this place.

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
  •