• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

DerErwinRommel

Sergeant
53 Badges
Apr 5, 2012
56
0
  • Crusader Kings II
  • Hearts of Iron III
  • Stellaris: Leviathans Story Pack
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • 500k Club
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings Complete
  • Crusader Kings III
  • Tyranny - Bastards Wound
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Federations
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Victoria 2
  • War of the Roses
  • Majesty 2
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Stellaris: Synthetic Dawn
  • Europa Universalis III: Chronicles
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Heir to the Throne
  • King Arthur II
  • Magicka
  • March of the Eagles
  • Semper Fi
I understand this should be put in the entomology corner, but the problem I am facing is one that many players are dealing with at the moment, I am requesting that this thread or another one like it be made to handle this situation, because for me it has made the game unplayable I have to go take care of a few things, I'll be back online in a little while until then I'd like for players to post whatever issue they are having with this bug, the hows and whys and the info the modders need to fix it.
 
aye, this is a well-known but not-very-well-understood bug.

currently, the best known fix involves replacing the 02_castle_culture_mil_special.txt file in the common/buildings folder with this version (to be included in our update in a day or so).
it removes the cult buildings, which was the most reproducible cause of the freeze (for reasons we have no idea, though our hypothesis is that it's because of memory issues - it was working perfectly fine several versions ago, at least until the BLC re-merge which added a large memory overhead, hence the Important Installation Instructions in the OP/FAQs)

there are reports that there a few more holdings that cause freezing (e.g. those that had the said mithraic cult) if you're continuing an old save, but for some reason save-and-reloading seems to fix it (because LI is fueled by magic and faeries), while I have yet to encounter it in a new save (granted, most of my playtesting involves new saves anyway).
 
See that's what I thought too, * a memory issue* but I used the fix you guys gave out and gave a lot of my pc's computing and physical memory to the game, running on less then 20% of my comps physical memory without overclocking at all still caused it to crash and it doesn't seam to be random, if I select three baronies *same or different ones* in 30 second intervals will cause the game to crash regardless for me.
 
wait, CRASH or FREEZE? if it's a crash, there's likely a different issue at play, and I'd appreciate more details...

as for selecting multiple baronies at random - I'll try replicating it in a while
 
Whatever the issue, it causes the game to just freeze in place, it doesn't cause a CTD. Now I just installed the notepad file you guys gave which stopped it from freezing but now causes the game to properly CTD. xD
 
Still freeze in the new version.

:(
that is unfortunate :|

could you tell me which baronies/holdings are causing the freeze? and if possible, can you share a save, so that I could take a look?
 
Could it have something to do with how the files save? when I disabled autosave I never had a problem with any crashes for 30 years ingame, the second I reactivated it and and it autosaved it started happening again, I suspect it as something to do with that.
 
It's probable that saving is somehow causing the game to freeze this way; there are a LOT more of things to save in LI than vanilla, the core of these being the metric ton of buildings we have, but of course also counting character/provincial/global flags (SELIN applies provincial flags IIRC for every province in-game, and that's a lot of flags), characters and whatnot. This causes the game to allocate a lot of memory in creating the save file and well... no doubt the freezes are due to memory shortages the game is having (independently of how much memory you allocate to VA). The only solution I can think of is reducing or simplifying our buildings techtree... but that's one of the core design philosophies of LI and a lot of work has gone into it, so we have to be careful when treading around there. That's Riknap area of expertise anyway, so I'm counting on his opinion here.


EDIT: I've been running tests the whole morning on this. I've reverted buildings to vanilla, disabled all custom portraits and their sprites and reverted some interface province files to vanilla and I still get freezes on clicking holdings while the game is unpaused. This seems to be the thing, the holdings are freezing the game only if it isn't paused, when paused, I clicked on at least 40 different holdings without a single crash. Clicking while running results in only 10 holdings before getting a freeze.

It's indeed also happening during/after autosaves, I don't really know what the problem is at this point. As I said before... we should either wait for those memory fixes paradox has promised or start debugging the mod one section at a time to better analyse the problem.

Further testing: I'm getting the freeze 2 months in when clicking at Kunduz, a castle holding in Bactria's capital (Bactria :p). Curiously, I don't get it when the game is started, just when every startup event has already happened (ie. when the first month has passed). This has happened 5 of 5 times, and the only buildings I can think of those holdings have are the cultural troop buildings and the special one for Bactria's capital (the Hetairoi)

By disabling all LI buildings, cultural troops/elite troops ones included (previously I hadn't removed them), the freezes seem to have stopped (1 year of in-game clicking holdings)... so I believe I'm on the right track when saying that our humongous number of buildings or the cultural troop buildings have something to do with the freezes.

A final note (18:20 here): Yup, it seems disabling all buildings and restoring to vanilla has stopped the freezes I was having with every holding (both Kunduz and a castle barony whose name I've forgotten at Suthseaxna) are completely gone + the obligatory year of clicking arround baronies without any freeze whatsoever... so we might have to take an extensive look at our buildings and either rework it from the ground up, saving what we can from our actual system or wait and see if RoIs patch does us any good.
 
Last edited:
in the end, it's the gigantic amount of buildings all over again.
while I guess we could work on merging buildings to reduce the overall number, that'll be easier said than done in the immediate future re-balancing and coding-wise, so I'll just rely on your patching experiment first and see if that solves the immediate problems with freezing.
 
in the end, it's the gigantic amount of buildings all over again.
while I guess we could work on merging buildings to reduce the overall number, that'll be easier said than done in the immediate future re-balancing and coding-wise, so I'll just rely on your patching experiment first and see if that solves the immediate problems with freezing.

ROI isn't that far out with changes to the special troop system as well. Given that the problem is known and that we can just autosave a lot, I don't mind waiting for that to fix it personally. Plus, I love the building system! :)
 
just to inform anyone viewing this thread,

this has been fixed in v0.6I4' , so just download it instead (or the hotfix uploaded somewhere in the Entomology Corner if you don't feel like redownloading everything and don't mind a few missing localisations)