Fatal Years 1.07 available

Post new mods and scenarios here.
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

a minor Areas.ini weather area bug

Post by berto »


A minor weather area bug, in Areas.ini:

$Batsumber is currently assigned to Area #97, Weather_NorthContinental. Instead, it should be in Area #103, DeserticSteppe. (Easily overlooked, because in one of the area boxes off to the right.)

I will be posting new pictures in the RUS Weathers Mod thread soon.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
andyinkuwait
Posts: 139
Joined: Wed Jan 09, 2008 4:57 pm

Crash bug

Post by andyinkuwait »

Crashed after installation of 1.07. Here are the relevant lines for the crash.

06:59:54 (Reporting) TAgeDxComponentList.Create 15 frontend definitions loaded, from 15 frontend files.
06:59:54 (Reporting) TMediaLibrarian.GetMediaInfo: Unable to find MediaInfo for image: ledger_back
06:59:54 (Reporting) TFrontEnd.Create 26 frontend definitions loaded, from 38 frontend files.
06:59:54 (Reporting) Frontends Initializations 6062 ms
06:59:54 (Reporting) Starting Game World
06:59:54 (Reporting) TMerchandises.LoadFromFile 22 Merchandises loaded, from 22 Merchandises files.
06:59:54 [Critical ] TAbiDefs.Get Data container for abilities definitions has some discrepancies, for UID 122

Any idea what I should do?
User avatar
Chilperic
Posts: 964
Joined: Sun Mar 21, 2010 4:11 pm

RE: Crash bug

Post by Chilperic »

Hi,

open the RUS/Gamedata folder. Delete the Abilities folder. Reinstall Fatal Years. It should work.
andyinkuwait
Posts: 139
Joined: Wed Jan 09, 2008 4:57 pm

RE: Crash bug

Post by andyinkuwait »

Thank you !!
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: Crash bug

Post by berto »


A CTD to report.

Entering the Nov 1918 turn of my test game (still using the 20120901 release of FY 1.07, and still using RUS 1.05b RC3), I get:

4:46:35 PM (Reporting) Starting Hosting Phase Turn 10
4:46:35 PM (Reporting) The Russian Civil War (Grand Campaign 1918, Early June (T: 4043) loaded
4:46:35 PM (Reporting) All gamesim data loaded in: 4805 ms
4:46:35 PM (Reporting) Host: Starting AIs.
4:46:35 PM (Reporting) Host: AI files done. 292 ms
4:46:35 PM (Reporting) THost.ProcessTurn Host file loaded, # of entries: 191475
4:46:35 PM (Reporting) THost.ProcessTurn Starting hosting of turn 4053 - 1918, Early Nov.
4:46:35 PM MakeSupplyDistribution 1467130.1 �s
4:46:35 PM (Reporting) Host MakeStep 0
4:46:35 PM (Reporting) Host MakeStep 1
4:46:35 PM (Reporting) Host MakeStep 2
4:46:35 PM (Reporting) Host MakeStep 3
4:46:35 PM (Reporting) Host MakeStep 4
4:46:35 PM (Reporting) Host MakeStep 5
4:46:35 PM (Reporting) Host MakeStep 6
4:46:35 PM (Reporting) Host MakeStep 7
4:46:35 PM (Reporting) Host MakeStep 8
4:46:35 PM (Reporting) Host MakeStep 9
4:46:35 PM (Reporting) Host MakeStep 10
4:46:35 PM (Reporting) Host MakeStep 11
4:46:35 PM (Reporting) Host MakeStep 12
4:46:35 PM (Reporting) Host MakeStep 13
4:46:35 PM (Reporting) Host MakeStep 14
4:46:35 PM DoUnitsSpawningFromAbi 1.0 �s
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 518 Gaining Faction: Southern Whites
4:46:35 PM (Reporting) LoyaltyOnCaptureCity Region Rostov belong to GrandArea Southern
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 519 Gaining Faction: Southern Whites
4:46:35 PM (Reporting) LoyaltyOnCaptureCity Region Kiev belong to GrandArea Ukraine
4:46:35 PM (Reporting) LoyaltyOnCaptureCity Region Odessa belong to GrandArea Ukraine
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 530 Gaining Faction: Anarchist
4:46:35 PM (Reporting) LoyaltyOnCaptureCity Region Sevastopol belong to GrandArea Ukraine
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 113 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 119 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 121 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 123 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 325 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 1375 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 1378 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 1977 Gaining Faction: Southern Whites
4:46:35 PM TRegionCmns.OnCaptureSupply No exclusive structure owner or owner is not an enemy in Region: 857 Gaining Faction: Southern Whites
4:46:35 PM (Reporting) The Russian Civil War (Grand Campaign 1918, Early June (T: 4043) loaded
4:46:35 PM (Reporting) All gamesim data loaded in: 3918 ms
4:46:35 PM (Reporting) Ended Hosting Phase 110093 ms
4:46:35 PM (Reporting) Starting Hosting Phase Turn 11
4:46:35 PM (Reporting) The Russian Civil War (Grand Campaign 1918, Early June (T: 4043) loaded
4:46:35 PM (Reporting) All gamesim data loaded in: 4913 ms
4:46:35 PM (Reporting) Host: Starting AIs.
4:46:35 PM (Reporting) Host: AI files done. 297 ms
4:46:35 PM (Reporting) THost.ProcessTurn Host file loaded, # of entries: 202201
4:46:35 PM (Reporting) THost.ProcessTurn Starting hosting of turn 4054 - 1918, Late Nov.
4:46:35 PM [Error ] THost.CheckMapAleas Exception caught: Indice de liste hors limites (0)
4:46:35 PM [Error ] THost.AbortProcess Hosting aborted while performing PreHostProcess: CheckMapAleas
4:46:35 PM [Error ] THost.AbortProcess Hosting aborted while performing PreHostProcess
4:50:57 PM [Error ] TGUIArmyOutliner.Update Exception caught: Violation d'acc�s � l'adresse 0053B759 dans le module 'RUS.exe'. Lecture de l'adresse 00000008 DebugStep: 15
4:50:57 PM [Critical ] TGameSim.ExportData Exception caught, ExportStep: Structures Violation d'acc�s � l'adresse 005D21DE dans le module 'RUS.exe'. Lecture de l'adresse 0002CABC

Seems to be a CheckMapAleas problem.

Here are all relevant log entries (and any pertaining to weather, which is the subject of my testing):

[root@berto Logs]# egrep -i "error|critical|exception|violation|weather" \!Main\ Log.txt
4:11:38 PM (Reporting) TWeather.Create 16 Weathers patterns loaded, from 16 files.
4:29:06 PM (Reporting) TSlaveThing.SetBitmap: Unable to find MediaInfo for image: weather_fair.png
4:46:35 PM [Error ] THost.CheckMapAleas Exception caught: Indice de liste hors limites (0)
4:46:35 PM [Error ] THost.AbortProcess Hosting aborted while performing PreHostProcess: CheckMapAleas
4:46:35 PM [Error ] THost.AbortProcess Hosting aborted while performing PreHostProcess
4:50:57 PM [Error ] TGUIArmyOutliner.Update Exception caught: Violation d'acc�s � l'adresse 0053B759 dans le module 'RUS.exe'. Lecture de l'adresse 00000008 DebugStep: 15
4:50:57 PM [Critical ] TGameSim.ExportData Exception caught, ExportStep: Structures Violation d'acc�s � l'adresse 005D21DE dans le module 'RUS.exe'. Lecture de l'adresse 0002CABC

(Another CTD in an earlier test game involved the "Unable to find MediaInfo for image: weather_fair.png," IIRC.)

Help?!

I might try upgrading to the latest 1.06 RC1 at the AGEOD site, but that too has CTD issues, right?
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: Crash bug

Post by berto »


Putting on my thinking cap, then topping that with my programmer's hat, I solved the CTD issue.

The log file reports:
4:46:35 PM [Error ] THost.CheckMapAleas Exception caught: Indice de liste hors limites (0)
At Google Translate, "Indice de liste hors limites" translates to "List index out of bounds."

Hmm, what have I changed in the weathers mod? RUS/GameData/Areas.ini. What weather area in Areas.ini is now so long that its member list might exceed some arbitrary limit (such as a static data structure -- an array -- in the RUS .exe)? Aha! The NorthContinental weather area has 494 regions. Too many? Let's find out.

I pared down the NorthContinental weather area to ~470 regions by reassigning borderline regions to the Subarctic & SouthContinental weather areas. That had the happy side effect of presenting a more pleasing boundary line -- straighter, and more directly west to east (in the case of NorthContinental vs. SouthContinental) than previously.

And my tests? I have run through an entire game year without CTD.

Problem solved!
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

script error

Post by berto »


In my test game, with full debug logging activated, there was one error reported (with a pop-up dialog box) in one of the ScriptReport*.txt files.

See the error here:

http://pikt.org/ageod/rus/FY107error.zip
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: Crash bug

Post by berto »

ORIGINAL: berto

Putting on my thinking cap, then topping that with my programmer's hat, I solved the CTD issue.

...

And my tests? I have run through an entire game year without CTD.

Problem solved!
Um, maybe not. A later test game had the very same CTD.

(This set my release timetable back by a couple of days.)

I inspected the official Areas.ini file to determine the area with the longest member list. Not surprisingly, it is the NorthContinental weather area.

In my mod, I pared down the NorthContinental weather area even further, to < 460 regions (about the same as in the official version), again by reassigning borderline regions to the Subarctic.

I also did a fresh re-install, and patched to the latest RUS v1.06 RC1.

Several test games later, no more CTDs.

At this point, with so many variables in play, I am not certain at all what fixes what problem. Maybe the CTDs were totally unrelated to weather areas, and were just an independent bug fixed in the latest beta release. No matter, whatever works.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
Chilperic
Posts: 964
Joined: Sun Mar 21, 2010 4:11 pm

RE: Crash bug

Post by Chilperic »

Yes there were yet maybe at least one potential source of rare bugs in the official 1.05 RUS belonging to supply depots destruction. There were maybe others. Very rare in any case.
User avatar
coturnix
Posts: 1
Joined: Wed Oct 10, 2012 12:58 pm

RE: Crash bug

Post by coturnix »

Can the last version of FY 1.07 be downloaded from moddercorner? Looks like it´s absent from the inbox and althought i have a 1.07 it´s an old and probably buggy one. Didn´t have the chance to download later versions and now i find the download has dissapeared from the page. If it´s possible i would be grateful for a link to the latest version, not my intention to start pestering about bugs that may be fixed already.
User avatar
Chilperic
Posts: 964
Joined: Sun Mar 21, 2010 4:11 pm

RE: Crash bug

Post by Chilperic »

Hi,

send me a mesage at fatalyearssup@yahoo.fr. I will give you the link

YOU MAY REPORT ANY BUGS YOU FIND [:D] FY needs report. I've just restricted a bit the file download because I've not the time to reply to many questions about installation or hardware problems. I want to keep all my free time for bug fixing in FY and SVF 2.0 ASAP.

Regards
Post Reply

Return to “Mods and Scenarios”