Paradox Interactive Forums  


Go Back   Paradox Interactive Forums > WW2 Games > Hearts of Iron 2 > HoI2 - Scenarios and modifications

Reply
 
Thread Tools
Old 22-10-2006, 01:59   #1
Careful Plum
Sergeant
 
Careful Plum's Avatar
EU3 Owner
 
Join Date: Dec 2004
Location: Switzerland's Outback
Posts: 95
Game Crashes on Revolt

I have absolutely no idea what could cause this error. In the current version for the Russian Civil War, the game CTDs as soon as an occupied province spawns some rebels, anywhere, and I have no idea where the error is

I'm pretty sure all the province lists are correct (and errors there are usually detected by the engine upon loading the scenario)...

I'm posting the .eug below, and I'll of course mail everything to any openhearted person...

Code:
name = "The Russian Revolution"
panel = "scenarios/data/scenario_spanishamerican.bmp"

header = {
	name = "The Russian Revolution"
    startyear = 1919
    endyear = 1925
   	free = no
	combat = yes	#this is a battlescenario


	SOV = {
			desc = SA_DSC
			picture = "scenarios\data\spanishamerican.bmp"		
	}

	U15 = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}

	SIB = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}

	UKR = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}
	POL = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}

	ENG = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}

	AZB = {
			desc = SA_DSC
			bottom = yes
			picture = "scenarios\data\spanishamerican.bmp"		
	}

}



globaldata = {

  rules = {
		 
         diplomacy = no
         production = no
         technology = no
         }

    startdate = {
        year = 1919
        month = november	
		day = 18
        }
    enddate = {
        year = 1925
        month = december
        day = 25###???
        }

#		allies = {
#	        id = { type = 15000 id = 1 }
#			participant = { U15 ENG UKR }
#				}
#		comintern = 	{
#	        id = { type = 15000 id = 2 }
#			participant = { SOV }
#		}

	war = {
	        id = { type = 9430 id = 1 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 2 }
        	    participant = { U15 ENG UKR }
        	}
	        defenders = {
       			id = { type = 9430 id = 3 }
            		participant = { SOV }
        	}
	}

	war = {
	        id = { type = 9430 id = 4 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 5 }
        	    participant = { SIB }
        	}
	        defenders = {
       			id = { type = 9430 id = 6 }
            		participant = { SOV }
        	}
	}


	war = {
	        id = { type = 9430 id = 7 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 8 }
        	    participant = { POL }
        	}
	        defenders = {
       			id = { type = 9430 id = 9 }
            		participant = { UKR }
        	}
	}

	war = {
	        id = { type = 9430 id = 10 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 11 }
        	    participant = { POL }
        	}
	        defenders = {
       			id = { type = 9430 id = 12 }
            		participant = { LIT }
        	}
	}


	war = {
	        id = { type = 9430 id = 13 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 14 }
        	    participant = { SOV }
        	}
	        defenders = {
       			id = { type = 9430 id = 15 }
            		participant = { BLR }
        	}
	}


	war = {
	        id = { type = 9430 id = 16 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 17 }
        	    participant = { SOV }
        	}
	        defenders = {
       			id = { type = 9430 id = 18 }
            		participant = { LIT }
        	}
	}

	war = {
	        id = { type = 9430 id = 19 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 20 }
        	    participant = { SOV }
        	}
	        defenders = {
       			id = { type = 9430 id = 21 }
            		participant = { LAT }
        	}
	}

	war = {
	        id = { type = 9430 id = 22 }
	        date = {
	            year = 1914
	            month = august
	            day = 3
	            hour = 1
            }
            enddate = {
	            year = 1918
	            month = november
	            day = 11
	            hour = 1
            }
        	attackers = {
        	    id = { type = 9430 id = 23 }
        	    participant = { SOV }
        	}
	        defenders = {
       			id = { type = 9430 id = 24}
            		participant = { EST }
        	}
	}

	}




map = {

no = all

#Lakes
yes = 2470
yes = 2245
yes = 2246
yes = 2241
yes = 2469

#Coast
#East
yes = 2236
yes = 2237
yes = 2227
yes = 2228
yes = 2215 
yes = 2216 
yes = 2217 
yes = 2218 
yes = 2219 
yes = 2220 
yes = 2221 
yes = 2222 
yes = 2223 
yes = 2224 
yes = 2225 
yes = 2226
yes = 2191
#West
yes = 2486 
yes = 2487 
yes = 2485 
yes = 2480 
yes = 2482 
yes = 2483 
yes = 2484 
yes = 2491 
yes = 2493 
yes = 2478
#North 
yes = 2381 
yes = 2383 
yes = 2384 
yes = 2385
#South
yes = 2466 
yes = 2467 
yes = 2468

#Bloshevik
#Moscow
yes = 174
yes =  175 
yes = 176 
yes = 288 
yes = 181 
yes = 182 
yes = 94
#Novgorod
yes = 189 
yes = 190 
yes = 191 
yes = 215 
yes = 289
#Leningrad
yes = 186  
yes = 187 
yes = 188  
yes = 192 #Leningrad
#Pskov 
yes = 200  
yes = 201 #Pskov
#Velikiye Luki 
yes = 216  
yes = 285  
yes = 286  
yes = 287#Velikiye Luki
#Ryazan 
yes = 276  
yes = 277  
yes = 278  
yes = 279  
yes = 282 #Ryazan
#Sarask 
yes = 259  
yes = 260  
yes = 261  
yes = 262  
yes = 265 #Saransk
#Rostov 
yes = 160  
yes = 161  
yes = 266  
yes = 267  
yes = 268  
yes = 269  
yes = 258 #Rostov
#Krasnodar 
yes = 255  
yes = 256  
yes = 257  
yes = 270  
yes = 1843 #Krasnodar
#Astrakhan 
yes = 1838  
yes = 1837  
yes = 1842  
yes = 1846  
yes = 1847 #Astrakhan
#Stalingrad 
yes = 159  
yes = 162  
yes = 163  
yes = 164  
yes = 271  
yes = 1833  
yes = 1834  
yes = 1835  
yes = 1836#Stalingrad
#Penza 
yes = 155  
yes = 156  
yes = 157  
yes = 158 #Penza
#Gorkij 
yes = 166  
yes = 167  
yes = 168  
yes = 169 #Gorkij
#Archangelsk 
yes = 170  
yes = 171  
yes = 153  
yes = 154  
yes = 165  
yes = 1771 #Archangelsk
#Kostroma 
yes = 183 
yes = 184 
yes = 185  
yes = 172  
yes = 173
yes = 2488 #Kostroma
#Vladimir 
yes = 177  
yes = 178  
yes = 179  
yes = 180 #Vladimir
#Tambov 
yes = 280  
yes = 281  
yes = 283  
yes = 284  
yes = 263  
yes = 264 #Tambov
#Whites

#Kamchatka
yes = 1170
yes = 1171
yes = 1172
#Magadan
yes = 1524
yes = 1525
yes = 1166
yes = 1167#Magadan
#Yakutsk
yes = 1159
yes = 1160
yes = 1161
yes = 1163
yes = 1164
yes = 1165
yes = 1409
yes = 1410
yes = 1411
yes = 1158 #Yakutsk
#Amur
yes = 1523
yes = 1526
yes = 1528
yes = 1529 #Amur
#Zabaikalye
yes = 1520
yes = 1521
yes = 1522
yes = 1383
yes = 1384#Zabaikalye
#Irkutsk
yes = 1412
yes = 1413
yes = 1414
yes = 1415
yes = 1416
yes = 1162 #Irkutsk
#Tajmyr_Evenk
yes = 1156
yes = 1157
yes = 1531
yes = 1532
yes = 1537
yes = 1563 #Tajmyr_Evenk
#South Krasnoyark
yes = 1538
yes = 1560
yes = 1561
yes = 1562
yes = 1417 #South Krasnoyark
#North Krasnoyark
yes = 1533
yes = 1534
yes = 1535
yes = 1536
yes = 1539 #North Krasnoyark
#Novosibirsk
yes = 1546
yes = 1547
yes = 1548
yes = 1557
yes = 1558
yes = 1559 #Novosibirsk
#Tomsk
yes = 1540
yes = 1541
yes = 1542
yes = 1543
yes = 1544
yes = 1545 #Tomsk
#Kazakhstan
yes = 1549
yes = 1550
yes = 1551
yes = 1553
yes = 1554
yes = 1556
yes = 1590
yes = 1591
yes = 1581 #Kazakhstan
#Turkestan
yes = 1422
yes = 1423
yes = 1424
yes = 1425
yes = 1426
yes = 1488
yes = 1582#Turkestan
#Tadzjijistan
yes = 1427
yes = 1485 #Tadzjikistan
#Kirgizistan
yes = 1428
yes = 1429 #Kirgizistan
#Kirgiz Steppe
yes = 1577
yes = 1578
yes = 1579
yes = 1580
yes = 1583
yes = 1568
yes = 1569 #Kirgiz Steppe
#Omsk
yes = 1592
yes = 1594
yes = 1596
yes = 1598
yes = 1552 #Omsk
#Tyumen
yes = 1154
yes = 1155
yes = 1564
yes = 1597
yes = 1593
yes = 1565 #Tyumen
#Sverdlovsk
yes = 1571
yes = 1572
yes = 1573
yes = 1574
yes = 1575
yes = 1576 
yes = 2240 #Sverdlovsk
#Ufa
yes = 1150
yes = 1151
yes = 1567
yes = 1566 #Ufa
#Perm
yes = 1772
yes = 1773
yes = 1149
yes = 1152
yes = 1153#Perm
#Kirov
yes = 1840
yes = 1841 #Kirov
#Kazan
yes = 1774
yes = 1775
yes = 1776
yes = 1777
yes = 1782
yes = 1783 #Kazan
#Kyubeshev
yes = 1828
yes = 1829
yes = 1830
yes = 1831
yes = 1832
yes = 1839
yes = 1827
yes = 1570
yes = 1780
yes = 1781 
yes = 1778 #Kyubeshev
#Melkosopotjnik	 
yes = 1586  
yes = 1587  
yes = 1588  
yes = 1589  
yes = 1555 #Melkosopotjnik

#Uzbekistan  
yes = 1584  
yes = 1585   
yes = 1487   
yes = 1489

#Japanes Occupation
#Khabarovsk   
yes = 1366   
yes =  1367   
yes =  1368   
yes =  1527 #Khabarovsk
#Primorski   
yes = 1370   
yes = 1371   
yes = 1372   
yes = 1373   
yes = 1369 #Primorski
#Sakhalin   
yes = 1175   
yes = 1176 #Sakhalin

#Estonia   
yes = 193    
yes = 194    
yes = 195    
yes = 196    
yes = 199

#Latvia    
yes = 197    
yes = 198    
yes = 202

#Lithuania
#Memel
yes = 204
yes =  205
yes =  206
yes =  577 #Memel
#Lithuania
yes = 203
yes = 207
yes = 208 
yes = 511 #Lithuania
#Polotsk
yes = 1874 
yes = 213 
yes = 214 #Polotsk

#Poland
#Poznan 
yes = 481  
yes = 483
yes = 480 #Poznan
#Warsaw 
yes = 484  
yes = 485  
yes = 486  
yes = 487 #Warsaw	
#Lvov 
yes = 488  
yes = 506  
yes = 502 #Lvov
#Brest-Litovsk 
yes = 562  
yes = 503  
yes = 504  
yes = 505  
yes = 507  
yes = 508 #Brest-Litovsk
#Grodno 
yes = 209  
yes = 210  
yes = 211 #Grodno
#Minsk 
yes = 212  
yes = 221  
yes = 222  
yes = 225 #Minsk
#Smolensk 
yes = 217  
yes = 218  
yes = 219  
yes = 220 #Smolensk
#Rogachev 
yes = 272  
yes = 273  
yes = 274  
yes = 275 #Rogachev

#Finland
#South Finland 
yes = 140 
yes = 141 
yes = 142 #South Finland
#Central Finland 
yes = 143  
yes = 144 
yes = 147 #Central Finland
#Oesterbotten 
yes = 131 
yes = 137 
yes = 138 
yes = 139 
yes = 148#Oesterbotten	


#Lapland
yes = 130 
yes = 132 
yes = 133 
yes = 134 
yes = 135 
yes = 136 #Lapland
#Karelia
yes = 149 
yes = 150 
yes = 151 
yes = 145 
yes = 146
yes = 152 #Karelia	

#Krim
#Bessarabia
yes = 234
yes = 235 #Bessarabia
#Transinistria
yes = 229
yes = 231
yes = 232 #Transinistria
#Kiev
yes = 226
yes = 227
yes = 228
yes = 237
yes = 238
yes = 239
yes = 240 #Kiev
#Kursk
yes = 241
yes = 242
yes = 243
yes = 244
yes = 247 #Kursk
#Kharkov
yes = 248
yes = 249
yes = 250 #Kharkov
#Dnepropretovsk
yes = 236
yes = 245
yes = 246 #Dnepropretovsk
#Krim
yes = 233
yes = 251
yes = 252
yes = 253
yes = 254 #Krim	

#Occupied Caucasus
#Georgia
yes = 1844 
yes = 1845 
yes = 1848 
yes = 1849 
yes = 1850 #Georgia
#Armenia/Azerbaijan
yes = 1856 
yes = 1857 
yes = 1858 
yes = 1907 #Armenia/Azerbaijan
#Turkmenistan
yes = 1490 
yes = 1491 #Turkmenistan

#Add. Poland
yes = 305
yes = 509
yes = 479
yes = 489
#Add. Ukraine
yes = 500
yes = 501
#"Germany"
yes = 303
yes = 306
yes = 307
}

# Vp things
include = "scenarios/1917/vp.inc"


include = "scenarios/1917/bases.inc"
include = "scenarios/1917/forts.inc"

include = "scenarios/RussianRevolution/Bolshevik.inc"
include = "scenarios/RussianRevolution/Sibiria.inc"
include = "scenarios/RussianRevolution/Uzbekistan.inc"
include = "scenarios/RussianRevolution/Japan.inc"
include = "scenarios/RussianRevolution/Estonia.inc"
include = "scenarios/RussianRevolution/Latvia.inc"
include = "scenarios/RussianRevolution/Lithuania.inc"
include = "scenarios/RussianRevolution/Poland.inc"
include = "scenarios/RussianRevolution/Finland.inc"
include = "scenarios/RussianRevolution/OccupiedFinland.inc"
include = "scenarios/RussianRevolution/Ukraine.inc"
include = "scenarios/RussianRevolution/Denikin.inc"
include = "scenarios/RussianRevolution/Georgia.inc"
include = "scenarios/RussianRevolution/Armenia.inc"
include = "scenarios/RussianRevolution/Azerbaijan.inc"
include = "scenarios/RussianRevolution/Belarus.inc"
include = "scenarios/RussianRevolution/Germany.inc"
Careful Plum is offline   Reply With Quote
Old 22-10-2006, 02:13   #2
Yukala
Imperial Minister
HoI Anthology
 
Join Date: Mar 2005
Location: Washington State
Posts: 3,437
Where is this ?

top = { x = 24992 y = 2056 }
bottom = { x = 28344 y = 7056 }

The numbers are not correct just taken from another battle scenario eug.

These lines should be posted after the last yes = 307
__________________
Guild Imperium Betas are closed (temp) but Beta3 still simmers
RISK_BATTLE_MOD NEWS: Guild Imperium One is crawling forward!! Think of the hobbits climbing Mt. Doom!
Sub-forum at Paradox Risk_Battle_Mod & Guild Imperium threads
AHistorical all the way; ...for history is too busy repeating itself
.
Now proud member of the HOI2_1.3a Preservation Society
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Exercise and diet do not fail, ask your doctor if getting off your 'ass' is right for you"
American Independent Party Health-Care Initiative

It is said, 'By 2029 or there about, artificial intelligence will be in a position to have virtual control of the 'real world'.
Yukala is offline   Reply With Quote
Old 22-10-2006, 02:17   #3
Careful Plum
Sergeant
 
Careful Plum's Avatar
EU3 Owner
 
Join Date: Dec 2004
Location: Switzerland's Outback
Posts: 95
Hmm. I thought this was meant to limit the "scrollability" of the map for the player? I know there where non-crashing revolts in an earlier version (should have said that), but I'll add it...

Edit: ... unfortunately, it didn't solve the problem .

Last edited by Careful Plum; 22-10-2006 at 02:32.
Careful Plum is offline   Reply With Quote
Old 22-10-2006, 02:36   #4
Yukala
Imperial Minister
HoI Anthology
 
Join Date: Mar 2005
Location: Washington State
Posts: 3,437
Okay all I know to do is compare to what works.

So, how about this line on the bottom ?

event = "scenarios/downfall/downfall_events.txt"

You have no reference to 'events' ? Are not partisans an event ?
__________________
Guild Imperium Betas are closed (temp) but Beta3 still simmers
RISK_BATTLE_MOD NEWS: Guild Imperium One is crawling forward!! Think of the hobbits climbing Mt. Doom!
Sub-forum at Paradox Risk_Battle_Mod & Guild Imperium threads
AHistorical all the way; ...for history is too busy repeating itself
.
Now proud member of the HOI2_1.3a Preservation Society
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Exercise and diet do not fail, ask your doctor if getting off your 'ass' is right for you"
American Independent Party Health-Care Initiative

It is said, 'By 2029 or there about, artificial intelligence will be in a position to have virtual control of the 'real world'.
Yukala is offline   Reply With Quote
Old 22-10-2006, 02:43   #5
Careful Plum
Sergeant
 
Careful Plum's Avatar
EU3 Owner
 
Join Date: Dec 2004
Location: Switzerland's Outback
Posts: 95
I'm very certain partisans are created directly by the game engine. Adding events doesn't work...

Of course the only way really is comparing it to things that work. Perhaps revolts crash the game in all scenarios where not the entirety of the map is available? I know empty provinces cause the game to crash - presumably because the AI tries to move troops there (the crash doesn't occur without armies on the map). Perhaps the rebels don't "know" there are unavailable provinces on the map when they spawn? If yes, that would be quite depressing...
Careful Plum is offline   Reply With Quote
Old 22-10-2006, 03:05   #6
Yukala
Imperial Minister
HoI Anthology
 
Join Date: Mar 2005
Location: Washington State
Posts: 3,437
Maybe change the start date back to 1914 ?

Quote:
startdate = {
year = 1919
month = november
day = 18
__________________
Guild Imperium Betas are closed (temp) but Beta3 still simmers
RISK_BATTLE_MOD NEWS: Guild Imperium One is crawling forward!! Think of the hobbits climbing Mt. Doom!
Sub-forum at Paradox Risk_Battle_Mod & Guild Imperium threads
AHistorical all the way; ...for history is too busy repeating itself
.
Now proud member of the HOI2_1.3a Preservation Society
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Exercise and diet do not fail, ask your doctor if getting off your 'ass' is right for you"
American Independent Party Health-Care Initiative

It is said, 'By 2029 or there about, artificial intelligence will be in a position to have virtual control of the 'real world'.
Yukala is offline   Reply With Quote
Old 22-10-2006, 17:39   #7
Careful Plum
Sergeant
 
Careful Plum's Avatar
EU3 Owner
 
Join Date: Dec 2004
Location: Switzerland's Outback
Posts: 95
Nope... Also tried it out with regular DD (don't have HoI2), and the problem persisted. Also, there's no error when testing out revolts with the Barbarossa scenario... so it's definitely some error in those files *sigh*
Careful Plum is offline   Reply With Quote
Old 22-10-2006, 17:50   #8
Careful Plum
Sergeant
 
Careful Plum's Avatar
EU3 Owner
 
Join Date: Dec 2004
Location: Switzerland's Outback
Posts: 95
Unlike the Spanish-American War scenario, which seems to have a similar problem. Which is a relief... not .
Careful Plum is offline   Reply With Quote
Old 23-10-2006, 01:57   #9
Yukala
Imperial Minister
HoI Anthology
 
Join Date: Mar 2005
Location: Washington State
Posts: 3,437
AlenlorDRot in this thread refers what may be a similiar problem in getting units to work in DD.

http://forum.paradoxplaza.com/forum/...d.php?t=204958

Unfortunately at this point, I have no experience with DD.
__________________
Guild Imperium Betas are closed (temp) but Beta3 still simmers
RISK_BATTLE_MOD NEWS: Guild Imperium One is crawling forward!! Think of the hobbits climbing Mt. Doom!
Sub-forum at Paradox Risk_Battle_Mod & Guild Imperium threads
AHistorical all the way; ...for history is too busy repeating itself
.
Now proud member of the HOI2_1.3a Preservation Society
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Exercise and diet do not fail, ask your doctor if getting off your 'ass' is right for you"
American Independent Party Health-Care Initiative

It is said, 'By 2029 or there about, artificial intelligence will be in a position to have virtual control of the 'real world'.
Yukala is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 01:19.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© Copyright 2001-2009 Paradox Interactive