User avatar
Sean E
Captain
Posts: 177
Joined: Fri Jul 28, 2006 10:34 pm
Location: Sydney, Australia

Event Bug?

Mon Dec 29, 2008 8:15 am

Playing as the Central powers I played the mutinies event and pressed button for Russia. But it came out as Austria! Not fair.



Image
Image

vonRocko
Colonel
Posts: 385
Joined: Tue Jul 29, 2008 5:28 pm

Mon Dec 29, 2008 2:42 pm

This happened to me in earlier games. It was supposed to have been fixed in an earlier patch. Apparently it wasn't. :confused:

Forezjohn
Corporal
Posts: 59
Joined: Thu Nov 15, 2007 12:40 pm

Mon Dec 29, 2008 3:58 pm

vonRocko wrote:This happened to me in earlier games. It was supposed to have been fixed in an earlier patch. Apparently it wasn't. :confused:


Or maybe unfixed by another patch :D

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Mon Dec 29, 2008 9:44 pm

Old savegame are not fixed. The wrong event scripts are "inside" the .SAV file. New games will not show the problem.

User avatar
Sean E
Captain
Posts: 177
Joined: Fri Jul 28, 2006 10:34 pm
Location: Sydney, Australia

Tue Dec 30, 2008 9:32 am

It was a new game started under 1.05c. With a total reinstall of the game under 1.05c.

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Sun Jan 04, 2009 10:39 pm

Ok, I will check this stuff on next week.

Btw, I fixed the "repetitive" AI events bug (ie: Torpedoing).

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Tue Jan 06, 2009 11:59 am

I just did a test with a savegame (started with 1.05c) gently provided by a player (I do not remember who... :( ), and the Mutinies event works perfectly against Russia, playing on the side of CP... :confused:

Make sure the event (Id 9064) is properly scripted inside the .SAV file:

BeginEvent
Id=9064
Tag=SEC_018
TagOriginal=
TitleEvent=Mutinies
Description=This event will generate desertions and mutinies in one of the following countries: Austria, Russia or Turkey.
HistoricalNotes=The deprivations of the war were manifold and both soldiers at the front and people in the homeland considerably suffered from them. As the pitcher goes often to the well, but is broken at last, some people finally decided to put this suffering to an end...
Image=0
Icon=3
Sound=36
Public=No
Mandatory=No
Played=No
Success=No
Undisclosed=No
MultipleApply=No
Difficulty=4
Duration=0
DeadlineTurn=0
DeadlineTurnLast=0
BeginModifier
Type=EM_CheckYear
Modifier=1
Parameters=1,1917
EndModifier
BeginCondition
Type=EC_DateCheck
Parameters=1,1915,Start
EndCondition
ConditionsFormula={1}
BeginEffect
Type=EE_DoSocialTest
ParametricalEffectsText=social unrests are going to be checked in %n
Parameters=AUS,0,1,0,0,0
EndEffect
BeginEffect
Type=EE_DoSocialTest
ParametricalEffectsText=social unrests are going to be checked in %n
Parameters=RUS,0,1,0,0,0
EndEffect
BeginEffect
Type=EE_DoSocialTest
ParametricalEffectsText=social unrests are going to be checked in %n
Parameters=TUR,0,1,0,0,0
EndEffect
FirstOptionTitle=Mutinies in Austria-Hungary!
FirstOptionEffectsDesc=%t The following consequences are going to be applied: %c.
FirstOptionEffects=1
FirstOptionAI={EAI_OffensiveTarget;AUS;1;3;;0;0}
SecondOptionTitle=Mutinies in Russia!
SecondOptionEffectsDesc=%t The following consequences are going to be applied: %c.
SecondOptionEffects=2
SecondOptionAI={EAI_OffensiveTarget;RUS;1;3;;0;0}
ThirdOptionTitle=Mutinies in Turkey!
ThirdOptionEffectsDesc=%t The following consequences are going to be applied: %c.
ThirdOptionEffects=3
ThirdOptionAI={EAI_OffensiveTarget;TUR;1;3;;0;0}
PlayedOptionIndex=-1
DefaultOptionIndex=1
OccurrencesMax=-1
Occurrences=0
OwningPlayer=2000
Cloned=No
ExecutionPhase=TP_Military
ExecuteAtPhaseStart=No
EndEvent


I have highlighted in bold the elements to be double-checked... ;)

If your script is different (except for the language), it means you are working with an old savegame.

Return to “WW1 : La Grande Guerre 14-18”

Who is online

Users browsing this forum: No registered users and 2 guests