Cities: Skylines

Cities: Skylines

Ragnarok - More disaster controls
Asser  [udvikler] 3. dec. 2016 kl. 12:26
Bug report thread
If you encounter any bugs related to this mod then please post them here and I'll address them as soon as possible.

Help me help you
It would be great if you could do the following when reporting a bug:
  • Paste the content of the log "Ragnarok.log" to sites like pastebin.com and link it here. The file can be found at
    %LOCALAPPDATA%\Colosal Order\Cities_Skylines\Logs\Ragnarok.log
    (see below on how to find %LOCALAPPDATA%)
  • If the log file is empty or missing then please do the above step with the output_log.txt instead. It's located in your games folder. Usually
    C:\SteamLibrary\steamapps\common\Cities_Skylines\Cities_Data\output_log.txt
  • A list of your currently installed and active mods
  • Other data that you think could be relevant
This will help making debugging a lot easier for me

How to find %LOCALAPPDATA%
  • On Windows it's
    c:\Users\<USERNAME>\AppData\Local
    - OR press [WIN]+[R] and type %LOCALAPPDATA% and hit enter. It should open the folder for you
  • On Mac it's
    /Users/<USERNAME>/Library/Application Support
  • On Linux it's
    /home/<USERNAME>/.local/share
< >
Viser 1-15 af 51 kommentarer
Knight 13. dec. 2016 kl. 12:21 
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





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.
Asser  [udvikler] 13. dec. 2016 kl. 14:19 
Thanks for this and sorry about the issue.

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 :-)
Knight 13. dec. 2016 kl. 18:03 
I ended up deleting the logs and configs afer I unsubscribed, resubbed to the mod and now it works flawlessly.

Sorry man, but thank you for this mod!
Aknar 18. dec. 2016 kl. 8:50 
I had the same problem:

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>
Sidst redigeret af Aknar; 18. dec. 2016 kl. 9:04
Asser  [udvikler] 19. dec. 2016 kl. 2:20 
Oprindeligt skrevet af Aknar:
I had the same problem:
[...]

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.

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]
Sidst redigeret af Asser; 19. dec. 2016 kl. 2:26
Verullus Forgefire 4. jan. 2017 kl. 10:57 
After your last update this mod prevent's the entire game from starting up. Since only you mod got updated the culprit was easily found.
Solved this issue by uninstalling your mod.
Asser  [udvikler] 4. jan. 2017 kl. 11:00 
Oprindeligt skrevet af Imparja:
After your last update this mod prevent's the entire game from starting up. Since only you mod got updated the culprit was easily found.
Solved this issue by uninstalling your mod.
Odd.

Could you send me your output_log.txt using pastebin.com or some other servicelike that? Also which mods are you using besides this?
Avanya 4. jan. 2017 kl. 11:40 
Seems I have the same problem. Get to the Paradox logo and then the game shuts down. Log says something about a stack overflow.

Output log here[www.dropbox.com]
Ragnarok log here[www.dropbox.com]
Asser  [udvikler] 4. jan. 2017 kl. 11:46 
I think I found the cause of the error. Working on a hotfix now.
Avanya 4. jan. 2017 kl. 11:54 
Awesome! :steamhappy:
Asser  [udvikler] 4. jan. 2017 kl. 12:06 
Hotfix published. Let me know if it worked or not please :-)
Tomat84 4. jan. 2017 kl. 12:07 
Asser  [udvikler] 4. jan. 2017 kl. 12:15 
It doesn't seem like you have the hotfix installed. Try unsubbing and resubbing to the mod to trigger a new download.
Avanya 4. jan. 2017 kl. 12:26 
Looks to be fixed - game starts up no problem. Just loading a save to be sure. :) Ty for the quick fix! :steamhappy:
Asser  [udvikler] 4. jan. 2017 kl. 12:31 
Good to hear :)
< >
Viser 1-15 af 51 kommentarer
Per side: 1530 50