black_imperator
Deity
- Joined
- Dec 4, 2005
- Messages
- 2,098
someone made a spreadsheet for that a while ago. I'm not on my computer at the moment, but it should be somewhere in the thread
Joy. I am going to have to take a peak at that code. What file is it in?It is loaded in memory, but everything that's in xml is loaded in static Info classes that can not be modified after load, just accessed.
First off, how do I change the autosaves to every turn? Presumably it should also be possible to increase the number of autosaves, but there's nothing in the in-game options menu about them.Symptom: frequent crashes or multiplayer desyncs
Cause of crashes: bugs somewhere in the code
Solution: Find the cause of t
Workaround1: change autosaves to 1 every turn (you lose less time at each game crash)
To help us find the bugs: send us OOS files
To help us find the bugs: show python errors ingame
So I edited the .ini file to allow for autosaves and logging of Python errors.In the Readme, it states:
First off, how do I change the autosaves to every turn? Presumably it should also be possible to increase the number of autosaves, but there's nothing in the in-game options menu about them.
Secondly, how do I show Python errors ingame? Again, that ain't in the options menu.
And third - where are the OOS files kept?
My most recent save. Ending the turn will result in the game crashing. Compared to the save, these logs are after I promoted the worker north of Celo to Skilled I. PythonErr gave me loads of "ERR: Call function canCast failed. Can't find module CvSpellInterface" if that means anything, but that was during the turn which was playable rather than the between-turns which wasn't.no dump anyway, it's not that useful, the save is better
Can't tell where these are.RESMGR: Texture civtitle.dds failed to load
RESMGR: Texture ts_e_gov_grnd_NORM.dds failed to load
RESMGR: Texture elfhood_gloss.dds failed to load
RESMGR: Texture gargoyle_alb.dds failed to load
RESMGR: Texture walruspacific_adult_m.dds failed to load
RESMGR: Texture FlagDECAL.dds failed to load
RESMGR: Texture PlayerColor01.tga failed to load
RESMGR: Texture PlayerColor02.tga failed to load
RESMGR: Texture worker_germanic_128_gloss.dds failed to load
The Buttons subfolder doesn't exist. This is from an Ashes of Erebus main folder downloaded via the SVN, by the way.RESMGR: Texture Art/Interface/Buttons/Promotions/BigPinkBox.dds failed to load
Bannor Chain of Command is an inactive module; not sure why it's looking for stuff pertaining to it.RESMGR: Texture Modules\NormalModules\BannorChainofCommand\Art\Buttons\Corporal.dds failed to load
No Structures subfolder. More pertinently, all the others are Texture XXX failed to load; this one's different. Why is that?RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
Rolled back to Turn 258. Still got a crash going into Turn 266.So going through the resmgr for the above post (it's in the zip):
Can't tell where these are.
The Buttons subfolder doesn't exist. This is from an Ashes of Erebus main folder downloaded via the SVN, by the way.
Bannor Chain of Command is an inactive module; not sure why it's looking for stuff pertaining to it.
No Structures subfolder. More pertinently, all the others are Texture XXX failed to load; this one's different. Why is that?
Note the final line and the most repeated one: RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.RESMGR: Texture civtitle.dds failed to load
RESMGR: Texture Art/Interface/Buttons/Promotions/BigPinkBox.dds failed to load
RESMGR: Texture Modules\NormalModules\BannorChainofCommand\Art\Buttons\Corporal.dds failed to load
RESMGR: Texture ts_e_gov_grnd_NORM.dds failed to load
RESMGR: Texture elfhood_gloss.dds failed to load
RESMGR: Texture worker_germanic_128_gloss.dds failed to load
RESMGR: Texture gargoyle_alb.dds failed to load
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Texture walruspacific_adult_m.dds failed to load
RESMGR: Texture FlagDECAL.dds failed to load
RESMGR: Texture PlayerColor01.tga failed to load
RESMGR: Texture PlayerColor02.tga failed to load
RESMGR: Texture coins_rocksBump.tga failed to load
RESMGR: Texture Tre_shieldBump.tga failed to load
RESMGR: Texture VasesBump.tga failed to load
RESMGR: Texture feathers_64_gloss.dds failed to load
RESMGR: Texture Knight_128.dds failed to load
RESMGR: Texture Knight-gloss-128.dds failed to load
RESMGR: Texture wings_sword.dds failed to load
RESMGR: Texture knight_templar_body_128.dds failed to load
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Texture poleflags_gloss.dds failed to load
RESMGR: Texture spikes_gloss.dds failed to load
RESMGR: Texture shoulderpad.dds failed to load
RESMGR: Texture shoulderpad_gloss.dds failed to load
RESMGR: Texture spikes_gloss.dds failed to load
RESMGR: Texture woodstonespear_gloss.dds failed to load
RESMGR: Texture scout_128gloss.dds failed to load
RESMGR: Texture poleflags_gloss.dds failed to load
RESMGR: Texture poleflags_gloss.dds failed to load
RESMGR: Texture WarElephant_Carthage_gloss.dds failed to load
RESMGR: Texture ewc_driver_128.dds failed to load
RESMGR: Texture ClamENV.dds failed to load
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
It is loaded in memory, but everything that's in xml is loaded in static Info classes that can not be modified after load, just accessed.
So going through the resmgr for the above post (it's in the zip):
[...]
Can't tell where these are.
[...]
The Buttons subfolder doesn't exist. This is from an Ashes of Erebus main folder downloaded via the SVN, by the way.
Bannor Chain of Command is an inactive module; not sure why it's looking for stuff pertaining to it.
Rolled back to Turn 258. Still got a crash going into Turn 266.
Here's the resmgr that was produced:
Note the final line and the most repeated one: RESMGR: Failed loading file Art/Structures/Improvements/Penguins/pig.kfm. Error message: A file I/O error occurred.
I have a tile of penguins in my lands, on ground that's due to change climate back to temperate. Will check if that has something to do with it.
EDIT: It doesn't. The tile wasn't due to turn temperate until Turn 267, and deleting the penguins in WorldBuilder didn't prevent a crash. More importantly, I got the exact same resmgr file compared to otherwise. But that line clearly has something to do with it - I got that same line in my previous post.
Re-activated BCoC after a rigamarole involving permissions. There's an ID conflict between that and Greatest People - UNIT_COMMANDER_BANNOR_CAPTAIN.Because some of the main assets reference the BCoC content. Yes, it's poor form, but BI said he planned to merge BCoC into the main eventually. I suggest you activate the Bannor Chain of Command module again.
Looking at that class I see no reason why you should not be able to add a new variable and have an accessor for it. All you'd have to do is not define that one as a const in the header. Not unless there is something inside the other code that would reject that.the actual class should be called cveventtriggerinfos, the moment it's used is somewhere in CvPlayer, if i remember correctly.