• 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.
Status
Not open for further replies.

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
[1.3 RC1] possible issues showing up in the validator

Issues found for leaders in DH full, see attached text file. The loyalty of 8 may or may not be intended, the others look like c&p errors.
 

Attachments

  • DH Validation Error Log2.txt
    51,4 KB · Views: 336
Last edited:
Upvote 0

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
AI issues:
Code:
Validation Error Log
----------------------------------------------------------


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_ground.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-35.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_naval.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-40.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_strategic.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-30.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_supremecy.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-40.0000' on node 'nukestriketolerance' must be a double 0 or above.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ast_1933.ai [military] (218, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ast_1936.ai [military] (218, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ast_1939.ai [military] (218, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ast_1940.ai [military] (218, 1):
The sum of division production weights must be equal to 100.

Duplication Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\chi_1939.ai [flags] (3, 1):
There may be no duplications of a String clause.
There were 2 duplicates.
	[I142|L3|C109]: RES = yes
	[I44|L3|C11]: RES = yes

Duplication Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\chi_1940.ai [flags] (3, 1):
There may be no duplications of a String clause.
There were 2 duplicates.
	[I142|L3|C109]: RES = yes
	[I44|L3|C11]: RES = yes

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\IND_1936.ai [military] (130, 1):
The sum of division production weights must be equal to 100.

Duplication Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ita_1939.ai [flags] (4, 1):
There may be no duplications of a String clause.
There were 2 duplicates.
	[I178|L4|C121]: RES = yes
	[I91|L4|C34]: RES = yes

Duplication Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ita_1940.ai [flags] (4, 1):
There may be no duplications of a String clause.
There were 2 duplicates.
	[I178|L4|C121]: RES = yes
	[I91|L4|C34]: RES = yes

Duplication Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\ita_1941.ai [flags] (4, 1):
There may be no duplications of a String clause.
There were 2 duplicates.
	[I189|L4|C132]: RES = yes
	[I91|L4|C34]: RES = yes

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\JAP_1914.ai [military] (301, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\pol_1936.ai [military] (217, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\pol_1939.ai [military] (217, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\SPA_1914.ai [military] (228, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\spa_1936.ai [military] (239, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\spa_1939.ai [military] (238, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\spa_1940.ai [military] (240, 1):
The sum of division production weights must be equal to 100.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\U01_1941.ai [desperation] (15, 1):
The value '1.1' on node 'desperation' must be a value between 0.0 and 1.0, inclusive.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\U42_1936.ai [military] (154, 2):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\U73_1936.ai [military] (264, 1):
The sum of division production weights must be equal to 100.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\FRA_Free.ai [desperation] (11, 1):
The value '1.1' on node 'desperation' must be a value between 0.0 and 1.0, inclusive.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\ger_build_mix.ai [military] (7, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\GER_Build_Navy.ai [military] (7, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\JAP_Build_Fort_Stop.ai [military] (12, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\jap_china.ai [military] (22, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\sov_build_panic.ai [military] (6, 1):
The sum of division production weights must be equal to 100.

Constraint not Met
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\USA_Build_Standard.ai [military] (6, 1):
The sum of division production weights must be equal to 100.

----------------------------------------------------------
End of Validation Error Log
 

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
unitnames.csv has entries with V1 and V2 as unit type, these are Flak-Regiment xx. Is this a valid unit type?
Am I right to assume unit type 27 is CVL and 31 CVE or is it vice versa? Division file shows both as 27.
Is NA a valid minister loyalty? Found for example in ministers_fla.csv
 
Last edited:

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
PRU techteams without skill specified:
Code:
Validation Error Log
----------------------------------------------------------

Type Mismatch Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\db\tech\teams\teams_pru.csv [Entry[12]\3] (13, 45):
"" is not a valid Int.

Type Mismatch Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\db\tech\teams\teams_pru.csv [Entry[13]\3] (14, 47):
"" is not a valid Int.

Type Mismatch Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\db\tech\teams\teams_pru.csv [Entry[14]\3] (15, 22):
"" is not a valid Int.

Type Mismatch Error
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\db\tech\teams\teams_pru.csv [Entry[15]\3] (16, 31):
"" is not a valid Int.

----------------------------------------------------------
End of Validation Error Log
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
Thank you

#2174

unitnames.csv has entries with V1 and V2 as unit type, these are Flak-Regiment xx. Is this a valid unit type?
Yes, V1 and V2 are valid unit types (used for flying bombs and rockets). I have no clue if Flak-Regiment is a correct name for these.

Am I right to assume unit type 27 is CVL and 31 CVE or is it vice versa? Division file shows both as 27.
27 is Escort Carrier, 31 is Light Carrier. You can check \Mods\Darkest Hour Full\db\units\division_types.txt for all types and IDs.

Is NA a valid minister loyalty? Found for example in ministers_fla.csv
Yes. These are all valid settings: Very Low, Low, Medium, High, Very High, Undying, NA
BTW Loyalty is obsolete and is not used in DH.
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
AI issues:
Code:
Validation Error Log
----------------------------------------------------------


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_ground.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-35.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_naval.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-40.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_strategic.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-30.0000' on node 'nukestriketolerance' must be a double 0 or above.


At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\air_supremecy.ai [air_marshal\nukestriketolerance] (49, 2):
The value '-40.0000' on node 'nukestriketolerance' must be a double 0 or above.

Not a bug for DH.
nukestriketolerance in DH is used used as starting value in Nuke evaluation - higher it is, more often the AI will use nukes and it is recommended to be set a bit under 0.0 (like -50 to -20) to order AI to nuke bigger enemy core provinces.
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
Code:
At D:\Hoi2 - Darkest Hour 13\Mods\Darkest Hour Full\ai\switch\FRA_Free.ai [desperation] (11, 1):
The value '1.1' on node 'desperation' must be a value between 0.0 and 1.0, inclusive.

desperation of 1.1 is perfectly valid value as it is equal to: 1 + MaxICinNationalProvincesWeControl/MaxICinAllNationalProvinces + 0.1 (if our capital is in enemy control).
This means the value can be from 0 (no national IC provinces and capital lost) to 1.1 (all national IC provinces AND the capital are under enemy control).
 
Status
Not open for further replies.