• Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

unmerged(36838)

Recruit
Dec 11, 2004
8
0
I've created a scenario by hand, and done basically all the debugging I know how to do. I've made sure no provinces are owned by multiple countries, checked to make sure all countries' provinces were listed as known provinces, and checked the { } to make sure they're all closed.

Yet when I load the scenario, I get the following error:

line = 3876
Illegal toplevel object
"ownedprovinces = {"
Abort - Retry - Ignore

I click ignore, and get

Scenario files had errors
Abort - Retry - Ignore

at that point no matter what I click EU crashes.
 

tombom

CAPTAIN WILDCHILD
47 Badges
May 3, 2004
1.759
25
  • Crusader Kings II: Conclave
  • Semper Fi
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Victoria: Revolutions
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Try making sure that the ownedprovinces is in a country block , i.e.

country = {
tag = SPR
ownedprovinces = { 234 245 }
}
 

unmerged(36838)

Recruit
Dec 11, 2004
8
0
I checked the whole thing for errors, but found nothing like that apparently obvious. If anyone would be willing to look at it (and I know it's a lot to ask) it can be found at http://bluestem.freeserverhost.com/Euramerican Campaign.eug . Please ignore the HTML code inserted in there by my evil hosting service. :mad:

Thank you.

You may note that it is just a .eug file, and not the usual .eug linked to an .inc file. That is because it is based on a randomly generated scenario from Moctezuma's Scenario Generator, which I did because I don't know enough about EU to make the files from scratch.
 

unmerged(36838)

Recruit
Dec 11, 2004
8
0
Also, for those that are curious, this is meant to be something of an alternate history, where Eurasian cultures developed in the Americas and American cultures developed in the Americas.
 

Nikolai II

A bunny with a hat
118 Badges
Nov 18, 2001
9.188
2
www.giantitp.com
  • Majesty 2 Collection
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • Lost Empire - Immortals
  • Magicka
  • For the Motherland
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Crusader Kings III
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
bluestem said:
I checked the whole thing for errors, but found nothing like that apparently obvious. If anyone would be willing to look at it (and I know it's a lot to ask) it can be found at http://bluestem.freeserverhost.com/Euramerican Campaign.eug . Please ignore the HTML code inserted in there by my evil hosting service. :mad:
Do you think you could change the extension to be .txt instead - the formatting makes it completely illegible for me.. sorry.
(I can't do it myself from work and I'm busy this evening.. if you can't do it just remind me in about 38 hours time from this post and I'll check if I can just save the file to disk and change extension myself)


edit: The likely error is a } too much in the line before though.. but I can't tell for sure without looking.
 

Nikolai II

A bunny with a hat
118 Badges
Nov 18, 2001
9.188
2
www.giantitp.com
  • Majesty 2 Collection
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • Lost Empire - Immortals
  • Magicka
  • For the Motherland
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Crusader Kings III
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
I can't count lines in notepad, but I don't need to ;)

Slightly below tag = HAN your knownprovinces ends with double brackets, thus closing the country statement and thereby making the ownedprovinces = { 102 88 } into an illegal toplevel object.

Just remove one } of the }} and that part of the scenario will be fixed, then give her a spin and see if that was the only error. (It is the only double-closed knownprovinces at least, but I haven't looked for any other errors or tested it) Good luck :)
 

unmerged(36838)

Recruit
Dec 11, 2004
8
0
Thank you!! I fixed the error you found, but now I am getting a "database mismatch" message in addition to "scenario files had errors". Do you have any idea what that could be? :confused:
 

Nikolai II

A bunny with a hat
118 Badges
Nov 18, 2001
9.188
2
www.giantitp.com
  • Majesty 2 Collection
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • Lost Empire - Immortals
  • Magicka
  • For the Motherland
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Crusader Kings III
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
Database mismatch is often that monarchs or leaders have the same ID#, so now it is time to look at all them I guess (does the generator create them for you?)

All monarchs and leaders nust have unique IDs.
 

unmerged(36838)

Recruit
Dec 11, 2004
8
0
I had changed a leader file a while back for a different scenario. I neglected to put in different IDs and therefore had the same IDs for leaders from two different countries. I got the same message after fixing that, though--and I haven't edited any other leader or monarch files. I did go through all the owned provinces in the scenario, making sure none of them overlapped (and I found a few errors there). I still get the same messages though.

I would greatly appreciate it if you went through the scenario file, but I can understand if you don't want to... I know it can be very time-consuming. In any case, thank you very much for your help so far!
 

Nikolai II

A bunny with a hat
118 Badges
Nov 18, 2001
9.188
2
www.giantitp.com
  • Majesty 2 Collection
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • Lost Empire - Immortals
  • Magicka
  • For the Motherland
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Crusader Kings III
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
Any overlaps in controlled provinces then? Any province 0 in the 'knownprovinces' list?

If you put up your revised file I could try to start it and see what it says (and perhaps take a quick peek again)