• 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.
fsp said:
I now started a new game as the US, the game ran very stable for about 1.5 years of playing time. Germany chose a Russia first strategy and is close to St. Petersburg, whilst it is stuck in Belgium. I experienced a CTD which has to do with Latvian independence I guess.
I can (unfortunately) reproduce this CTD every single time I load my autosave, it already crashes on the loading screen now when "Initializing Scripts". Anybody care for the save game? The history.txt reads as follows:

1915-03-00 : 0:00 April 1, 1915 : Germany went with Grant limited independence. in Create a puppet Latvia?.

1915-03-00 : 0:00 April 1, 1915 : Russia had Latvian independence .

1915-03-00 : 0:00 April 1, 1915 : Germany had Tributary Latvia .

These events are effected by a similar difficulty. Countries cannot give independence to territories that they do not control - in this example, Russia are trying to give independence to Latvia, when they don't own them. It's best to fix these by putting a '#' infront of the line referring to the russia.txt event files....or you can open the file itself up and remove anything that says 'Random Eastern European Country is Free!'.

These events are yet to be thoroughly fixed - I hope someone has a proper solution by early March. :)
 
Actually, I also recently encountered a problem with the Tributary Latvia event (21104 in germany.txt). (And yes, that's a spoiler for my AAR :( ). As a temporary fix, I rewrote the trigger conditions to be:

Code:
    trigger = { 
        NOT = { 
            control =  { province = 708 data = RUS } 
            control =  { province = 712 data = RUS } 
            control =  { province = 713 data = RUS } 
        } 
        owned = { province = 709 data = GER } 
    }
- changing "control" to "owned" for province 709. (The same for the other Tributary... events). This stopped the event activating when Germany occupied Riga. Hopefully, if and when Germany annexes Russia (and thus owns the province) the event will fire. I've not got to that stage in my game yet. :)

Sadly, there doesn't seem to be any non-crashing way to allow Latvia to become independent while Germany and Russia are still at war; I've tried giving the independence event to both Russia and to Germany, and also getting Russia to secede the provinces to Germany first (that triggers an immediate CTD). Forcing a peace between them, then seceding the province, then declaring war again is both incredibly clumsy and wouldn't work anyway, because Germany would lose control of all the Russian provincs she previously occupied as soon as the peace happened.

We may have to abandon the whole "setting up puppet states in occupied territory" thing, unless somebody else can find a way to fix it. Shame, it worked perfectly under 1.04; why did Paradox have to go and change it? :confused:
 
Allenby said:
Are you saying that Japan joins the Entente without waging war on the Central Powers? I'm not entirely sure it has something to do with war entry, as Britain doesn't seem to have a problem with joining the Entente and going to war with Germany when Belgium's neutrality is violated.

I've solved this one. The Japanese event 28001 has as its action
command = { type = alliance which = ENG }
which has no effect in HoI (althugh it would have if this were EU2, presumably). There are only three alliances, and if England isn't in the Entente at the time the event activates, nothing will happen.

We need to rewrite this event so that its action is:
command = { type = war which = GER }
which should work, especially since one of the triggers for the event already checks that ENG is at war with GER.

I can foresee similar problems with Rumanian event 47002, which has
command = { type = alliance which = RUS }
as a command. I suggest adding the line
war = { country = FRA country = U11 }
to its trigger conditions, then making the relevant command line
command = { type = alliance which = FRA }
instead. (FRA is leader of the Entente alliance, so this should always work)

Likewise for US event 58505: instead of
command = { type = alliance which = ENG }
It should have
command = { type = war which = GER }
 
StephenT said:
I've solved this one. The Japanese event 28001 has as its action
command = { type = alliance which = ENG }
which has no effect in HoI (althugh it would have if this were EU2, presumably). There are only three alliances, and if England isn't in the Entente at the time the event activates, nothing will happen.

We need to rewrite this event so that its action is:
command = { type = war which = GER }
which should work, especially since one of the triggers for the event already checks that ENG is at war with GER.

Wouldn't this simply put Japan at war with Germany without aligning it with the Entente?


StephenT said:
I can foresee similar problems with Rumanian event 47002, which has
command = { type = alliance which = RUS }
as a command. I suggest adding the line
war = { country = FRA country = U11 }
to its trigger conditions, then making the relevant command line
command = { type = alliance which = FRA }
instead. (FRA is leader of the Entente alliance, so this should always work)

Perhaps we should use the above template. :)

For Japan, for example:
- check for war = { country = ENG country = GER }
- check for alliance = { country = ENG country = FRA }
- trigger command = { type = alliance which = FRA }
 
Doc said:
Tried this to fix the 5 Aug 1914 CTD. It still crashes... :(

Ah.

That means you did it wrong.

Try again :)

.......you might want to see post #205 of this thread as well...
 
Hmm, Okies...I just recopied the light aircraft file again, just to be certain.


and it still keeps crashing late 5 August 1914. :(

Post 205 mentions UK giving Ireland homerule as a possible culprit, yet claims that the airplane fix is key to the solution. Just wondering how the connection works. :confused:
 
Doc said:
Hmm, Okies...I just recopied the light aircraft file again, just to be certain.


and it still keeps crashing late 5 August 1914. :(

Post 205 mentions UK giving Ireland homerule as a possible culprit, yet claims that the airplane fix is key to the solution. Just wondering how the connection works. :confused:

The giving of independence of countries has to take technologies into account, as mentioned in this thread:

http://www.europa-universalis.com/forum/showthread.php?t=126072

All other examples of the mod crashing on the 5th August were fixed thus.

What version are you playing, by the way?
 
Allenby said:
Wouldn't this simply put Japan at war with Germany without aligning it with the Entente?

Exactly. Japan wasn't allied to France and Russia - in fact it hated both of them and had fought a major war with one only 10 years previously. They had an alliance with Britain, and Britain alone. so if Britain is at war with Germany, Japan will join in.

Strictly speaking, if Britain was at war with France, Japan would also join in, but it might be OTT to write events for all such possibilities.

As for the USA, they are declaring war in that event because of things Germany has done, so the declaration of war should simply be against Germany, regardless of France's status.
 
Doc said:
Post 205 mentions UK giving Ireland homerule as a possible culprit, yet claims that the airplane fix is key to the solution. Just wondering how the connection works. :confused:

OK, to be specific:

The British set-up file british.inc in the Scenarios\1914 directory gives Britain tech number 10007. This appears in the section techapps = { , near the end of the file.

However, the aircraft tech tree contained in the file light_aircraft_tech.txt does not have a tech number 10007 - it jumps straight from 10006 to 10100.

If Britain gives independence to Ireland, they are effectively attempting to give them tech 10007 as well. Since this doesn't exist, the game crashes. The crash actually occurs at 00:00 hours on 6 August, which is when the event triggers.

Therefore, to fix the crash, you need to edit the light_aircraft_tech.txt file, as instructed, to put tech 10007 back in there.

(Or alternatively, editing the british.inc file, and all the other .inc files in that directory, to remove any reference to 10007 would also work).

So if you're still getting a crash, please check that tech 10007 is shown in the copy of light_aircraft_tech.txt which your game is actually using, and that in-game it appears in the tech tree as an option to research.
 
My setup must have been fubar'd somewhere. :confused:

Anyhoo, I just wiped it all out (except the savegame) and did an entire new load and light airtech fix. Now it works ok. :D

Much thanks gents for your assistance,

Doc
 
Allenby said:
Best you just put a '#' infront of the lines referring to defeat.txt, peacetreaty.txt and revolution.txt in the events file. :)
I just encountered this one as well. Allright, for the Scripting Impaired, could you kind of walk me through this?

Is this just in the #eventlist folder or do I go to the defeat, event commands, peacetreaty, revolution, or even all national folders?

Also, could you give me a 'before' and 'after' example of exactly what one should look like?

Much thanks,
Doc
 
Doc said:
I just encountered this one as well. Allright, for the Scripting Impaired, could you kind of walk me through this?

Is this just in the #eventlist folder or do I go to the defeat, event commands, peacetreaty, revolution, or even all national folders?

Also, could you give me a 'before' and 'after' example of exactly what one should look like?

Much thanks,
Doc

Open up the 'db' folder and find 'events.txt.'

Then, put a '#' in front of these lines:
event = "db\events\defeat.txt"
event = "db\events\peacetreaty.txt"
event = "db\events\revolution.txt"

The game ignores anything coded in a line after a '#' - so when it scans the events file, it will automatically discard the defeat events, peace treaty events and revolution events, as a quick and simple way to solve your problem.
 
Allenby said:
Open up the 'db' folder and find 'events.txt.'

Then, put a '#' in front of these lines:
event = "db\events\defeat.txt"
event = "db\events\peacetreaty.txt"
event = "db\events\revolution.txt"

The game ignores anything coded in a line after a '#' - so when it scans the events file, it will automatically discard the defeat events, peace treaty events and revolution events, as a quick and simple way to solve your problem.
Great! Much thanks A. :)
 
Allenby said:
Open up the 'db' folder and find 'events.txt.'

Then, put a '#' in front of these lines:
event = "db\events\defeat.txt"
event = "db\events\peacetreaty.txt"
event = "db\events\revolution.txt"

The game ignores anything coded in a line after a '#' - so when it scans the events file, it will automatically discard the defeat events, peace treaty events and revolution events, as a quick and simple way to solve your problem.
Allright I went to events and changed it to this:
#
# The Great War Events Database
#
# events written by
# Drew Swinerd
# Johan Elisson
# Matthew Schramm
# Patrick Tan
# Spocky
# Stephen Tempest
# Zampolit
# ...and a few others
#

# TGW events

event = "db\events\introduction.txt"

event = "db\events\random.txt"

event = "db\events\1915war.txt"
event = "db\events\influenza.txt"
# event = "db\events\revolution.txt"
# event = "db\events\defeat.txt"
# event = "db\events\peacetreaty.txt"

event = "db\events\afghanistan.txt"
event = "db\events\anfu.txt"
event = "db\events\argentina.txt"
event = "db\events\armenia.txt"
event = "db\events\austriahungary.txt"
event = "db\events\azerbaijan.txt"
event = "db\events\bolivia.txt"
event = "db\events\brazil.txt"
event = "db\events\british.txt"
event = "db\events\bulgaria.txt"
event = "db\events\byelorussia.txt"
event = "db\events\chile.txt"
event = "db\events\china.txt"
event = "db\events\egypt.txt"
event = "db\events\estonia.txt"
event = "db\events\finland.txt"
event = "db\events\france.txt"
event = "db\events\georgia.txt"
event = "db\events\germany.txt"
event = "db\events\greece.txt"
event = "db\events\hejaz.txt"
event = "db\events\india.txt"
event = "db\events\ireland.txt"
event = "db\events\italy.txt"
event = "db\events\japan.txt"
event = "db\events\kuomintang.txt"
event = "db\events\latvia.txt"
event = "db\events\lithuania.txt"
event = "db\events\makhno.txt"
event = "db\events\mexico.txt"
event = "db\events\mexicoreb.txt"
event = "db\events\montenegro.txt"
event = "db\events\nejd.txt"
event = "db\events\netherlands.txt"
event = "db\events\ottoman.txt"
event = "db\events\poland.txt"
event = "db\events\portugal.txt"
event = "db\events\rumania.txt"
event = "db\events\russia.txt"
event = "db\events\serbia.txt"
event = "db\events\soviet.txt"
event = "db\events\sweden.txt"
event = "db\events\syria.txt"
event = "db\events\ukraine.txt"
event = "db\events\usa.txt"
event = "db\events\warlord.txt"
event = "db\events\whiterussia.txt"

It is still misfiring. Is there anything else that I need to do to get it to fire correctly?
 
Doc said:
It is still misfiring. Is there anything else that I need to do to get it to fire correctly?

What is still misfiring? August 5th crash?

If so, that wont be remedied by taking out defeat events. Stephen posted the solution to your problem above.
 
Allenby said:
What is still misfiring? August 5th crash?

If so, that wont be remedied by taking out defeat events. Stephen posted the solution to your problem above.
No, this one is the peace problem. As Germany I get 'Russia is defeated', then suddenly: peace occurs with the Entente, my troops are deep in Russia, and no peace treaties are available or anything.

Also, I have tried with a space between the # and event and without a space. I get the same result.
 
Doc said:
No, this one is the peace problem. As Germany I get 'Russia is defeated', then suddenly: peace occurs with the Entente, my troops are deep in Russia, and no peace treaties are available or anything.

Also, I have tried with a space between the # and event and without a space. I get the same result.

Look for these lines:

event = "db\events\defeat.txt"
event = "db\events\peacetreaty.txt"
event = "db\events\revolution.txt"

...in your saved game - open it up in notepad and do a search.

When you find them, arrange them so that they each have a single line (like above) and put a '#' infront of them. That may work, as this would be a method for telling the game to ignore the path to those particular event files, and thus, the events themselves.
 
Downloaded this MOD (finally got it right :D ) and found a few bugs:

1) All swiss events have a "unknown string wanted"
2) What the hack is that argentina event about anthrax covered sugarlumps?
3) Swedish recon. plane has 0 range
4) As above, france has been defeated just puts the central powers at peace with the entente, then, about a year later, a peace fires for no reason... hmmmm...
5) Perhaps not a bug, but the tech water ballast doesn´t lead to anything, it should perhaps lead to dirigable airship or dirigable airship tests.
6) October revolution never ocurred. What is the trigger?