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

ErringMelkor

Second Lieutenant
54 Badges
Jun 28, 2014
185
202
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Synthetic Dawn
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV
  • Victoria 2
  • Europa Universalis III: Collection
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: El Dorado
Hello!

Running a mp game with a mod that alters china and india (1836 political setup, population, resources and buildings) for balance reasons. We played 'till 46, then some of us continued in sp to test the game, and all of us seem to get a constant crash around those dates, which, at least I, haven't been able to track down or understand. Even though the game is modded, little is altered (historical buildings, pops and traits), so it'd be nice if someone could give it a look.

Mod link: https://steamcommunity.com/sharedfiles/filedetails/?id=3242420610
 

Attachments

  • crashes.rar
    16,8 MB · Views: 0
  • autosave.v3
    20,2 MB · Views: 0
  • great qing_1858_03_01.v3
    20,2 MB · Views: 0
Hello!

Running a mp game with a mod that alters china and india (1836 political setup, population, resources and buildings) for balance reasons. We played 'till 46, then some of us continued in sp to test the game, and all of us seem to get a constant crash around those dates, which, at least I, haven't been able to track down or understand. Even though the game is modded, little is altered (historical buildings, pops and traits), so it'd be nice if someone could give it a look.

Mod link: https://steamcommunity.com/sharedfiles/filedetails/?id=3242420610

Hey ho,

seems your mod adds a new state to china. (STATE_HAINAN)

It uses the province x156AC0 which is alreasy assigned to s:STATE_GUANGDONG, so either remove x156AC0 from the new province or remove it from the old GUANDONG, but it can't be member ob both states. (in 00_states.txt)

There is also an error in 11_east_asia.txt in the part of the new STATE_HAINAN.
farm = "156AC0" should be farm = "x156AC0" I guess.

The last error is

[12:47:48][jomini_script_system.cpp:262]: Script system error!
Error: has_state_trait trigger [ Invalid database object 'state_trait_ailing_grand_canal' ]
Script location: file: events/china_disaster_grand_canal_events.txt line: 71

I guess there is some kind of event script that can't handle the new state.
I once tried to create a new country in Africa based on germany and had a simluar issue, because of the german unification event that alawys tried to trigger and crashed the game, since it cannot unite africa as Germany I guess xD

I decided to not alter countries that use event chains anymore :D
 
Hi,

thank you very much for answering. I ask this from a novice perspective, but, could those mistakes be correlated with the 1856-1860 crash? It seems oddly specific, as in, those mistakes wouldn't really trigger any different in 1836 than in '56-60, no?
 
Well it could be. I didn't check all the events related to china, but there is the event chain of the Qing dinasty that can lead to a seperation of all the provinces, so the script will most certenly be in touch with the states and state region stuff. I would fix this issues (maybe you can contact the mod author if it's not your mod) or you can try to fix it yourself ^^ but maybe it's easier to just try another mod. there are several china flavor mods available

edit: just checked the error log again. last entry:
Assertion failed: IsWithinBounds( Province.GetProvinceId() )

So it is very likely, that the crash is related to the province I guess
 
Well it could be. I didn't check all the events related to china, but there is the event chain of the Qing dinasty that can lead to a seperation of all the provinces, so the script will most certenly be in touch with the states and state region stuff. I would fix this issues (maybe you can contact the mod author if it's not your mod) or you can try to fix it yourself ^^ but maybe it's easier to just try another mod. there are several china flavor mods available

edit: just checked the error log again. last entry:
Assertion failed: IsWithinBounds( Province.GetProvinceId() )

So it is very likely, that the crash is related to the province I guess

Appreciated. Thanks for taking your time to answer, I'll have a look on what I can do. Any advice on how to fix that specific error? (If it's not in the link provided)
 
Did you try what I said about removing the province in the 00_states.txt? Here is a screenshot to clearify what I mean


1715796779883.png