• 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.
If I'm not mistaken, validator don't throw errors about missing "desc" and "picture" in events, but do so for missing "name" in event options. Could it be possible to give errors about all of them as long there isn't "hide_window = yes" and just "picture" as long as event is "letter_event".

This seems reasonable. So pictures are required for letter events or, required for non-letter events? Does anyone have an objection to this, as well as requiring at least one option when there is no hide_window=yes?

Looks like it is able to open my text editor for Text Files, but not for default.map
Post your text editor settings and I'll try to take a look (it may be fault of the text editor; validator doesn't have problems opening .map files in general).
 
Sorry I wasn't too clear, I meant "picture" is not required for "letter_event".

So "letters_event" should give error about missing "desc" and option "name". Events with "hide_window = yes" should not give any errors. And any other case should give error about missing "desc", "picture" and option "name".
 
Version v1.7 RC12 has been released: https://www.dropbox.com/s/waxruxvvr3osudg/Audax.Validator v1.7 RC12.rar

If I did not reply to you, then you issue should be fixed, but of course report again if it doesn't seem to be.

Please keep reporting false positives with the Validator, and they will likely get fixed. If you are reporting a false positive, it is very useful to copy the error message into the post - you can just select the error message, then press Ctrl+C to copy it.

If no issues are reported on either the Eu4 or Ck2 forums for a week, then a final 1.7 will be released and it will be the last version until a new patch comes out.
 
Post your text editor settings and I'll try to take a look (it may be fault of the text editor; validator doesn't have problems opening .map files in general).

I use Notepad++ when I mod. .map files are not associated with it and when I try to open the default.map file, Windows gives me the error:'Error while sending the command to the program' and opens an empty instance of Visual Studio.
 
I use Notepad++ when I mod. .map files are not associated with it and when I try to open the default.map file, Windows gives me the error:'Error while sending the command to the program' and opens an empty instance of Visual Studio.

Did you point the Validator to Notepad++ in File -> Options -> Text Editor?

I have
Path: <the path to notepad++>\Notepad++.exe
Command Line: {0} -n{1}
 
There is a theoretical false positive, but in practice it is not... sorta.... I'll explain.

As of 2.1.5.6, the game should support for variable operations (check_variable, set_variable, change_variable, and the new ones added in the patch itself to support not only the par <which, value>, but also the pair <which, whch>. Nevertheless, at the moment that teature is not functioning correctly (or at least I suspect so, I've reported it but got no official answer). So I think that in the future the error of variable operations requiring a value field should not fire if two chich values are set.

P.S. I've yet to try today's version, so forgive me if it has been changed now.
 
Some false postives to report:

Code:
--- Error 1 of 1 ---
At <mod>\common\cb_types\AGOT_cb_types.txt [dejure_kingdom_claim\can_use_title\OR\AND\OR\AND\capital_scope] (Line 489, column 7):
Invalid node "capital_scope" in scope TitleTrigger (value is: <a complex type>)
capital_scope is valid in a title scope

Code:
--- Error 1 of 1 ---
At <mod>\history\characters\crownlands.txt [2029039\8289.1.1\add_matrilineal_spouse] (Line 1810, column 3):
Invalid node "add_matrilineal_spouse" in scope DateClause (value is: 77104)

--- Error 1 of 1 ---
At <mod>\history\characters\crownlands ancestors.txt [30509005\disallow_random_traits] (Line 5608, column 2):
Invalid node "disallow_random_traits" in scope Character (value is: yes)
These two were added as valid character history entries in recent patches

Code:
--- Error 1 of 1 ---
At <mod>\history\characters\north.txt [2087\8297.6.1\effect\remove_nickname] (Line 2224, column 14):
Invalid node "remove_nickname" in scope CharHistoryEffect (value is: yes)
I know this new command accepts yes as an argument, not sure if ROOT/FROM etc are though


Code:
--- Error 1 of 1 ---
At <mod>\history\characters\stormlands ancestors.txt [1317\7999.1.1\effect\graphical_culture] (Line 387, column 4):
Invalid node "graphical_culture" in scope CharHistoryEffect (value is: western_valyrian)
This new effect/trigger accepts any culture as an argument


Code:
--- Error 1 of 1 ---
At <mod>\decisions\minor_decisions.txt [decisions\adopt_matrilineal_lineage\potential\OR\AND\is_married_matrilineally] (Line 912, column 6):
Invalid node "is_married_matrilineally" in scope CharTrigger (value is: no)

--- Error 1 of 1 ---
At <mod>\events\adventures_the_old_gods.txt [character_event\immediate\liege\capital_scope\random_independent_ruler\limit\NOT\is_allied_with] (Line 2234, column 15):
Invalid node "is_allied_with" in scope CharTrigger (value is: ROOT)
These two are fairly self-explanatory

Code:
--- Error 1 of 1 ---
At <mod>\events\dothraki_events.txt [character_event\immediate\if\FROM\capital_holding] (Line 3585, column 5):
Invalid node "capital_holding" in scope CharCommand (value is: <a complex type>)


--- Error 1 of 1 ---
At <mod>\events\dynastic_feud_events.txt [character_event\trigger\top_liege\any_realm_lord\dynasty_head] (Line 39, column 5):
Invalid node "dynasty_head" in scope CharTrigger (value is: <a complex type>)
These new scopes are valid in a character scope

Code:
--- Error 1 of 1 ---
At <mod>\common\cultures\misc.txt [jogos_nhai_group\jogos_nhai\character_modifier] (Line 765, column 3):
Invalid node "character_modifier" in scope CultureDef (value is: <a complex type>)
This can now be added to culture entries

Code:
--- Error 1 of 1 ---
At <mod>\decisions\iron_throne_decisions.txt [decisions\create_e_iron_throne\allow\OR\AND\custom_tooltip\hidden_tooltip\any_realm_title\count] (Line 47, column 9):
Invalid node "count" in scope TitleTrigger (value is: 4)
This can now be added to any trigger scope to check for number of matches

Code:
--- Error 1 of 1 ---
At <mod>\events\bankruptcy_events.txt [letter_event\option\FROM\opinion\mutliplier] (Line 2589, column 5):
Invalid node "mutliplier" in scope OpinionCommand (value is: 0.5)
These can be used to modify an opinion modifiers value

Code:
--- Error 1 of 1 ---
At <mod>\events\bastard_events.txt [character_event\option\if\random_child\set_mother] (Line 2189, column 5):
"0" is not a valid ThisChar.
set_mother and set_father accept 0 as an argument, which in effect removes the parent


Code:
--- Error 1 of 1 ---
At <mod>\history\characters\AGOT.txt [14500001] (Line 2210, column 1):
No death found for character.

--- Error 1 of 1 ---
At <mod>\events\ambition_events.txt [character_event] (Line 6860, column 1):
This event needs a picture.

--- Error 1 of 1 ---
At <mod>\events\battle_events.txt [character_event] (Line 4493, column 1):
This event needs a desc.
And one request, could flags please be added for these in the setting files so these warnings are ignored? I have a lot of these appearing in my mod :)

Thanks!
 
Just a general question, has anyone managed to run this on WINE?
 
Some false positives:
Code:
--- Error 1 of 1 ---
At <mod>\common\technology.txt [TECH_GROUP_MILITARY\TECH_CAVALRY\modifier\WAR_ELEPHANTS_DEFENSIVE] (Line 29, column 4):
Invalid node "WAR_ELEPHANTS_DEFENSIVE" in scope JunkModifiers (value is: 0.3)

--- Error 1 of 1 ---
At <mod>\common\technology.txt [TECH_GROUP_MILITARY\TECH_CAVALRY\modifier\CAMEL_CAVALRY_DEFENSIVE] (Line 28, column 4):
Invalid node "CAMEL_CAVALRY_DEFENSIVE" in scope JunkModifiers (value is: 0.3)

--- Error 1 of 1 ---
At <mod>\common\technology.txt [TECH_GROUP_MILITARY\TECH_CAVALRY\modifier\WAR_ELEPHANTS_OFFENSIVE] (Line 25, column 4):
Invalid node "WAR_ELEPHANTS_OFFENSIVE" in scope JunkModifiers (value is: 0.3)

--- Error 1 of 1 ---
At <mod>\common\technology.txt [TECH_GROUP_MILITARY\TECH_CAVALRY\modifier\CAMEL_CAVALRY_OFFENSIVE] (Line 23, column 4):
Invalid node "CAMEL_CAVALRY_OFFENSIVE" in scope JunkModifiers (value is: 0.3)

Code:
--- Error 1 of 1 ---
At <mod>\common\cb_types\00_cb_types.txt [duchy_adventure\on_reverse_demand\ROOT\if\has_character_flag] (Line 4964, column 11):
Invalid node "has_character_flag" in scope CharIfClause (value is: obj_expand_by_conquest_taken)

Code:
--- Error 1 of 1 ---
At <mod>\decisions\marriage_decisions_W.txt [decisions\ai_marriage_elven\potential\any_independent_ruler\any_realm_character\is_lowborn] (Line 430, column 6):
Invalid node "is_lowborn" in scope CharTrigger (value is: no)
This was added in patch.

Code:
--- Error 1 of 1 ---
At <mod>\events\on_action_events.txt [diploresponse_event] (Line 2425, column 1):
This event needs a picture.
diploresponse_event should act the same as letter_event.
 
Some false postives to report:

Code:
--- Error 1 of 1 ---
At <mod>\common\cb_types\AGOT_cb_types.txt [dejure_kingdom_claim\can_use_title\OR\AND\OR\AND\capital_scope] (Line 489, column 7):
Invalid node "capital_scope" in scope TitleTrigger (value is: <a complex type>)
capital_scope is valid in a title scope

Code:
--- Error 1 of 1 ---
At <mod>\history\characters\crownlands.txt [2029039\8289.1.1\add_matrilineal_spouse] (Line 1810, column 3):
Invalid node "add_matrilineal_spouse" in scope DateClause (value is: 77104)

--- Error 1 of 1 ---
At <mod>\history\characters\crownlands ancestors.txt [30509005\disallow_random_traits] (Line 5608, column 2):
Invalid node "disallow_random_traits" in scope Character (value is: yes)
These two were added as valid character history entries in recent patches

Code:
--- Error 1 of 1 ---
At <mod>\history\characters\north.txt [2087\8297.6.1\effect\remove_nickname] (Line 2224, column 14):
Invalid node "remove_nickname" in scope CharHistoryEffect (value is: yes)
I know this new command accepts yes as an argument, not sure if ROOT/FROM etc are though


Code:
--- Error 1 of 1 ---
At <mod>\history\characters\stormlands ancestors.txt [1317\7999.1.1\effect\graphical_culture] (Line 387, column 4):
Invalid node "graphical_culture" in scope CharHistoryEffect (value is: western_valyrian)
This new effect/trigger accepts any culture as an argument


Code:
--- Error 1 of 1 ---
At <mod>\decisions\minor_decisions.txt [decisions\adopt_matrilineal_lineage\potential\OR\AND\is_married_matrilineally] (Line 912, column 6):
Invalid node "is_married_matrilineally" in scope CharTrigger (value is: no)

--- Error 1 of 1 ---
At <mod>\events\adventures_the_old_gods.txt [character_event\immediate\liege\capital_scope\random_independent_ruler\limit\NOT\is_allied_with] (Line 2234, column 15):
Invalid node "is_allied_with" in scope CharTrigger (value is: ROOT)
These two are fairly self-explanatory

Code:
--- Error 1 of 1 ---
At <mod>\events\dothraki_events.txt [character_event\immediate\if\FROM\capital_holding] (Line 3585, column 5):
Invalid node "capital_holding" in scope CharCommand (value is: <a complex type>)


--- Error 1 of 1 ---
At <mod>\events\dynastic_feud_events.txt [character_event\trigger\top_liege\any_realm_lord\dynasty_head] (Line 39, column 5):
Invalid node "dynasty_head" in scope CharTrigger (value is: <a complex type>)
These new scopes are valid in a character scope

Code:
--- Error 1 of 1 ---
At <mod>\common\cultures\misc.txt [jogos_nhai_group\jogos_nhai\character_modifier] (Line 765, column 3):
Invalid node "character_modifier" in scope CultureDef (value is: <a complex type>)
This can now be added to culture entries

Code:
--- Error 1 of 1 ---
At <mod>\decisions\iron_throne_decisions.txt [decisions\create_e_iron_throne\allow\OR\AND\custom_tooltip\hidden_tooltip\any_realm_title\count] (Line 47, column 9):
Invalid node "count" in scope TitleTrigger (value is: 4)
This can now be added to any trigger scope to check for number of matches

Code:
--- Error 1 of 1 ---
At <mod>\events\bankruptcy_events.txt [letter_event\option\FROM\opinion\mutliplier] (Line 2589, column 5):
Invalid node "mutliplier" in scope OpinionCommand (value is: 0.5)
These can be used to modify an opinion modifiers value

Code:
--- Error 1 of 1 ---
At <mod>\events\bastard_events.txt [character_event\option\if\random_child\set_mother] (Line 2189, column 5):
"0" is not a valid ThisChar.
set_mother and set_father accept 0 as an argument, which in effect removes the parent


Code:
--- Error 1 of 1 ---
At <mod>\history\characters\AGOT.txt [14500001] (Line 2210, column 1):
No death found for character.

--- Error 1 of 1 ---
At <mod>\events\ambition_events.txt [character_event] (Line 6860, column 1):
This event needs a picture.

--- Error 1 of 1 ---
At <mod>\events\battle_events.txt [character_event] (Line 4493, column 1):
This event needs a desc.
And one request, could flags please be added for these in the setting files so these warnings are ignored? I have a lot of these appearing in my mod :)

Thanks!

1) capital_scope in title trigger is really a thing?
2) "mutliplier" is misspelled, i think it's actually implemented
3) Event.NoNonHideWindowChecks will disable desc/picture (with new version)
4) CharacterHistory.NoDeathDateNeeded will do the death date thing (with new version)
 
Version v1.7 RC13 has been released: https://www.dropbox.com/s/3dzcl4za1qfn3kp/Audax.Validator v1.7 RC13.rar

If I did not reply to you, then you issue should be fixed, but of course report again if it doesn't seem to be.

Please keep reporting false positives with the Validator, and they will likely get fixed. If you are reporting a false positive, it is very useful to copy the error message into the post - you can just select the error message, then press Ctrl+C to copy it.

If no issues are reported on either the Eu4 or Ck2 forums for a week, then a final 1.7 will be released and it will be the last version until a new patch comes out.
 
1) capital_scope in title trigger is really a thing?
Yeah indeed, it scopes from a title to it's dejure capital province.

2) "mutliplier" is misspelled, i think it's actually implemented
Ah sorry, did not notice!

3) Event.NoNonHideWindowChecks will disable desc/picture (with new version)
4) CharacterHistory.NoDeathDateNeeded will do the death date thing (with new version)
Thanks!
 
This will sound like a big ask but one thing I would love to see is a validator option of checking that every title in landed_titles folder that is count and above has an entry in gfx/flags, this would make it easier to find out which flags is missing as one missing screws up the rest.
 
This will sound like a big ask but one thing I would love to see is a validator option of checking that every title in landed_titles folder that is count and above has an entry in gfx/flags, this would make it easier to find out which flags is missing as one missing screws up the rest.

Last time I checked it already did that.
 
The latest version seems unable to find my mods. For every mod I try to validate, (and they are well installed, and were succesfully validated by previous versions), it throws this error:

Mod not found: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\Princes_of_Darkness_v_0.1.6 - developement
Mods in system: A Game of Thrones, AGoT - Pirates and merchants, Birthright2, Chunqiu Zhanguo, [Required] CK2+ Core (2.07.2), Crisis of the Confederation, BLC for Diadochi Kings, Diadochi Kings, HIP - Historical Immersion Project, -Les Trois Tours-, Lux Invicta v0.6J1, Pirates and merchants, Princes of Darkness_v_0.1.6, Succubus improvement alpha, Thedas Kings
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\agecustomizer.mod [Missing the 'path' attribute. Even if you have set 'archive', the Validator cannot read zip files. You must set the 'path' attribute and unzip the files to where the 'path' attribute specifies.]
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\better gender law mod.mod [Token "=" at line 6, column 48 is part of a list and thus must be a literal.]
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\fotranytier.mod [Missing the 'path' attribute. Even if you have set 'archive', the Validator cannot read zip files. You must set the 'path' attribute and unzip the files to where the 'path' attribute specifies.]
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\magnate lords.mod [Missing the 'path' attribute. Even if you have set 'archive', the Validator cannot read zip files. You must set the 'path' attribute and unzip the files to where the 'path' attribute specifies.]
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\personal_castle.mod [Missing the 'path' attribute. Even if you have set 'archive', the Validator cannot read zip files. You must set the 'path' attribute and unzip the files to where the 'path' attribute specifies.]
[Error] Could not load mod file: C:\Users\Pedro\Documents\Paradox Interactive\Crusader Kings II\mod\swmh_for_L3T.mod [Unexpected end of file following literal.]
 
Two false positives to report:

1) attribute_diff requires three different inputs: character, attribute, and value. Currently, putting anything other than "martial" for attribute causes the validator to report an error. It says "martial" is the expected input, though any attribute will do. (so: diplomacy, martial, stewardship, intrigue, learning)

2) is_allied_with is a new trigger added by the latest patch. It accepts all regular inputs (FROM, ROOT, etc.)