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

Veldmaarschalk

Cool Cat
151 Badges
Apr 20, 2003
30.108
1.792
  • 200k Club
  • 500k Club
I have the feeling that this event doesn't fire as much as it should.

Currently I have a realm that mostly is situated in central Italy and my capital is Genoa, but I also have Yperen and Brugge and Mecca in my demesne. Yperen and Brugge for about 20 years now and Mecca for almost 6 years, but the event hasn't fired yet.
 

Justinian_A

Emperor of the East
86 Badges
Dec 14, 2004
1.254
0
  • Crusader Kings II: Way of Life
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Victoria: Revolutions
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV
  • Crusader Kings II
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Come to think of it, I've not seen it fire either ever since 1.05 came out.
 

unmerged(21937)

Your Industrial Friend
Nov 15, 2003
9.557
1
Ok, quick check reveals that it's actually bugged.

The trigger starts:

Code:
	trigger = {
		#this trigger limit is a temporary fix for the issue of the event triggering when human-controlled ruler is at sea
		#needs to be replaced in future with area exclusions for sea zones in each of the areas
		condition = { type = and
			condition = { type = not value = { type = ai } }
			condition = { type = owner
				condition = { type = location
					condition = { type = or
						condition = { type = terrain value = Ocean }
						condition = { type = terrain value = River }			
						condition = { type = terrain value = Sea }
					}
				}
			}
		}
		#end of temporary trigger condition

Which means it can only fire for humans if they are on sea, ocean or rivers.

It should instead be:

Code:
	trigger = {
		#this trigger limit is a temporary fix for the issue of the event triggering when human-controlled ruler is at sea
		#needs to be replaced in future with area exclusions for sea zones in each of the areas
		condition = { type = and
			condition = { type = not value = { type = ai } }
			condition = { type = not value = { type = owner
				condition = { type = location
					condition = { type = or
						condition = { type = terrain value = Ocean }
						condition = { type = terrain value = River }			
						condition = { type = terrain value = Sea }
					}
				}
			} }
		}
		#end of temporary trigger condition

With a negation there, so instead it will not fire when rulers are at seas.

EDIT: And this bug is present in 5417 and 5418 as well.
 

Veldmaarschalk

Cool Cat
151 Badges
Apr 20, 2003
30.108
1.792
  • 200k Club
  • 500k Club
Thanks for fixing the bug so quick.

Because I already was so used in having my demesne close together, to prevent the event from firing at all, I hadn't noticed it yet.

I think most players who have played with the public beta, do that to in 1.05 so they don't notice it that the event doesn't fire.

Players who only have played with 1.05 don't know the event so they didn't miss it. :)
 

Veldmaarschalk

Cool Cat
151 Badges
Apr 20, 2003
30.108
1.792
  • 200k Club
  • 500k Club
I have made this correction, but now get an error each time I load a scenario, can it be I am missing a bracket ?

Code:
id = 5416
	picture = "event_town"

	trigger = {
		#this trigger limit is a temporary fix for the issue of the event triggering when human-controlled ruler is at sea
		#needs to be replaced in future with area exclusions for sea zones in each of the areas
		condition = { type = and
			condition = { type = not value = { type = ai } }
			condition = { type = not value = { type = owner
				condition = { type = location
					condition = { type = or
						condition = { type = terrain value = Ocean }
						condition = { type = terrain value = River }			
						condition = { type = terrain value = Sea }
					}
				}
			}
		}
		#end of temporary trigger condition
 
Last edited:

unmerged(21937)

Your Industrial Friend
Nov 15, 2003
9.557
1
It's hard to read in that form, but I reckon you might. Observe that there is more than one line changed. See:

Code:
	trigger = {
		#this trigger limit is a temporary fix for the issue of the event triggering when human-controlled ruler is at sea
		#needs to be replaced in future with area exclusions for sea zones in each of the areas
		condition = { type = and
			condition = { type = not value = { type = ai } }
			condition = { [color=blue]type = not value = {[/color] type = owner
				condition = { type = location
					condition = { type = or
						condition = { type = terrain value = Ocean }
						condition = { type = terrain value = River }			
						condition = { type = terrain value = Sea }
					}
				}
			} [color=blue]}[/color]
		}

The ones in blue were added.
 

Veldmaarschalk

Cool Cat
151 Badges
Apr 20, 2003
30.108
1.792
  • 200k Club
  • 500k Club
Well I have finally fixed the bug, I didn't saw that small } but the event still hasn't fired for Brugge, Brugge has been part of my demesne for 40 years now.

Yperen and Mecca I have given to vassals.

I will try to lower the mtth, to see if it works at all.

EDIT

Without lowering the MTTH, the event fired for Naples, so it is working now

napolirevolt.jpg
 
Last edited: