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

Palaiologos

Colonel
84 Badges
Apr 23, 2007
905
380
  • Europa Universalis IV: Common Sense
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis: Rome
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Art of War
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • 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
  • King Arthur II
  • Europa Universalis IV: Res Publica
Description of issue
All nations do NOT have Illusive gentemen

Game Version
latest beta

Enabled DLC
All of the above

Do you have mods enabled?
No

Description
Hungary, and I guess others, have the same problem with the illusive gentleman advisor(apperas and dissappears). There is an error in the trigger text file, a guy posted it yesterday IIRC.

Steps to Reproduce


Upload Attachment
 
Upvote 0

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Code:
$ awk '/head_of_intelligence/ { if (a) print a; if (b) print b; if (c) print c; if (d) print d; if (e) print e;if (f) print f;} {a=b;b=c;c=d;d=e;e=f;f=$0;}' *

                        allowed = {
                                original_tag = ENG
                                has_dlc = "La Resistance"
                        }

                                        original_tag = CHI
                                        is_chinese_warlord = yes
                                }
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = PRC
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = FRA
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = GER
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = ITA
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = JAP
                                has_intelligence_agency = yes
                        }


                        allowed = {
                                original_tag = POL
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = SOV
                                has_dlc = "La Resistance"
                        }


                        allowed = {
                                original_tag = USA
                                has_dlc = "La Resistance"
                        }

JAP is the only country with the bug. Any other country not listed here simply doesn't have the advisor. @podcat stated that they were planning to give access to the advisor to all nations, but I guess it wasn't done yet in the current hotfix (they'll have to add advisor to all nations, and come up with unique names)
 

pyrofreakpenguin

Private
47 Badges
Feb 28, 2019
14
1
  • Magicka
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis 4: Emperor
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Campus
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Mare Nostrum
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Stellaris: Federations
  • Europa Universalis IV: Common Sense
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: Third Rome
  • Cities: Skylines Industries
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
This bug is for the beta patch available now of Steam, 1.9.1_beta. See the changelog for balance:
- every country should now have access to a minister to unlock an extra operative slot

Activating that patch, you will have access to an Illusive Gentleman.

Code:
generic_head_of_intelligence = {
            allowed = {
                has_dlc = "La Resistance"
                NOT = {
                    OR = {
                        tag = XSM
                        tag = SIK
                        tag = SHX
                        tag = YUN
                        tag = GXC
                    }
                }
            }
            visible = {
                NOT = {
                    has_available_idea_with_traits = { idea = head_of_intelligence limit = 1 } #welcome to Gabriel's shitty script solution corner. This means this thing will be in a bunch of countriies' database, just not shown, which will no doubt cause absolutely no issues and doesn't impact performance
                }
            }
            available = {
                has_intelligence_agency = yes
            }
            traits = { head_of_intelligence }

            ai_will_do = {
                factor = 1
                modifier = {
                    has_intelligence_agency = no
                    factor = 0
                }
            }
        }

Also note the wonderful comment.
 

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
I can confirm.

Ran a few games of Portugal really quick. The Illusive Gentleman exists at the start of the game but will disappear from the list around the time I build the intelligence agency.
Are you certain? I just started a '36 Portugal game and I did not see the advisor immediately on start up. From the code before and below, this shows the countries that are currently allowed to have the advisor:

Code:
$ grep head_of_intel *
britain.txt:                    traits = { head_of_intelligence }
china.txt:                      traits = { head_of_intelligence }
comchina.txt:                   traits = { head_of_intelligence }
france.txt:                     traits = { head_of_intelligence }
germany.txt:                    traits = { head_of_intelligence }
italy.txt:                      traits = { head_of_intelligence }
japan.txt:                      traits = { head_of_intelligence }
poland.txt:                     traits = { head_of_intelligence }
soviet.txt:                     traits = { head_of_intelligence }
usa.txt:                        traits = { head_of_intelligence }
 

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
Are you certain? I just started a '36 Portugal game and I did not see the advisor immediately on start up. From the code before and below, this shows the countries that are currently allowed to have the advisor:

Code:
$ grep head_of_intel *
britain.txt:                    traits = { head_of_intelligence }
china.txt:                      traits = { head_of_intelligence }
comchina.txt:                   traits = { head_of_intelligence }
france.txt:                     traits = { head_of_intelligence }
germany.txt:                    traits = { head_of_intelligence }
italy.txt:                      traits = { head_of_intelligence }
japan.txt:                      traits = { head_of_intelligence }
poland.txt:                     traits = { head_of_intelligence }
soviet.txt:                     traits = { head_of_intelligence }
usa.txt:                        traits = { head_of_intelligence }
OK, I'm not running 1.9.1 yet
 

pyrofreakpenguin

Private
47 Badges
Feb 28, 2019
14
1
  • Magicka
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis 4: Emperor
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Campus
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Mare Nostrum
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Stellaris: Federations
  • Europa Universalis IV: Common Sense
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: Third Rome
  • Cities: Skylines Industries
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
The original report could have been clearer on the version.

Screenshot for general reference.
E082EC99387652BC4E89E33AE01A53298D5E2C8B
 

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
I can confirm.

Ran a few games of Portugal really quick. The Illusive Gentleman exists at the start of the game but will disappear from the list around the time I build the intelligence agency.
OK, so your bug is with 1.9.1 and has the advisor appearing, then disappearing, being quite illusive. I'd say the problem is the with VISIBLE statement, as that it what got JAP into trouble in the first place. Quite ironic its with that specific statement.
 

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
So, just loaded 1.9.1. It looks like they did not fix Japan, as it is still using the VISIBLE statement, unlike the other majors where it works fine. Further they used the VISIBLE statement on the zzz_generic.txt countries, giving them similar problems with Japan. Looks like the VISIBLE statement is unreliable at best.
 

Altair.1689

Private
47 Badges
Sep 26, 2018
12
0
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Galaxy Edition
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Sengoku
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
steps to reproduce
create an inteligence agency, once you do that the illusive gentleman will disappear.

edit: so eliminating the VISIBLE paragrahp should keep the illusive gentlemen without dissapearing once you create de agency(it seems)
 
Last edited:

podcat

Game Director
Paradox Staff
12 Badges
Jul 23, 2007
12.793
38.305
  • Europa Universalis IV
  • Hearts of Iron III
  • Semper Fi
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Paradox Order
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
hmm yeah looks like the visible setting will turn off because you unlock the actual minister too. probably needs a check if thats happened. Thanks for the catch!
 
Last edited:

podcat

Game Director
Paradox Staff
12 Badges
Jul 23, 2007
12.793
38.305
  • Europa Universalis IV
  • Hearts of Iron III
  • Semper Fi
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Paradox Order
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
We ended up needing a code fix for this case. it should be in the next open beta updae
 

Dan1109

Field Marshal
32 Badges
May 18, 2014
2.719
227
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
We ended up needing a code fix for this case. it should be in the next open beta updae


cool, so VISIBLE now works correctly then and can be used without worries by modders?