Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Cannot cast from source type to destination type.
at SexyFishHorse.CitiesSkylines.Infrastructure.Configuration.ConfigurationManager.GetSetting[Byte] (System.String settingKey) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Ragnarok.OptionsPanelManager.AddMaxIntensitySlider (SexyFishHorse.CitiesSkylines.Infrastructure.UI.StronglyTypedUiHelper group, System.String impactSettingKey, System.String toggleImpactSettingKey) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Ragnarok.OptionsPanelManager.ConfigureOptionsPanel (IStronglyTypedUiHelper uiHelper) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Infrastructure.UserModBase.ConfigureOptionsPanel (IStronglyTypedUiHelper uiHelper) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Infrastructure.UserModBase.OnSettingsUI (UIHelperBase uiHelperBase) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
Ragnorok.log pastebin http://pastebin.com/r3nKxcBN
Output log peastebin http://pastebin.com/3vYz6kEJ
Mods I use: automatic bulldoze, one way street arrows, precision engineering, steamy, unlock all, 25 spaces, better bulldoze tool, environmen changer, traffic manager, network extensions 2, infinite oil/ore, extra landscaping tools.
Problems I've experienced: Can't disable the "disable diasters over x intensity" on earthquakes. I can toggle all settings as normal for other diasters including enabling/disabling earthquakes as a whole. I logged off, came back on. Got that error message.
The issue with my game is that when I click "options" in the content manager menu it goes to the pause menu but doesn't show your mod listed with other mods that have settings.
This seems related to how the mod saves and loads it's configs. Could you perhaps also post the config file? It's in %LOCALAPPDATA%\Colossal Order\Cities_Skylines\Configs\Ragnarok\Ragnarok.xml ?
I'll look into this issue tomorrow :-)
Sorry man, but thank you for this mod!
A Mod caused an error [System.Exception]
Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Cannot cast from source type to destination type.
at SexyFishHorse.CitiesSkylines.Infrastructure.Configuration.ConfigurationManager.GetSetting[Byte] (System.String settingKey) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Ragnarok.OptionsPanelManager.AddMaxIntensitySlider (SexyFishHorse.CitiesSkylines.Infrastructure.UI.StronglyTypedUiHelper group, System.String impactSettingKey, System.String toggleImpactSettingKey) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Ragnarok.OptionsPanelManager.ConfigureOptionsPanel (IStronglyTypedUiHelper uiHelper) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Infrastructure.UserModBase.ConfigureOptionsPanel (IStronglyTypedUiHelper uiHelper) [0x00000] in <filename unknown>:0
at SexyFishHorse.CitiesSkylines.Infrastructure.UserModBase.OnSettingsUI (UIHelperBase uiHelperBase) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
The error poped up after changing the options and i couldn't acess the options window after that. I noticed i couldn't unmark "disable disasters over" checkboxes. Maybe is it linked?
Anyway, here is the config file so you may take a look at it. Until this is resolved, i'll do the same as Knight I guess.
<?xml version="1.0" encoding="utf-8"?>
<ModConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Settings>
<Setting>
<Key>MaxIntensityEarthquakes</Key>
<Value xsi:type="xsd:int">55</Value>
</Setting>
<Setting>
<Key>DisableForesFires</Key>
<Value xsi:type="xsd:boolean">false</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityForesFires</Key>
<Value xsi:type="xsd:boolean">false</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityEarthquakes</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensityForesFires</Key>
<Value xsi:type="xsd:unsignedByte">100</Value>
</Setting>
<Setting>
<Key>DisableAutofocusDisaster</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>AutoEvacuateEarthquakes</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>AutoEvacuateForesFires</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>AutoEvacuateMeteors</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>DisableMeteors</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensitySinkholes</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensitySinkholes</Key>
<Value xsi:type="xsd:int">55</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityStructureCollapses</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensityStructureCollapses</Key>
<Value xsi:type="xsd:unsignedByte">100</Value>
</Setting>
<Setting>
<Key>AutoEvacuateSinkholes</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>AutoEvacuateStructureCollapses</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>AutoEvacuateStructureFires</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>MaxIntensityStructureFires</Key>
<Value xsi:type="xsd:unsignedByte">100</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityStructureFires</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensityThunderstorms</Key>
<Value xsi:type="xsd:unsignedByte">100</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityThunderstorms</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>AutoEvacuateThunderstorms</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityTornadoes</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensityTornadoes</Key>
<Value xsi:type="xsd:int">55</Value>
</Setting>
<Setting>
<Key>AutoEvacuateTornadoes</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
<Setting>
<Key>ToggleMaxIntensityTsunamis</Key>
<Value xsi:type="xsd:boolean">true</Value>
</Setting>
<Setting>
<Key>MaxIntensityTsunamis</Key>
<Value xsi:type="xsd:int">55</Value>
</Setting>
<Setting>
<Key>AutoEvacuateTsunamis</Key>
<Value xsi:type="xsd:int">2</Value>
</Setting>
</Settings>
</ModConfiguration>
I may have found the issue. I'll test my hypothesis and make a fix when I get home from work later today. Thanks for helping me with your data :)
Edit: Added issue on github[github.com]
Solved this issue by uninstalling your mod.
Could you send me your output_log.txt using pastebin.com or some other servicelike that? Also which mods are you using besides this?
Output log here[www.dropbox.com]
Ragnarok log here[www.dropbox.com]