Victoria 3

Victoria 3

Alert Settings (obsolete)
52 Comments
Torakka  [author] 19 Sep, 2023 @ 9:35am 
THIS MOD IN NOW OBSOLETE AND NO LONGER SUPPORTED!

Patch 1.5 implements better alert customisation functionality than this mod can ever provide, so this mod is no longer needed and will not be supported further. Sincerely thank you, Paradox!
Latest game version this mod supports in 1.2.7 (but there's probably no good reason to keep using that old version).
Torakka  [author] 22 May, 2023 @ 8:00am 
It will take some time for me to make this compatible with patch 1.3. Apologies in advance
Torakka  [author] 17 May, 2023 @ 1:11am 
@mike.kharchenk I'm not sure what alerts you mean, so can't answer for certain, but this should allow customisation of every alert, i.e. all of the little bubbles that show up at the top of the screen or in the Current Situation bubble
mike.kharchenk 16 May, 2023 @ 5:41am 
Does this include an option to turn on or off war alerts for pinned nations?
Torakka  [author] 24 Mar, 2023 @ 2:01am 
Patch 1.2.7 has no changes to 00_alert_types.txt, so this mod should remain compatible
Torakka  [author] 17 Mar, 2023 @ 2:20pm 
Updated to work with game version 1.2.4
Paradox added new alerts and changed few previously existing alerts. This mod incorporates those changes.
I did not update non-English localisations yet
Torakka  [author] 13 Mar, 2023 @ 1:34am 
I have currently quite limited time for modding, but I'll try to get this updated for 1.2 within a week or two at most (depending on the extent of the changes to alerts in 1.2)
Thadom570 26 Dec, 2022 @ 11:11pm 
Alert Settings is included in Victoria III Improvement Collection 維多利亞三世改進系列 (V1.1.0 12/26/22). With 88 working mods. I provide you with the order list you just copy and paste, No sorting manual work needed, enjoy!
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2882898702
Torakka  [author] 14 Dec, 2022 @ 7:25am 
Patch 1.1.2 has no changes to 00_alert_types.txt, so this mod should remain compatible (and I didn't spot any issues when I quickly tested just now)
Torakka  [author] 11 Dec, 2022 @ 10:11am 
Updated to work with game version 1.1.1
Paradox added one new alert and removed three previously existing alerts. This mod incorporates those changes
Torakka  [author] 5 Dec, 2022 @ 1:30am 
This mod most like is not currently compatible with patch 1.1. I'll try to update it soon
Thadom570 19 Nov, 2022 @ 9:51am 
Gotta test.
Acrivec 19 Nov, 2022 @ 7:42am 
Yup, fixed, good job
Torakka  [author] 19 Nov, 2022 @ 2:54am 
I uploaded an updated version with slightly changed localisations for game rules for battalions and flotillas in reserve. They no longer try to query GetPlayer.GetBattalionsInReserve or GetPlayer.GetWarshipsInReserve (when selecting game rules, the alerts themselves have their normal localisation). Those four alerts were the only ones that had dynamic elements in their game rule localisations, the others I had already changed before publishing first version of this mod.

Hopefully this fixes the crashing issue for you. I can't verify it myself since I had no issues (or even errors in error.log) with the previous version.
Acrivec 18 Nov, 2022 @ 9:54am 
Removing all lines regarding "reserve" in alert_settings_game_rules_l_english removes crashes.
That's all debugging I'm going to do, the rest is up to you.
Acrivec 18 Nov, 2022 @ 9:37am 
Also I'd like to add that after random time in-game, I get stuck General Idle and Warfront Empty notifications (with no tooltip), and one invisible (there's current situation one, then space for one, then those 2 stuck ones).

No technology researched notification appears only once.
Acrivec 18 Nov, 2022 @ 9:35am 
Deleting english localisation files fixes the crash.

I'm playing English victoria on English W10.
Torakka  [author] 16 Nov, 2022 @ 1:31pm 
Try deleting the mod's English localisation files, if your game is in English (or only that alert_settings_game_rules_l_english.yml file). Localisation files for the languages your game is not in shouldn't be used at all, so it would have been extremely strange if deleting them had any effect.
IronSlug 16 Nov, 2022 @ 12:42pm 
I'm on a french win10 but the game is in english. I've tried deleting all loc files except english, with no success.
Torakka  [author] 16 Nov, 2022 @ 11:48am 
What language and operating system you, who are suffering from crashes, are using?
I'm on Win10 with both the OS and the game in English and I haven't had a single crash myself (which is, in general, of course nice, but makes debugging this pretty much impossible for me)

I have no idea what could be causing crashes for you, but wild guesses would be something like localisation files having some problems with non-English languages or non-Win10 operating systems. If you want to test it out, try to delete alert_settings_game_rules_l_[language].yml file from the mod's folder and see if it still crashes for you
Thadom570 16 Nov, 2022 @ 10:41am 
@IronSlug try just using this mod like i did see how you fare. It still crashes for me.
IronSlug 16 Nov, 2022 @ 9:49am 
I have the same problem as @Thadom69, crash when scrolling down in the game menu, could it be due to an incompatibility? I'm using tons of mods to try and fix this game.
Thadom570 15 Nov, 2022 @ 11:09am 
Oh and i basically cheated to be able to play, i just loaded my "saved options" and guess what after about a year or 2 when notifications come up they don't go away, it's buggy.
Thadom570 15 Nov, 2022 @ 11:08am 
After the rogue .06 update game crashes when you scroll down to edit the changes. I know this because i had my game on the whole time since the night before the patch. Then when the patch came out mid day i closed and restarted, and then the crashing started.
Torakka  [author] 15 Nov, 2022 @ 10:43am 
@Thadom69
Do you mean that this mod used to work for you with no crashes and then started to crash some time ago?
I haven't made any changes after the original release, since the hotfixes had no changes to alerts (and thus this mod didn't need updating)
Thadom570 15 Nov, 2022 @ 10:38am 
I got used to this mod, it's amazing, now i'm lost i hope it's fixed soon, i'm glad it's just not me.
Torakka  [author] 15 Nov, 2022 @ 9:51am 
Or just remove the parts of mod's localisation file related to those army and navy reserve rules
Torakka  [author] 15 Nov, 2022 @ 9:47am 
@Acrivec
Thanks for trying to debug this (since I can't as my game doesn't crash)
Could you try leaving those that game rule file as it is, but deleting localisation file \localization\[your language] /alert_settings_game_rules_l_english.yml?
Acrivec 15 Nov, 2022 @ 9:47am 
Why do I spend time searching for bugs that aren't in my mod lol.
Acrivec 15 Nov, 2022 @ 9:36am 
There's
alert_settings_rule_has_army_troops_in_reserve_peace_time_alert
and
alert_settings_rule_has_navy_troops_in_reserve_peace_time_alert
section after government goods... which is very similar to previous one.

There's something wrong with your mod trying to access army and navy troops in reserve, both while in peace and war.



So, for people reading this

TL;DR:
Remove sections ( text + { } after) beginning with

alert_settings_rule_has_navy_troops_in_reserve_alert

alert_settings_rule_has_army_troops_in_reserve_alert

alert_settings_rule_has_army_troops_in_reserve_peace_time_alert

alert_settings_rule_has_navy_troops_in_reserve_peace_time_alert


from
SteamLibrary\steamapps\workshop\content\529340\2881093726\common\game_rules\alert_settings_game_rules.txt
Acrivec 15 Nov, 2022 @ 9:32am 
Removing sections
alert_settings_rule_has_navy_troops_in_reserve_alert
and
alert_settings_rule_has_army_troops_in_reserve_alert
Shifts crash from Mobilised Generals to scrolling past Expensive Government Goods.
Searching for the crash after Expensive Governmet goods now...
Acrivec 15 Nov, 2022 @ 9:17am 
Removing all lines between mobilized idle general and alert_settings_rule_trade_route_needs_convoys_alert
makes the game crash after scrolling to goods alert, therefore something between those is causing a crash..
There's also something after them.
Acrivec 15 Nov, 2022 @ 9:09am 
Crash is caused by file alert_settings_game_rules.txt; removing content below line 65 stops crashing. Check there.
Acrivec 15 Nov, 2022 @ 8:57am 
Mod crashes when scrolling down options in new game.
Crashes when trying to get new line after Idle Mobilized General one.
Torakka  [author] 14 Nov, 2022 @ 11:12pm 
@Thadom 69
That is really odd and sounds to be the same issue Soter - Dave reported two weeks ago.I have no idea what could cause it and can't really debug it myself, since I have no issues myself.
Sadly, I might not be able to help with this. =(
Thadom570 14 Nov, 2022 @ 4:18pm 
So i verified, unsubscribed all mods. add just this one. and it crashes. Prior to playing a new game I click game rules, then attempt to scroll down, then it crashes.
It's in english. It does not crash without your mod. my installation path is valid.
Torakka  [author] 14 Nov, 2022 @ 1:40pm 
@Thadom 69

I'm sorry, but I can't see anything odd in that log. Is your game in English or some other language and does it crash even if you verify game files and start the game without my mod?

I really can't understand how this mod could cause CTD (and only for some people), so I suspect it might be something else. Actually, does your Victoria or Workshop mods installation path (i.e. most likely your Steam installation path) contain some other characters than A-Z or 0-9?
Thadom570 14 Nov, 2022 @ 1:06pm 
@ Torakka I've unsubscribed, then resubscribed, no change in crash. I only have loaded this mod. Here is the log file 4:05 PM EST.

https://www.dropbox.com/s/raqdeujery3gv90/debug.log?dl=0
Torakka  [author] 14 Nov, 2022 @ 9:51am 
@Thadom69
Is you game in English or some other language? Do you have any other mods active?
Or even better, could you start the game with -debug_mode flag, try to reproduce that CTD yourself and, if it crashes, check out what error.log and debug.log say?
Thadom570 14 Nov, 2022 @ 7:08am 
It's crashing when i scroll down, i can't pick options before i start a game.
Torakka  [author] 14 Nov, 2022 @ 1:59am 
1.0.6 hotfix has no changes to 00_alert_types.txt, so this mod should remain compatible
Torakka  [author] 13 Nov, 2022 @ 11:22pm 
This mod is working and you can choose where each alert is shown. However, I haven't done anything to the triggers of those alerts, so if some alert X appears in situation Y in the base game (and doesn't appear is situation Z), then it will behave exactly same way with this mod. The only difference is that you have decided whether it appears as a separate alert or within the current situation bubble.

(Or well, this mod also allows you to disable alerts that you don't want to see at all)
Thadom570 13 Nov, 2022 @ 5:05pm 
What you did, is it working now?
Torakka  [author] 6 Nov, 2022 @ 11:17pm 
@Soter - Dave
Okay, I can't reproduce that CTD on my end. Do you have any other mods active? Or even better, could you start the game with -debug_mode flag, try to reproduce that CTD yourself and, if it crashes, check out what error.log and debug.log say?

@Arcimbaldo
Those are issues already in unmodded game, although of course they are more visible if you've set them as separate alerts.

Obligation one checks for
player_owed_obligation_days_left > 0
player_owed_obligation_days_left <= 365
and if that trigger for some reason thinks you own obligation to yourself, then the alerts will show.

Somewhat similarly, interest slot one checks for
num_declared_interests < max_num_declared_interests
and there doesn't seem to be any sanity checks for situation like yours.
Arcimbaldo 6 Nov, 2022 @ 1:45pm 
This is great, but two issues I've noticed:

-sometimes you get a notification saying that an obligation is expiring from yourself to yourself, which obviously is impossible and doesn't make any sense

-if your navy is so large that you still have free Interest slots open despite having already declared an Interest in every Strategic Region in the game, such that you can't declare more Interests, you still get the notification for having free Interests, and there seems to be no way to dismiss it
Soter - Dave 6 Nov, 2022 @ 4:22am 
It is in english
Ferrous 4 Nov, 2022 @ 7:27pm 
yes please
Torakka  [author] 3 Nov, 2022 @ 7:06am 
@Soter - Dave
Is your game in English or some other language?
Soter - Dave 3 Nov, 2022 @ 5:15am 
When I mouse over the government reform section in the game rules screen I get a CTD
Torakka  [author] 2 Nov, 2022 @ 2:19am 
1.0.4 hotfix has no changes to 00_alert_types.txt, so this mod should remain compatible (and I didn't spot any issues when really quickly testing it a moment ago)