Giter Site home page Giter Site logo

saki7 / shicho Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 1.0 4.95 MB

Fundamental support mod for hardcore sandbox builders & streamers (Cities: Skylines mod)

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=1383456057

License: MIT License

C# 98.49% Smalltalk 1.51%
cities-skylines computer-graphics photography cinematography

shicho's People

Contributors

saki7 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

shicho's Issues

Incompatible with Harmony pre v1.2.0.1 (was: "incompatible Harmony patch detected")

The game runs slower as time passes, until the simulation basically stops (still runs, but extremely slowly).

According to the output log, there are multiple and continuous incidents of the following error lines:

incompatible Harmony patch detected; this might cause serious conflicts (or visual glitch) in-game
Error: System.InvalidCastException: Cannot cast from source type to destination type.
  at Harmony.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at Harmony.PatchProcessor.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonyInstance.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
  at Shicho.Patcher.Util.UnpatchTarget (Shicho.Patcher.PatchPredicate pred) [0x00000] in <filename unknown>:0 

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

I would love to post the entire output log, unfortunately the log is over 150MB(!!). Other noticable information in the output logs are as follows:


TLM

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

GameSettings: 'TransportsLinesManager5_' is not found or cannot be loaded. Make sure to call GameSettings.AddSettingsFile() to register a settings file before using SavedValue().  [Settings - Internal]

I believe this refers to an harmless error from TLM mod, probably irrelvant to Shicho.


Metro Overhaul Mod

NullReferenceException: Object reference not set to an instance of an object
  at MetroOverhaul.UI.MetroStationCustomizerUI.RestoreStationTrackStyles (.BuildingInfo info) [0x00000] in <filename unknown>:0 
  at MetroOverhaul.UI.MetroStationCustomizerUI.Update () [0x00000] in <filename unknown>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
MetroOverhaul.UI.MetroStationCustomizerUI:Update()
 
(Filename:  Line: -1)

Contrary to the output log, the NullRef message does not pop up in the game. I have notified the devs of MetroOverhaul mod for the errors.

Thank you for your wonderful work!

911 threshold UI

Current function: Auto-heal
This request is to improve the UI to adjust threshold for how quick citizen call ambulance when they're sick. (from @kaminogi)

image

Flow generator

  1. Set a district for specific target
  2. Create a (managed) service building that is capable of generating the target type
  3. Periodically generate the target instance
  • Tourist flow
  • Worker flow
  • Student flow
  • Resident flow
  • Criminal flow

Prop streaming

Render only props close to the camera. This will be a major performance improvement.

Tab key collides with `--enable-dev-ui`

From workshop comment:

You should be able to change the tab key with a user-defined key, because it collides with the tab key of the game, --enable-dev-ui, here the tab key is used to hide and show this UI.

Reported by Samson71

Error between Shicho and Network Skins 2

Describe the bug
On loading a game with both mods active, a message stating that Shicho has caused an error appears.

The Mod E:\Steam\steamapps\workshop\content\255710\1383456057 [Shicho.dll] has caused an error [ModException]

Details:
Shicho.IncompatibleDependencyException: Incompatible dependency
  [ 959894658] Custom Light Effects
  [ 707497031] Tram Station Track
  [ 611254368] Environment Changer
  [ 767233815] Decal Prop Fix
  [ 881291183] Ploppable Asphalt
  [ 586012417] Ploppable RICO
  [ 465127441] Airport Roads 1.3.7
  [1586774819] Other Rail Track Speed Increaser 1.1.0
  [1530376523] Railway Replacer
  [1274199764] Network Tiling
  [ 954067599] PropRotating Params
  [ 949504539] SingleTrainTrackAI
  [1394468624] Advanced Stop Selection
  [1393797695] Touch This! Tool 2.0.2
  [1386697922] Garbage Bin Controller
  [1312735149] Klyte Commons 1.1.6
  [ 940299505] AnimUV Params
  [ 928103306] Ship Converter
  [ 924884948] Plop The Growables
  [ 922939393] Transparency LOD Fix + Cloud Assets Enabler
  [ 903347963] Transparent Selectors
  [ 895061550] Theme Decals
  [ 878991312] Prop it Up! 1.4.4
  [ 837734529] Find It! 1.5.4
  [ 820157360] Spawn Points Fix
  [ 815103125] Extra Vehicle Effects
  [ 814498849] Improved Content Manager
  [ 812125426] Network Extensions 2
  [ 812107110] Less Steam
  [ 802066100] Fine Road Anarchy 1.3.5
  [ 795514116] Train Converter
  [ 793176674] Sharp Textures
  [ 791221322] Prop Precision 1.0.1
  [ 787611845] Prop Snapping
  [ 780720853] Vehicle Effects 1.8.1a
  [ 724382534] One-Way Train Tracks
  [ 714056356] Transport Line Rendering Fix
  [ 707759735] Ship Path Anarchy
  [ 694512541] Prop Line Tool
  [ 689937287] Surface Painter
  [ 654707599] WG Citizen Lifecycle Rebalance v2.6
  [ 651322972] Fine Road Tool 1.3.7
  [ 650436109] Quay Anarchy
  [ 625608461] Adaptive Prop Visibility Distance
  [ 593588108] Prop...
(The error message cuts off here)

To Reproduce
Steps to reproduce the behavior:

  1. Activate both Shicho and Network Skins 2
  2. Load a game
  3. Receive the error

Expected behavior
No errors.

Screenshots
output_log.txt

Mod crash when i turn it on / Not even if CS runs Vanilla

Describe the bug
Get the typical error windows from the game when i turn it on.

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: No target method specified for class Shicho.Patcher.CinematicCameraExtendedPatch
  at Harmony.PatchProcessor.PrepareType () [0x00000] in <filename unknown>:0 
  at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonyInstance.<PatchAll>b__7_0 (System.Type type) [0x00000] in <filename unknown>:0 
  at Harmony.CollectionExtensions.Do[Type] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in <filename unknown>:0 
  at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 
  at Shicho.Bootstrapper.Bootstrap () [0x00000] in <filename unknown>:0 
  at Shicho.Mod.Mod.OnEnabled () [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception`

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Shicho.Mod.Mod.OnSettingsUI (UIHelperBase helper) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception`

Expected behavior
Just that we can find the problem and maybe make you mod better / kill some bugs hm?

Screenshots
https://photos.app.goo.gl/HGORWwRFUxiuofxN2

List of all enabled mods:
Just Shicho

Additional context
Feel free anytime to write me :) My English is just ehh very basic/simple.
(I hope that's enough)
Best regards

Window light color/intensity

  • Window light color can't be changed via texture setting
  • The default light is too "yellow"
  • Need further adjustment for night time too

Feature requested by @kaminogi

System.InvalidCastException at Harmony.PatchInfoSerialization.Deserialize (level load)

via workshop comment:

The Mod D:\Steam games\steamapps\workshop\content\255710\1383456057 [Shicho.dll] has caused an error [ModException]

Details:
System.InvalidCastException: Cannot cast from source type to destination type.
at Harmony.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00000] in <filename unknown>:0 
at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
at Harmony.PatchProcessor.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
at Harmony.HarmonyInstance.GetPatchInfo (System.Reflection.MethodBase method) [0x00000] in <filename unknown>:0 
at Shicho.Tool.Watcher.UnpatchHostiles () [0x00000] in <filename unknown>:0 
at Shicho.Bootstrapper.Bootstrap () [0x00000] in <filename unknown>:0 
at Shicho.Mod.Mod.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0 
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0

reporter: https://steamcommunity.com/id/hyunanax

  • Is that Harmony error occuring everytime or random?
    • Only when the saved game starts. After clicking 'Oké' it will not came back.

Disable/weaken useless simulation

Some simulation features are completely pointless for certain types of sandbox crafters.

  • Illness, hospital, ambulance
  • Death, funeral
  • Garbage, garbage collection
  • Fire event, fire truck
  • Crime, criminal, police

We will never remove the simulation itself, but the most aggressive setting should render the simulation completely hidden.

Stop tree movement

Feature request via Workshop:

WONHO OPPA 4 hours ago  Delete
okay! Every mod that is good for they game is good for my pc. 
Other qeustion "Is it possibly to stop the movement of trees because with a lot of trees on a map framerate is a bitch!.
I think wenn you can make it stop you are the hero of the community"

Also multiple requests from modders Discord

harmony patch

Describe the bug
A clear and concise description of what the bug is.

Paste your error output inside three backticks (`).

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

List of all enabled mods:

  • A
  • B
  • C

Additional context
Add any other context about the problem here.

Field "processors" not found in class Harmony.PatchInfo (ModException)

The Mod C:\SteamLibrary\steamapps\workshop\content\255710\1383456057 [Shicho.dll] has caused an error [ModException]

Details:
System.Runtime.Serialization.SerializationException: Field "processors" not found in class Harmony.PatchInfo
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo) [0x00000] in :0
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64

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.