hannibal128
Private
Posts: 32
Joined: Mon May 17, 2010 9:37 pm

Stuck in 1895 Dec

Sun Apr 22, 2012 2:35 pm

I have tried a multitude of time warps but I allways seems to get stuck around nov/dec 1985
[ATTACH]17995[/ATTACH]

thanks
Attachments
1850 GC0.zip
(3.91 MiB) Downloaded 423 times

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Apr 24, 2012 2:36 pm

you mean what exactly by that? you get a CTD?
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

hannibal128
Private
Posts: 32
Joined: Mon May 17, 2010 9:37 pm

Tue Apr 24, 2012 5:15 pm

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

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Tue Apr 24, 2012 6:38 pm

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

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Tue Apr 24, 2012 6:50 pm

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

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Tue Apr 24, 2012 7:32 pm

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

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Tue Apr 24, 2012 9:46 pm

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

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Thu Apr 26, 2012 7:02 am

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.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

hannibal128
Private
Posts: 32
Joined: Mon May 17, 2010 9:37 pm

Thu Apr 26, 2012 5:18 pm

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

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Thu Apr 26, 2012 8:27 pm

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

hannibal128
Private
Posts: 32
Joined: Mon May 17, 2010 9:37 pm

Sat Apr 28, 2012 7:11 pm

it works

Sven
Private
Posts: 25
Joined: Fri Apr 06, 2012 3:02 am

Sat Apr 28, 2012 7:18 pm

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

Return to “Pride of Nations”

Who is online

Users browsing this forum: No registered users and 5 guests