Thread: Bugs Reports & Technical Help

  1. #4421
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    ufff... doesn't look good. Which version are you using?

  2. #4422
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Bugs Reports & Technical Help

    Looks like a 'BecomesFactionLeader' crash. Or is the faction emerge event the culprit?

    Let's try for the first possibility: make a copy of the export_descr_character_traits file. In the original search for the first instance of trigger. Delete everything from that line to the end, save. Reload game and see if you can get past the turn.
    If that worked then save yoru game, exit and move the edited EDCT file somewhere else for a rainy day, restore the original EDCT's file name. Continue playing.










  3. #4423
    Foederatus
    Join Date
    Oct 2016
    Location
    Melbourne, Australia
    Posts
    30

    Default Re: Bugs Reports & Technical Help

    Thanks Gigantus, trimmed everything from that file after line 16505 but still CTD as soon as battle is over win or loose. Im running the version that was zipped up as a single archive for version 97

    Changelog for SSHIP 097:
    (as compared to the SSHIP97 with patch of 22.02.2020).

    No other patches or modifications.

  4. #4424
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    I haven't done anything, just run the save - and it went through. Here is the save.
    You seem to have some problems: large scale plague, Antioch lost, three settlements besieged. But otherwise you're no 1. Looks like an interesting game.

  5. #4425
    Foederatus
    Join Date
    Oct 2016
    Location
    Melbourne, Australia
    Posts
    30

    Default Re: Bugs Reports & Technical Help

    Strange how the saves just seem to work for others in some cases. Anyway Appreciate the assist. Hopefully that wayward emperor doesn't keep causing CTD although I'm expecting a few as the Mongols arrive. Hopefully doesn't make it unplayable.

    Plagues seem to be in between one and 6 settlements randomly each turn. Considering the number of provinces and the time I guess its part of doing business. France has 3 cities under siege in what would be South East France which I've held since the HRE departed the area 50 years earlier but I also have Troyes, Rheims under siege in the north and some spies should get me into Paris all on the same turn. 3 cities for maybe the loss of one city temporarily isn't bad considering I didn't start the fight - France was one of my Allies by wedding 2 turns before. Oh well. Things are also busy on the other side of the map with Eastern Romans but I'll trim them back before long and try again for a foothold in the Middle east. Jihad a few turns after moving into a city is always tough when its that far from home.

  6. #4426
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,271

    Default Re: Bugs Reports & Technical Help

    Can anyone remind me of how to remove the fog from the campaign map?

  7. #4427
    Nemesis2345's Avatar Semisalis
    Join Date
    May 2013
    Location
    Constanta, Romania
    Posts
    462

    Default Re: Bugs Reports & Technical Help

    toggle_fow in console

    auto_win attacker/defender in case you want to auto win battles (helps with some crashes etc)

  8. #4428
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,271

    Default Re: Bugs Reports & Technical Help

    But how do you activate the console ?

  9. #4429
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    hit the top left key: `

  10. #4430

    Default Re: Bugs Reports & Technical Help

    Hi guys. I've played Byzantium up to turn 160-165. Then warning event appeared for mongol invasion and then - nothing. No event popping up, no units. I've played until turn 250 and nothing. So I reinstalled the whole game and mods, cleared everything but saves. Nothing changed. On turn 250 I played again with no sign of mongols after going into next turn (I have used toggle_fow command).


    Well, nothing changed for good after reinstall. I tried playing on saves from turn 155-158 to see if anything changes, but it went exactly the same. Warning for mongol invasion and no invasion at all for 7-8 turns and then something new - game crash on rebels turn. System.log file goes like this:




    16:09:49.568 [system.rpt] [always] CPU: SSE2
    16:09:49.568 [system.rpt] [always] ==== system log start, build date: Sep 5 2014 version development ===
    16:09:49.570 [system.io] [always] mounted pack packs/data_0.pack
    16:09:49.571 [system.io] [always] mounted pack packs/data_1.pack
    16:09:49.571 [system.io] [always] mounted pack packs/data_2.pack
    16:09:49.572 [system.io] [always] mounted pack packs/data_3.pack
    16:09:49.572 [system.io] [always] mounted pack packs/data_4.pack
    16:09:49.572 [system.io] [always] mounted pack packs/localized.pack
    16:11:36.592 [game.script] [error] Trigger processing error in <Far_Loyalty_Minus_HappyAway>
    : PopulationOwnReligion needs a character in a land region.

    when testing <PopulationOwnReligion> condition
    16:11:49.162 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.




    I tried like 6 times to start from saves before the mongol warning event, and all went sooner or later like that (in 5-8 turns).
    I am playing on steam, Polish version of the game. I have installed mod in that order - 0.97, then patch G, then H, then Kostic Costumes (great work btw). I am using LAA for using more than 2GB ram and that helped with some issues in the past like crashing on rebel turn.
    Now i don't have any idea what to do. Previously I was playing with minor issues, I have reinstalled game twice and mod also twice to successfully fix some crashes caused from missing some files. Also, after that I experienced a weird bug - some titles got shuffled. For example, general with Strategos of Thessalonica title was now Strategos of Brannenburg and I don't have that location.
    Also, I think that other events like gunpowder fired accurately.
    I was thinking about using steam files integrity tool, but I don't know if it's safe for mod and Kostic submod.

  11. #4431
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    Re-installing everything but the saves does cannot change anything because the script.txt is read at the beginning for the game and stored in the save. So you're using the same script if you use the same save.
    LAA is very useful indeed.
    After re-installation your save is perhaps not compatible anymore. I've checked and Strategos of Branndenburg cannot appear in such a way. And such bugs are obvious manifestations of corruption - recently @macaras has experienced it in our dev trials. Very weird outcomes. The crashes after 7-8 turns are expected in such situation, and it's actually also somehow exceptional that you can run your save at all.
    I wouldn't run steam integrity tool. I don't think it's safe with the submods, even if in theory is should be: mods are mod-foldered, so there should not be any interference.
    I'll have a look at the Mongol issue - it's not a finished work.

  12. #4432
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Bugs Reports & Technical Help

    "PopulationOwnReligion needs a character in a land region" can be fixed by adding the 'not AtSea' condition provided the WhenToTest event is suitable in general.

    It's not fatal and won't have anything to do with the crash itself, given the time difference between entry and crash.
    Last edited by Gigantus; July 17, 2021 at 06:52 AM.










  13. #4433
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Gigantus View Post
    "PopulationOwnReligion needs a character in a land region" can be fixed by adding the 'not AtSea' condition provided the WhenToTest event is suitable in general.

    It's not fatal and won't have anything to do with the crash itself, given the time difference between entry and crash.
    Yep, it's been fixed some time ago for the ver. 098:
    Code:
    ;------------------------------------------
    Trigger Far_Loyalty_Minus_HappyAway
     WhenToTest CharacterTurnEnd
    
    
     Condition IsGeneral
           and Trait Far_Loyalty > 0
           and Trait Xenophilia > 1
           and PopulationOwnReligion < 50
    	   and not AtSea
           and not Trait DiscontentGeneral > 0
           and not InEnemyLands
    
    
     Affects Far_Loyalty -1 Chance 10

  14. #4434
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Bugs Reports & Technical Help











  15. #4435

    Default Re: Bugs Reports & Technical Help

    I've hit turn 109 in my serbia campaign and I am unable to play any battles; the game crashes just as the screen finishes loading. I can autoresolve and play other campaign battles well enough. The log seems to suggest a missing model?

    Code:
    22:01:29.518 [system.io] [warning] open: data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture is missing22:01:29.518 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_serbia.texture
    22:01:29.519 [system.io] [info] exists: missing data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_serbia.texture
    22:01:29.519 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_serbia.texture
    22:01:29.520 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_serbia.texture
    22:01:29.520 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_normal.texture
    22:01:29.520 [system.io] [info] exists: missing data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_normal.texture
    22:01:29.521 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_normal.texture
    22:01:29.521 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_normal.texture
    22:01:29.654 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

  16. #4436

    Default Re: Bugs Reports & Technical Help

    I've hit turn 214 with Byzantium, and no matter if I go back several saves I get CTD, well I get quite frequently once 3 or 4 turns but can't pass this one.
    Code:
    18:50:55.746 [system.rpt] [always] CPU: SSE2
    18:50:55.746 [system.rpt] [always] ==== system log start, build date: Sep  5 2014 version development ===
    18:50:55.748 [system.io] [always] mounted pack packs/data_0.pack
    18:50:55.748 [system.io] [always] mounted pack packs/data_1.pack
    18:50:55.748 [system.io] [always] mounted pack packs/data_2.pack
    18:50:55.749 [system.io] [always] mounted pack packs/data_3.pack
    18:50:55.749 [system.io] [always] mounted pack packs/data_4.pack
    18:50:55.749 [system.io] [always] mounted pack packs/localized.pack
    18:51:11.355 [game.script] [error] Condition parsing error in mods/SSHH/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 49117, column 25
    counter value not declared
    
    18:51:11.355 [game.script] [error] Condition parsing error in mods/SSHH/data/world/maps/campaign/imperial_campaign/campaign_script.txt, at line 49120, column 26
    counter value not declared
    
    18:51:11.499 [game.script] [always] Germanicu5 ReallyBadAI v5.7 Running. Please upload log and savegames when reporting battle CTDs for SS.
    18:53:04.221 [game.script] [always] Turn End byzantium
    18:53:04.253 [game.script] [always] Turn Start sicily
    18:53:04.454 [game.script] [always] Turn End sicily
    18:53:04.459 [game.script] [always] Turn Start abbasid
    18:53:05.724 [game.script] [always] Turn End abbasid
    18:53:05.725 [game.script] [always] Turn Start denmark
    18:53:05.748 [game.script] [always] Turn End denmark
    18:53:05.751 [game.script] [always] Turn Start egypt
    18:53:06.911 [game.script] [always] Turn End egypt
    18:53:06.929 [game.script] [always] Turn Start scotland
    18:53:07.033 [game.script] [always] Turn End scotland
    18:53:07.039 [game.script] [always] Turn Start cumans
    18:53:08.773 [game.script] [always] Turn End cumans
    18:53:08.776 [game.script] [always] Turn Start turks
    18:53:09.197 [game.script] [always] Turn End turks
    18:53:09.197 [game.script] [always] Turn Start france
    18:53:10.450 [game.script] [always] Turn End france
    18:53:10.455 [game.script] [always] Turn Start hre
    18:53:11.514 [game.script] [always] Turn End hre
    18:53:11.520 [game.script] [always] Turn Start england
    18:53:11.670 [game.script] [always] Turn End england
    18:53:11.672 [game.script] [always] Turn Start portugal
    18:53:11.955 [game.script] [always] Turn End portugal
    18:53:11.964 [game.script] [always] Turn Start poland
    18:53:12.247 [game.script] [always] Turn End poland
    18:53:12.249 [game.script] [always] Turn Start venice
    18:53:12.896 [game.script] [always] Turn End venice
    18:53:12.900 [game.script] [always] Turn Start moors
    18:53:13.225 [game.script] [always] Turn End moors
    18:53:13.231 [game.script] [always] Turn Start russia
    18:53:13.264 [game.script] [always] Turn End russia
    18:53:13.272 [game.script] [always] Turn Start spain
    18:53:13.722 [game.script] [always] Turn End spain
    18:53:13.726 [game.script] [always] Turn Start hungary
    18:53:13.980 [game.script] [always] Turn End hungary
    18:53:13.980 [game.script] [always] Turn Start aragon
    18:53:14.721 [game.script] [always] Turn End aragon
    18:53:14.726 [game.script] [always] Turn Start lithuania
    18:53:15.208 [game.script] [always] Turn End lithuania
    18:53:15.210 [game.script] [always] Turn Start kievan_rus
    18:53:16.175 [game.script] [always] Turn End kievan_rus
    18:53:16.176 [game.script] [always] Turn Start serbia
    18:53:16.467 [game.script] [always] Turn End serbia
    18:53:16.468 [game.script] [always] Turn Start georgia
    18:53:17.146 [game.script] [always] Turn End georgia
    18:53:17.148 [game.script] [always] Turn Start norway
    18:53:17.735 [game.script] [always] Turn End norway
    18:53:17.741 [game.script] [always] Turn Start jerusalem
    18:53:18.390 [game.script] [always] Turn End jerusalem
    18:53:18.392 [game.script] [always] Turn Start zengid
    18:53:20.241 [game.script] [always] Turn End zengid
    18:53:20.243 [game.script] [always] Turn Start pisa
    18:53:21.905 [game.script] [always] Turn End pisa
    18:53:21.919 [game.script] [always] Turn Start papal_states
    18:53:22.305 [game.script] [always] Turn End papal_states
    18:53:22.308 [game.script] [always] Turn Start mongols
    18:53:22.981 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    Attached Files Attached Files

  17. #4437
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Bugs Reports & Technical Help

    @Jurand - have you tried running bovi's checker on your mod? It picks up missing unit files (LuckyPistol) and tons of other stuff (eg SINIGR - undeclared counters).










  18. #4438

    Default Re: Bugs Reports & Technical Help

    Passed the 214 turn for some reason after 8 hrs of rest (the PC) the game worked i am at 238 with 1 crash so far

  19. #4439
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by SINIGR View Post
    Passed the 214 turn for some reason after 8 hrs of rest (the PC) the game worked i am at 238 with 1 crash so far
    good to know, thanks!
    Quote Originally Posted by Gigantus View Post
    @Jurand - have you tried running bovi's checker on your mod? It picks up missing unit files (LuckyPistol) and tons of other stuff (eg SINIGR - undeclared counters).
    Yes, @Belovese has run it and fixed the issues.
    Quote Originally Posted by LuckyPistol View Post
    I've hit turn 109 in my serbia campaign and I am unable to play any battles; the game crashes just as the screen finishes loading. I can autoresolve and play other campaign battles well enough. The log seems to suggest a missing model?

    Code:
    22:01:29.518 [system.io] [warning] open: data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture is missing22:01:29.518 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_serbia.texture
    22:01:29.519 [system.io] [info] exists: missing data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_serbia.texture
    22:01:29.519 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_serbia.texture
    22:01:29.520 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_serbia.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_serbia.texture
    22:01:29.520 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_normal.texture
    22:01:29.520 [system.io] [info] exists: missing data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/faction_variations/byzantium/gs_attachments_normal.texture
    22:01:29.521 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_normal.texture
    22:01:29.521 [system.io] [info] exists: missing mods/SS6.3/data/unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture__unit_models/sandy_units/AttachmentSets/gs_attachments_normal.texture
    22:01:29.654 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    It may well be true, it's an issue I've experienced eg in BtfB with the Norwegian king.
    Perhaps @kostic would have a look when he's back from his holidays.

  20. #4440

    Default Re: Bugs Reports & Technical Help

    Quote Originally Posted by Jurand of Cracow View Post
    It may well be true, it's an issue I've experienced eg in BtfB with the Norwegian king.
    Perhaps @kostic would have a look when he's back from his holidays.
    Would having certain units fully armor upgraded be something that might trigger this? It's really the only thing that has changed in my campaign since my last series of battles.

Tags for this Thread

Posting Permissions

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