Cities: Skylines

Cities: Skylines

Ragnarok - More disaster controls
Asser  [개발자] 2016년 12월 3일 오후 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
< >
전체 댓글 51개 중 1~15개 표시 중
Knight 2016년 12월 13일 오후 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  [개발자] 2016년 12월 13일 오후 2시 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 2016년 12월 13일 오후 6시 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 2016년 12월 18일 오전 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>
Aknar 님이 마지막으로 수정; 2016년 12월 18일 오전 9시 04분
Asser  [개발자] 2016년 12월 19일 오전 2시 20분 
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]
Asser 님이 마지막으로 수정; 2016년 12월 19일 오전 2시 26분
Verullus Forgefire 2017년 1월 4일 오전 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  [개발자] 2017년 1월 4일 오전 11시 00분 
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 2017년 1월 4일 오전 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  [개발자] 2017년 1월 4일 오전 11시 46분 
I think I found the cause of the error. Working on a hotfix now.
Avanya 2017년 1월 4일 오전 11시 54분 
Awesome! :steamhappy:
Asser  [개발자] 2017년 1월 4일 오후 12시 06분 
Hotfix published. Let me know if it worked or not please :-)
Tomat84 2017년 1월 4일 오후 12시 07분 
Asser  [개발자] 2017년 1월 4일 오후 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 2017년 1월 4일 오후 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  [개발자] 2017년 1월 4일 오후 12시 31분 
Good to hear :)
< >
전체 댓글 51개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50