Page 1 of 1

Stuck in 1895 Dec

Posted: Sun Apr 22, 2012 2:35 pm
by hannibal128
I have tried a multitude of time warps but I allways seems to get stuck around nov/dec 1985
[ATTACH]17995[/ATTACH]

thanks

Posted: Tue Apr 24, 2012 2:36 pm
by Pocus
you mean what exactly by that? you get a CTD?

Posted: Tue Apr 24, 2012 5:15 pm
by hannibal128
No it just freezes and I have to kill it using the system manager, I let it go overnight but it still didn't respond

Posted: Tue Apr 24, 2012 6:38 pm
by Sven
same problem with my game, it runs and runs and no entry in the logfile(version 1.02).

i use the "debugmode" and a message shown:
19:34:34 [Error ] TFaction.GetWarObject At least two wars exist between these factions: Spanien Kuba

Posted: Tue Apr 24, 2012 6:50 pm
by Sven
ok the problem is a event(SPA Events), at line 887 to 1088.
i think it is a wrong condition(they don't look at the ware stats), delet this event(make a copy befor) it should go. i test it at the moment

Posted: Tue Apr 24, 2012 7:32 pm
by Sven
ok it works, i think it is easy to fix and if you want to play you need to load a turn bevor the freeze and delete the event(or need to build in a
SelectFaction = $CUB
EvalIsAtPeaceWith = SPA

Posted: Tue Apr 24, 2012 9:46 pm
by Sven
Ok thats the event, i think it should a option in that it only fire once or a option that it only fire if spain not at war with cuba:
SelectFaction = $SPA
SelectRegion = $La Havana

SelectFaction = $SPA
SelectRegion = $La Havana
StartEvent = evt_nam_SPA_CubanInsurrection1895|1|2|evt_txt_SPA_CubanInsurrection1896|Event-img_SPA_CubanInsurrection1896|$La Havana|NULL

Conditions
EvalColStatusArea = $Colony_Cuba;=;$colColony

EvalRgnOwned = $La Havana
MinDate = 1895/11/04
MaxDate = 1919/12/31
Probability = 50

Actions
DescEvent = evt_desc_SPA_CubanInsurrection1896
ChgVPCount = -100
ChangeLoyaltyFac = $Area_Cuba;-25

SelectFaction = $CUB
ChangeLoyaltyFac = $Area_Cuba;25
Replacement = CUB;$famLine;5
Replacement = CUB;$famMilitia;50
Replacement = CUB;$famSkirmisher;10
Replacement = CUB;$famLightArty;1
Replacement = CUB;$famSupply;10
NULL = NULL
ChgFacRelationships = USA;100;GBR;75;FRA;75;MEX;20;SPA;-100
AddDiploItem = SPA;$diFullWar;CURRENT

SelectFaction = $SPA
SelectSubUnits = Region $Luzon;FactionTags SPA
AlterCuSubUnit = ApplytoList;Move $Manila

SelectFaction = $CUB
SelectRegion = $Santiago de Cuba

SelectRegion = $Santiago de Cuba

SelectFaction = $CUB
SelectRegion = $Santiago de Cuba
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 3
InCS = 0
FixType = 0
SetName = Ejército Libertador de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870M_Div
SUFlavorName = Rgto. de Infanteria nº 5|Rgto. de Infanteria nº 6|Rgto. de Infanteria nº 7|Rgto. de Infanteria nº 8|Rgto. de Art. de Campaña nº 2|
SetLevel = 3
SetName = 1° División de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870M_Div
SUFlavorName = Rgto. de Infanteria nº 9|Rgto. de Infanteria nº 10|Rgto. de Infanteria nº 11|Rgto. de Infanteria nº 12|Rgto. de Art. de Campaña nº 3
SetLevel = 2
SetName = 2° División de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870_Par2
SUFlavorName = Partisanos de Santiago n° 1|Partisanos de Santiago nº 2
SetLevel = 4
SetName = 3° División de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Cav_1860_MPr2
SUFlavorName = Rgto. de Caballeros nº 3|Rgto. de Caballeros nº 4
SetLevel = 3
SetName = Cabelleros de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Sup_Sup1
SUFlavorName = 1º Co., Suministros nº 1|2º Co., Suministros nº 1|3º Co., Suministros nº 1|4º Co., Suministros nº 1|
SetLevel = 2
SetName = Suministros nº 1
Apply

SelectFaction = $CUB
SelectRegion = $Santiago de Cuba
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 3
InCS = 0
FixType = 0
SetName = Caballeros de Santiago
Apply
CreateUnit
SetType = $uni_CUB_Cav_1870_Bde
SUFlavorName = Rgto. de Caballeros nº 1|Rgto. de Caballeros nº 2
SetLevel = 4
SetName = 1° División de Caballeros
Apply

SelectRegion = $Cienfuegos

SelectFaction = $CUB
SelectRegion = $Cienfuegos
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 1
InCS = 0
FixType = 0
SetName = Ejército Libertador de Cienfuegos
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870_Par2
SUFlavorName = Partisanos de Cienfuegos n° 1|Partisanos de Cienfuegos nº 2
SetLevel = 4
SetName = División de Cienfuegos
Apply

SelectRegion = $Camaguey

SelectFaction = $CUB
SelectRegion = $Camaguey
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 5
InCS = 0
FixType = 0
SetName = Ejército Libertador de Puerto Principe
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870_Par2
SUFlavorName = Partisanos de Camaguey n° 1|Partisanos de Camaguey nº 2
SetLevel = 4
SetName = División de P.Principe
Apply

SelectRegion = $La Havana

SelectFaction = $CUB
SelectRegion = $La Havana
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 5
InCS = 0
FixType = 0
SetName = Ejército Libertador de Habana
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870_Par2
SUFlavorName = Partisanos de Habana n° 1|Partisanos de Habana nº 2
SetLevel = 4
SetName = 4° División de Habana
Apply
CreateUnit
SetType = $uni_CUB_Cav_1860_MPr2
SUFlavorName = Rgto. de Caballeros nº 1|Rgto. de Caballeros nº 2
SetLevel = 3
SetName = Cabelleros de Habana
Apply

SelectRegion = $Cienfuegos

SelectFaction = $CUB
SelectRegion = $Cienfuegos
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 3
InCS = 1
FixType = 999
SetName = Guardia de Cienfuegos
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870M_Div
NumCreate = 2
SUFlavorName = Guardia de Cienfuegos nº 1|Guardia de Cienfuegos nº 2|
SetLevel = 2
SetName = Guardia de Cienfuegos
Apply

SelectRegion = $Camaguey

SelectFaction = $CUB
SelectRegion = $Camaguey
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 3
InCS = 1
FixType = 999
SetName = Guardia de Camguey
Apply
CreateUnit
SetType = $uni_CUB_Inf_1870M_Div
NumCreate = 2
SUFlavorName = Guardia de Camaguey nº 1|Guardia de Camaguey nº 2|
SetLevel = 2
SetName = Guardia de Camguey
Apply

EndEvent

Posted: Thu Apr 26, 2012 7:02 am
by Kensai

Code: Select all

StartEvent = evt_nam_SPA_CubanInsurrection1895|1|[B]2[/B]|evt_txt_SPA_ CubanInsurrection1896|Event-img_SPA_CubanInsurrection1896|$La Havana|NULL


Change the 2 to 1, it will make the event fire once or add this command

Code: Select all

 EvalIsAtPeaceWith = CUB


in the conditions.

Posted: Thu Apr 26, 2012 5:18 pm
by hannibal128
I replaced the text using the windows editor but it still freezes, do you have the complete modified file so I can try again.i am not sure if the editor saves it in wsc format.
thanx

Posted: Thu Apr 26, 2012 8:27 pm
by Sven
you need e earlier save, the war is declared in the turn befor the save, in the aktuell turn the game is not so easy to rescue

Posted: Sat Apr 28, 2012 7:11 pm
by hannibal128
it works

Posted: Sat Apr 28, 2012 7:18 pm
by Sven
hannibal128 wrote:it works

perfect, hope the fix is in 1.02c, wounder that no one get the problem. Think only a few play so long