Giter Club home page Giter Club logo

citiesskylines-ragnarok's People

Contributors

asser-dk avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

nisamson meda22

citiesskylines-ragnarok's Issues

InvalidCastException

Aknar:

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>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.