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

Rotten Venetic

Field Marshal
6 Badges
Jun 10, 2006
4.289
10
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • 500k Club
I added some events in the China.txt file in my personal mod of Darkest Hour Full, and I'd just cleaned up the syntax when the game hits me with this error message, during scenario loading ofc:

2mxjz44.png


What gives?

Line 50 in the file is this:
Code:
    id = 2012002

The ID of the Falkenhausen recalled event for the Nats. I haven't done anything to that event, or the one before and first in the file (Nanking massacre), or the one below... the first modification I made to the file is line 87, in the following event.

Now my mod is unusable because of a stupid error I don't know how to fix. Anybody have ideas?

Regarding the version, I'm running the 1.02 public beta patch.

Edit: Sorry about the stupid folder name. Working title, I'll fix it.
 

Rotten Venetic

Field Marshal
6 Badges
Jun 10, 2006
4.289
10
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • 500k Club
I only have the final version of the file, and the vanilla one in the unmodded DH Full folder. The last correction I did was from "sleep_event" to "sleepevent" in line 4261, as counted by notepad++.

Enclosed is the modded file only, there's no real need to attach the vanilla one since I haven't touched it.

View attachment china.txt

Be advised, you might be offended if you read the event descriptions.

Edit: I don't think it's a bracket problem, the event = {} brackets at least all align properly.
 

Rotten Venetic

Field Marshal
6 Badges
Jun 10, 2006
4.289
10
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • 500k Club
I've:

1. Renamed my mod folder
2. Restarted the computer
3. Checked all the events in the mod folder, and in another mod's folder (A World To Win), and there are no errors, and hardly any occurrences of a deathdate event line on spot 50.
4. Deleted A World To Win (it's WIP and I can get it back later)

I still get the error. I've localized the problem at either my china.txt file or the japan.txt file, which only has some references to the extra events and the extra country involved (U67, replaces defunct Fengtian clique).


Edit: I had some events at the end of the file where the date was ahead of the event name. I've edited the file to have all the dates below, just before the actions. Now, the error gives line 53.

Edit-edit: Never mind, it was the most banal problem possible: one of the event descriptions was too long, and had to be moved to a Config file. The events work now; sorry for bringing this to the Tech Support forum, and I appreciate your time. If someone could close or delete this thread.
 
Last edited: