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

ourg

Captain
Oct 29, 2019
396
1.372

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

error log spam when looking at tooltip on battle travel point of interest

Description​

when looking at the tooltip of some point of interest, sometime the error log spam some error:

[20:02:05][E][jomini_script_system.cpp:284]: Script system error!
Error: var:battle_poi_brave_knight trigger [ Failed context switch ]
Script location: file: common/customizable_localization/08_bp3_battle_poi_custom_loc.txt line: 168 (BattlePoIDescriptionLocMid)

[20:02:05][E][jomini_script_system.cpp:284]: Script system error!
Error: var:battle_poi_brave_knight trigger [ Failed context switch ]
Script location: file: common/customizable_localization/08_bp3_battle_poi_custom_loc.txt line: 178 (BattlePoIDescriptionLocMid)

[20:02:05][E][jomini_script_system.cpp:284]: Script system error!
Error: var:battle_poi_brave_knight trigger [ Failed context switch ]
Script location: file: common/customizable_localization/08_bp3_battle_poi_custom_loc.txt line: 277 (BattlePoIDescriptionLocOutcome)

[20:02:05][E][jomini_script_system.cpp:284]: Script system error!
Error: var:battle_poi_brave_knight trigger [ Failed context switch ]
Script location: file: common/customizable_localization/08_bp3_battle_poi_custom_loc.txt line: 291 (BattlePoIDescriptionLocOutcome)

Steps to reproduce​

load save, look at battle point fo interest in county of Tao. load the tooltip and check the error log

Game Version​

1.16.1

Platform​

Windows

Additional Information​

Affected Feature​

  • Interface

Save Game​

View attachment Karling_867_01_01.ck3

Other Attachments​



 
Upvote 0
I've foudn out the fix :

in common/customizable_localization 08_bp3_battle_poi_custom_loc.txt

we have 4 trigger var:battle_poi_brave_knight = { }

we need to write them var:battle_poi_brave_knight ?= {