• 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.
beregic said:
hmmm, i actually do in this situation becouse the mugah/timuruds are to big of an eu2 entity just to ignore... ;) . and all that becouse owning the cot condition probablly.

common, the whole regional event files DEAD becouse ONE "key " province :rolleyes: is like the whole 300+ years of history depends on THAT cot , including indian and persian future entities...

Actually it happens, not because Samarkand is so important, but because the game would be more prone to crash if there wasn't a capital check. Several of the later events force the Timurids to cede Herat and depending on their size, that could be a major problem. Let me get back to you on this as I agree things shouldn't be totally screwed up just because they lost Samarkand early on. Easiest course of action will probably be to make an alternate set of events.
 
the second event in the serbian event file(NOT albanian); WHY this :" command = { type = provincetax which = 361 value = 3 } #Albania" in the "b" option? :confused: if "historical" should not the capital move there OR increase tax in belograd instead of doind so in albania(!?).

#(1419-1820) Restore Byzantium
#MKJ(?)
event = {
id = 80328
trigger = {
owned = { province = 357 data = -1 } #Thrace
control = { province = 357 data = -1 } #Thrace
religion = orthodox
NOT = { exists = BYZ }
atwar = no
}
random = no
country = SER
name = "EVENTNAME80328" #Restoration of the Roman Empire
desc = "EVENTHIST80328"
#-#After the fall of Constantinople, Serbia declared itself the successor of the Roman Empire, and led the charge against the Turk. Eventually victorious, the opportunity arose to restore the Empire.

date = { day = 1 month = january year = 1419 }
offset = 30
deathdate = { year = 1820 }

action_a = {
name = "ACTIONNAME80328A" #Restore the Roman Empire in Constantinople
command = { type = capital which = 357 } #Thrace
command = { type = conversion which = 357 } #Thrace
command = { type = provinceculture which = 357 value = greek } #Thrace
command = { type = remove_countryculture which = slavonic}
command = { type = add_countryculture which = greek }
command = { type = add_countryculture which = slavonic }
command = { type = conversion which = -1 }
command = { type = conversion which = -1 }
command = { type = missionaries value = 3 }
command = { type = diplomats value = 2 }
command = { type = merchants value = 2 }
command = { type = flagname which = "" }
command = { type = country which = BYZ }
}
action_b = {
name = "ACTIONNAME80328B" #Let Smederevo Remain the Capital of a New Empire
command = { type = conversion which = 357 } #Thrace
command = { type = provinceculture which = 357 value = greek } #Thrace
command = { type = domestic which = CENTRALIZATION value = 2 }
command = { type = population which = 361 value = 30000 } #Albania
command = { type = missionaries value = 3 }
command = { type = merchants value = 2 }
command = { type = provincetax which = 361 value = 3 } #Albania
command = { type = provincetax which = 357 value = -2 } #Thrace
command = { type = revolt which = -1 }
command = { type = revoltrisk which = 24 value = 4 } #The greek population is pissed off, that the Serbians do not restore the roman empire
}
}
 
AGAIN, the money bug; this time is transylvania; i loaded as her since she kept me dowing every 5 years for no apparent valid reason... 1 440 000 000 or so momey in her treasury :eek:

now she has NO loans, and nothing seems wrong to me, BUT this is her file section, hope it helps:

country = {
tag = SIE
ai = {
flags = {
[Corvinus] = no
[Corvinus_Bohemia] = no
[Jagiello] = yes
[Presburg] = no
[Random_MinorRef] = no
[Wladyslaw] = no
}
combat = { CRO TUR }
continent = { }
area = { }
region = { }
war = -50
ferocity = no
base = 0.500
front = 7.000
expansion = 0
tradingpost = 50
neighbour = 20
enemies = 0
traders = 20
monopoly = 10
counterreform = no
garrison = {
fortress = 5.000
strategic = 12.000
size = 1.000
supply = 9.000
war = 8.000
}
conquer = {
enemy = 5.000
supply = 0.100
distance = 3.000
owner = 8.000
notsupply = 0.100
base = 2.000
}
}
policy = {
date = { year = 0 month = january day = 0 }
aristocracy = 5
centralization = 5
innovative = 8
mercantilism = 6
offensive = 7
land = 7
quality = 8
serfdom = 10
}
culture = {
type = "magyar"
type = "slovak"
type = "syrian"
type = "romanian"
}
badboy = 5.356
colonialattempts = 0
whiteman = 0
colonialnation = no
major = yes
bank = no
stock = no
ledger = {
income = { 79.775 29.887 3.461 7.000 18.083 0.000 0.000 0.000 0.000 0.000 8.560 0.000 }
expense = { 46.486 4.317 0.000 0.000 0.000 0.000 0.000 0.000 28.000 88.060 0.000 58.707 }
thismonthincome = { 0.000 0.000 0.000 1.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 }
thismonthexpense = { 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 13.039 0.000 8.693 }
lastyearincome = { 138.300 34.647 8.383 12.000 31.000 0.000 0.000 0.000 0.000 14.400 18.240 0.000 }
lastyearexpense = { 80.211 7.400 0.000 0.000 0.000 0.000 0.000 0.000 24.000 145.542 0.000 97.028 0.000 0.000 0.000 0.000 }
lastmonthincome = 21.732
lastmonthexpense = 28.990
}
basevp = { 78.066 -102.954 5.000 111.583 1.000 0.000 -51.000 }
vp = 41.696
vp = 0.000
lastbankruptcy = { year = 0 month = january day = 0 }
war = { year = 1587 month = august day = 8 }
lastpeace = { year = 1584 month = january day = 4 }
.
.
.
cancelledloans = 0
extendedloans = 0
warexhaustion = 3.733
treasury = 1440834304.000
estimation = 21.732
income = 1.000
inflation = 0.073
beuraucracy = 1.000
revolt = 0.000
manpower = 8.000
landmaintenance = 1.000
navalmaintenance = 1.000
navalpercentage = 0.100
landpercentage = 0.500
tepercentage = 0.200
pepercentage = 0.200
stabilitypercentage = 0.000
treasurypercentage = 0.000
.
.
.
changedreligion = { year = 1552 month = may day = 0 }
tax = 0
missionpercentage = 0.000
missiontype = 1
missionareaname = ""
missionname = ""
missionarea = { }
.
.
.
technology = {
land = { date = { year = 1584 month = may day = 2 } level = 16 value = 998.542 }
naval = { date = { year = 1584 month = august day = 25 } level = 11 value = 1444.654 }
stability = { date = { year = 1562 month = may day = 0 } level = 3 value = 4.508 }
trade = { date = { year = 1584 month = april day = 16 } level = 3 value = 5855.074 }
infra = { date = { year = 1583 month = november day = 27 } level = 3 value = 10493.055 }
group = orthodox
 
A savefile just before the bug could be very helpful (in order to see if it happens with regularity) but figures are already helpful.

For you, just edit this insane treasury and change to something like 100.000
 
YodaMaster said:
A savefile just before the bug could be very helpful (in order to see if it happens with regularity) but figures are already helpful.

For you, just edit this insane treasury and change to something like 100.000
that's quiet impossible to do( unless saving every year other then overwriting autosave), simplly becouse it takes a while for player to notice the "wrong" or overconfident ai behaviour.

edit: i WOULD do that actually (saving, etc). BUT the problem is that this bug has approximate odds of 1 happening in 10 or 12, or maybe even more.(only once had it TWICE happening in the same game).

i would stronglly believe it has to do with tag changing( 4 nations that i can remember MUST have had this happening around those specific, tag changing times...)
 
Last edited:
beregic said:
that's quiet impossible to do( unless saving every year other then overwriting autosave), simplly becouse it takes a while for player to notice the "wrong" or overconfident ai behaviour.
I know. This is the problem with this bug. But we could have good luck one day.
 
YodaMaster said:
I know. This is the problem with this bug. But we could have good luck one day.
observations on this issue( 4 recent cases that i remember( ming, britain, transylvania, and maharity empire, forgat that name)...)

- ALL had this happening after changing tag (in the sense of becoming a new nation, not sure if there are diffrent types of "tag" editing).
- all involved ctd's( NOT when changing the tag necesarrybut a bit afterwards like 5-10 years or so). maybe this is just a coincidence becouse only when reloading ai starts building all possible forts = it shows to the player that something must have gone wrong.
- the numbers are NOT the same. i should have had them copy in exact numbers and then try to do some mathematical derivatives, might show a specific number that is an increment, who knows...
- all the nations had increased agressivness, but not sure why, maybe just coincidence or the ai file is suppose to be as such. or just plain logic; infinite money= infinite wars.possibilities, etc. even if i doubt that a bit since ai does not seem to increase its agressivness at all ONLY based on its cash.
- with britain's exception(even there i am not sure becouse if i remeber well scotland was forced iherited sort of speak) , all those nations came to life by "forced" events
 
something must be wrong with the venice ottoman war from 1460's to 1490's. one of the few remining ctds that always happens in the second phase of the war. by that i mean that the moment ottos starts making headways and kills venice troops...bamm ctd. the same way around if venice manages to clean the major ottoman troops.

now i know this has something to do with ai falling "asleep". but for this particula war there is always the ctd :( ( and frustrating)
 
beregic said:
now i know this has something to do with ai falling "asleep". but for this particula war there is always the ctd :( ( and frustrating)
Are you sure this is not elsewhere on the map? Do you have a savefile just before the CTD?
 
YodaMaster said:
Are you sure this is not elsewhere on the map? Do you have a savefile just before the CTD?
i keep forgetting to do that :mad: ...especially since when dowing venice (as ottos) i always get the ctd a few months into the war.i better remember next time (save AFTER dowing).
 
I thought I was getting a lot of revolts. :D

Code:
#(1466-1468) A suitor for Duke Charles' Daughter
event = {
	id = 164090
	trigger = {
		monarch = 046002 #Edward IV
		event = 164089 #ENG: Elizabeth Woodeville
		exists = BUR
		NOT = {
			war = { country = ENG country = BUR }
		}
	}
	random = no
	country = ENG
	name = "EVENTNAME164090" #A Suitor for Duke Charles's Daughter
	desc = "EVENTHIST164090"

	date = { day = 1 month = january year = 1466 }
	offset = 200
	deathdate = { day = 29 month = december year = 1468 }

	action_a = {
		name = "ACTIONNAME164090A" #Decline Philippe's offer, but remain favourable
		command = { type = relation which = BUR value = 25 }
		command = { type = relation which = FRA value = -25 }
	}
	action_b = {
		name = "ACTIONNAME164090B" #Agree to Philippe's offer, Clarence will wed Mary
		command = { type = stability value = -1 }
		command = { type = relation which = BUR value = 100 }
		command = { type = relation which = FRA value = -50 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = provincetax which = 245 value = 1 } #Lincoln
		command = { type = provincetax which = 247 value = 1 } #Anglia
		command = { type = provincetax which = 248 value = 1 } #Kent
		command = { type = provincetax which = 249 value = 1 } #Wessex
		command = { type = sleepevent which = 164092 } #ENG: Margaret of York and Charles Duke of Burgundy
	}
	action_c = {
		name = "ACTIONNAME164090C" #Suggest Gloucester instead
		command = { type = stability value = -2 }
		command = { type = [COLOR=DeepSkyBlue]revoltrisk which = 3 value = 60[/COLOR] }
	}
}
 
Code:
#(1545-1648) The Dutch Revolt is successful!

#Friesen version
event = {
	id = 337044
	trigger = {
		NOT = {
			AND = {
				NOT = {
					core = { province = 385 data = -1 } #Ile de France - not exempt FRA
					AND = {
						core = { province = 387 data = -1 } #Franche Comte - not exempt SPA, BUR and HAB
						NOT = { #BUR exempted under conditions
							AND = {
								flag = [Brussels]
								exists = HOL
							}
						}
					}
					core = { province = 371 data = -1 } #Tirol, plugs a hole for HAB
				}
				core = { province = 337 data = -1 } #exempt FRI
				AND = {
					core = { province = 339 data = -1 }
					countrysize = 1 #exempt HAU only if capital can't be relocated
					NOT = {
						flag = [HollandClaim] #not exempt FRI and ENG
						flag = [DutchClaim] #not exempt PFA, MUN and KLE
					}
				}
			}
		}
		exists = HOL
		flag = [DutGenEst]
		NOT = { event = 3808 } #Friesland joins the Netherlands
		NOT = { event = 186009 } #Friesland was owned by the Netherlands
	}
	random = no
	province = 337 #Friesen
	name = "EVENTNAME_DUTCHSUCCESS" #The Union of Utrecht claims independence
	desc = "EVENTHIST_DUTCHSUCCESS"
	#-#In 1579... [snip]

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

	action_a = {
		name = "ACTIONNAME_DUTCHSUCCESSA" #Those 'Gueux' must pay!
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = casusbelli which = HOL value = 24 }
	}
}

As far as I've understood it, this event is not supposed to fire for Friesland, is that correct? Even more so, it is not supposed to fire for HOL (Netherlands), because that would make very little sense, would it not? Well it needs fixing if my assumptions are correct.
I played Friesland and turned into HOL in 1560. Only weeks after I get this event, which cedes Holland to myself. As my capital is in Holland, it got randomly moved to Friesland before I got the province "back" from myself. So that is a problem.

I saved only moments before getting the event (as I know that changing tags usually cause problems) and reloaded to get rid of the quite annoying capital-move. Well, blimey if it isn't the same event firing at start-up again!* So it wasn't caused by the tag-change thing, but rather some error in the event. Possibly it would suffice by adding a simple

Code:
NOT = { country =  HOL }
but I'll leave that judgement to you guys.

Anyway, there's no problem since the second event don't seem to have moved the capital (and if it had, I know how to edit), but it is still erroneous (or so I suspect).

*Something I'll post in the SCT thread.
 
Mats_SX said:
Code:
#(1545-1648) The Dutch Revolt is successful!

#Friesen version
event = {
	id = 337044
	trigger = {
		NOT = {
			AND = {
				NOT = {
					core = { province = 385 data = -1 } #Ile de France - not exempt FRA
					AND = {
						core = { province = 387 data = -1 } #Franche Comte - not exempt SPA, BUR and HAB
						NOT = { #BUR exempted under conditions
							AND = {
								flag = [Brussels]
								exists = HOL
							}
						}
					}
					core = { province = 371 data = -1 } #Tirol, plugs a hole for HAB
				}
				core = { province = 337 data = -1 } #exempt FRI
				AND = {
					core = { province = 339 data = -1 }
					countrysize = 1 #exempt HAU only if capital can't be relocated
					NOT = {
						flag = [HollandClaim] #not exempt FRI and ENG
						flag = [DutchClaim] #not exempt PFA, MUN and KLE
					}
				}
			}
		}
		exists = HOL
		flag = [DutGenEst]
		NOT = { event = 3808 } #Friesland joins the Netherlands
		NOT = { event = 186009 } #Friesland was owned by the Netherlands
	}
	random = no
	province = 337 #Friesen
	name = "EVENTNAME_DUTCHSUCCESS" #The Union of Utrecht claims independence
	desc = "EVENTHIST_DUTCHSUCCESS"
	#-#In 1579... [snip]

	date = { day = 1 month = january year = 1555 }
	offset = 30
	deathdate = { day = 1 month = january year = 1648 }

	action_a = {
		name = "ACTIONNAME_DUTCHSUCCESSA" #Those 'Gueux' must pay!
		command = { type = secedeprovince which = HOL value = 337 } #Friesen
		command = { type = casusbelli which = HOL value = 24 }
	}
}

As far as I've understood it, this event is not supposed to fire for Friesland, is that correct? Even more so, it is not supposed to fire for HOL (Netherlands), because that would make very little sense, would it not? Well it needs fixing if my assumptions are correct.
I played Friesland and turned into HOL in 1560. Only weeks after I get this event, which cedes Holland to myself. As my capital is in Holland, it got randomly moved to Friesland before I got the province "back" from myself. So that is a problem.

I saved only moments before getting the event (as I know that changing tags usually cause problems) and reloaded to get rid of the quite annoying capital-move. Well, blimey if it isn't the same event firing at start-up again!* So it wasn't caused by the tag-change thing, but rather some error in the event. Possibly it would suffice by adding a simple

Code:
NOT = { country =  HOL }
but I'll leave that judgement to you guys.

Anyway, there's no problem since the second event don't seem to have moved the capital (and if it had, I know how to edit), but it is still erroneous (or so I suspect).

*Something I'll post in the SCT thread.

Also startdate date should be 1579 for this event
 
Toio said:
Also startdate date should be 1579 for this event

I don't think so. It has the date that it has to make sure that the Netherlands "grow" when they first appear. If they appear earlier, those events don't really make sense if they happen decades later.
 
Mats_SX said:
*Something I'll post in the SCT thread.
I'd like to see it.

It is strange because as Netherlands, you should have a core on Friesen and thus be exempted just like Friesland... :confused:

And, of course, I'm very interested in the savefile just before the event.
 
Last edited: