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

gossamer

First Lieutenant
79 Badges
Apr 14, 2007
285
0
  • Europa Universalis IV: El Dorado
  • Sword of the Stars II
  • Starvoid
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • War of the Roses
  • War of the Vikings
  • 500k Club
  • Cities: Skylines
  • Sword of the Stars
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Battle for Bosporus
  • Europa Universalis IV: Conquest of Paradise
  • Arsenal of Democracy
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • A Game of Dwarves
  • 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
  • King Arthur II
  • Lead and Gold
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Ok of course I used the editor because it works well for adding removing provinces and countries. I unfortunately used it for Armies... and behold I have a ton of database errors which crash the game after loading my scenario. I need help identifying these database numbers so I can fix them.

-30201
-30204
-30205
-30206
-30251
-30254
-30255
-30252
-30256
-30253

I know it has to do with duplicate armies because I'm guessing the editor is not smart enough to realize this. I know what they should do in the next patch... make the editor work!
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
What you should do is open the editor, go to scenario window, load the scenario which chrashes, open the check window, press check OOB. voila all dublicate ID's will shown with country names. Open the INC file in a text editor
change id's or delete units whatever you prefere.

Sofar as i have noticed the problem with the editor is that i does not record what you have added correctly unless you shut it down and reload it.

Mostlikely it is enough to just reload the scenario everytime you have changed one thing. This is a mayor drawback, so ultimately i will suggest the most used advice given in these forums. Never never never use the editor, for anything else than control of files.
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
Weird, you are sure its dublicate id's in units ?

I have never had the editor not spotting these errors.

What does it precisely say when you get error message when loading ?

If you have a text editor that are able to search for text in multiple files you could use that to search for these numbers in the inc files. Notepad++ is a free texteditor with this capability.

If you dont have such a program and dont want to dl one. You could open the hoi editor and use that to see what country has what id's. Last method is brute force open one file at the time and note id's
 
Last edited:

gossamer

First Lieutenant
79 Badges
Apr 14, 2007
285
0
  • Europa Universalis IV: El Dorado
  • Sword of the Stars II
  • Starvoid
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • War of the Roses
  • War of the Vikings
  • 500k Club
  • Cities: Skylines
  • Sword of the Stars
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Battle for Bosporus
  • Europa Universalis IV: Conquest of Paradise
  • Arsenal of Democracy
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • A Game of Dwarves
  • 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
  • King Arthur II
  • Lead and Gold
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
The official hoi2 editor gives you the country id #s? Where abouts?

EDIT: I'm going through the inc files myself and have determines that 30201 and 30204 are used by the FRG... but those numbers are not duplicated anywhere to my knowledge.

I've uploaded my scenario with include files... can somebody check it over for me please?

http://www.mediafire.com/?11gmkgzl2ah
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
Code:
gossamerscenario\ww1\[COLOR=Red]csa.inc[/COLOR]]
Line 485 :     id       = { type = 30201 id = 1 }
Line 495 :     id       = { type = 30201 id = 2 }
Line 505 :     id       = { type = 30201 id = 3 }
Line 515 :     id       = { type = 30201 id = 4 }
Line 525 :     id       = { type = 30201 id = 5 }
Line 534 :   { id       = { type = 30201 id = 6 }
gossamerscenario\ww1\[COLOR=Red]DFR.inc[/COLOR]]
Line 106 :   { id       = { type = 30201 id = 1 }
gossamerscenario\ww1\[COLOR=Red]holland.inc[/COLOR]]
Line 151 :   { id       = { type = 30201 id = 1 }
Line 167 :   { id       = { type = 30201 id = 2 }
Line 183 :   { id       = { type = 30201 id = 3 }
Line 199 :   { id       = { type = 30201 id = 4 }
Line 215 :   { id       = { type = 30201 id = 5 }
gossamerscenario\ww1\[COLOR=Red]hungary.inc[/COLOR]]
Line 118 :   { id       = { type = 30201 id = 1 }
Line 143 :   { id       = { type = 30201 id = 2 }
Line 166 :   { id       = { type = 30201 id = 3 }
Line 190 :   { id       = { type = 30201 id = 4 }
gossamerscenario\ww1\[COLOR=Red]yugoslavia.inc[/COLOR]]
Line 104 :   { id       = { type = 30201 id = 1 }
Line 116 :   { id       = { type = 30201 id = 2 }
Line 140 :   { id       = { type = 30201 id = 3 }
Line 158 :   { id       = { type = 30201 id = 4 }
Line 176 :   { id       = { type = 30201 id = 5 }
Line 193 :   { id       = { type = 30201 id = 6 }
Line 217 :   { id       = { type = 30201 id = 7 }
Line 241 :   { id       = { type = 30201 id = 8 }
Line 258 :   { id       = { type = 30201 id = 9 }
a search for id 30201 produced this result

It seems like the editor cant find dublicate Id's made by itself. :confused:
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
Code:
gossamerscenario\ww1\france.inc]
Line 986 :   { id       = { type = 30253 id = 1 }
Line 1012 :     id       = { type = 30253 id = 2 }
Line 1024 :     id       = { type = 30253 id = 3 }
Line 1036 :     id       = { type = 30253 id = 4 }
Line 1056 :     id       = { type = 30253 id = 5 }
gossamerscenario\ww1\japan.inc]
Line 1481 :     id       = { type = 30253 id = 1 }
Line 1493 :     id       = { type = 30253 id = 2 }
Line 1505 :     id       = { type = 30253 id = 6 }
Line 1515 :   { id       = { type = 30253 id = 7 }
Line 1528 :   { id       = { type = 30253 id = 8 }
Line 1541 :   { id       = { type = 30253 id = 10 }
Search for 30253
 

Gormadoc

Darkest Hour Developer (Semi-Retired)
19 Badges
Sep 1, 2004
3.765
4
  • Hearts of Iron II: Beta
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron II: Armageddon
  • 500k Club
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III Complete
  • Deus Vult
-30204 :csa.inc;yugoslavia.inc,holland.inc,dfr.inc,hungary.inc
-30205 :csa.inc;yugoslavia.inc,holland.inc
-30206 :csa.inc,yugoslavia.inc;hungary.inc
-30251 :france.inc,japan.inc,ott.inc
-30254 :france.inc,japan.inc,ott.inc
-30255 :france.inc,japan.inc
-30252 :france.inc,japan.inc
-30256 :france.inc,japan.inc
 

gossamer

First Lieutenant
79 Badges
Apr 14, 2007
285
0
  • Europa Universalis IV: El Dorado
  • Sword of the Stars II
  • Starvoid
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • War of the Roses
  • War of the Vikings
  • 500k Club
  • Cities: Skylines
  • Sword of the Stars
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Battle for Bosporus
  • Europa Universalis IV: Conquest of Paradise
  • Arsenal of Democracy
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • A Game of Dwarves
  • 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
  • King Arthur II
  • Lead and Gold
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Arg.... in attempt to fix it, I've created two more database issues

-30906
-30934

I can't mass search .inc files and I have to go to school. If you have free time could you check for those two, please?

Thanks!
 

unmerged(58571)

Field Marshal
Jul 1, 2006
6.288
0
gossamer said:
Database Error: ID 30201/# is already in use

Something like that
I'd just like to point out the importance in noting the exact type number in this kind of error message in the future.

Other than that, any attempt to use the editor to correct errors will only cause more errors, it's a bit like using Microsoft products to improve computer performance.