GithubHelp home page GithubHelp logo

Comments (4)

Vectorial1024 avatar Vectorial1024 commented on July 23, 2024

Hi there!

Yes, I am already aware of the TypeLoadExceptions when users have not yet installed Harmony before loading this mod. Such error is allowed here (or even allowed in my other Cities Skylines mods) because, as I utilized CitiesHarmony to get HarmonyLib in the past, CitiesHarmony did not offer any middle ground and I was unable to think of a good way of solving it.

CitiesHarmony's auto-self-subscription goes against my personal philosophy, and, knowing that they only offer these two options:

  • Auto-subscribe to CitiesHarmony, and resolve reference
  • If CitiesHarmony is loaded, resolve HarmonyLib reference

it was too much work trying to implement this, which is what I desired:

  • If CitiesHarmony is not loaded, display a dialog box and prompt subscription

Still, I'm glad to hear about a new Harmony provider in CSL that may work better than CitiesHarmony. I will investigate that in detail some time later when I have more time for other things.

Leaving this open for now.

from expressbusservices.

Vectorial1024 avatar Vectorial1024 commented on July 23, 2024

Still, as some additional info, with me only interested in HarmonyLib and not the fancy compulsory wrapper libraries that came with it, all my CSL mods right now were built with the assumption that CitiesHarmony is the only provider of HarmonyLib, which is not necessarily sound now that we have an alternative Harmony provider.

from expressbusservices.

drok avatar drok commented on July 23, 2024

I understand your concern about auto-subscription, and have taken it as a feature request (drok/Harmony-CitiesSkylines#14) to provide an API method to get the Harmony ready callback without triggerring auto-subscription.

If you have other feature requests, please add them as issues on my Harmony Repo: https://github.com/drok/Harmony-CitiesSkylines/issues

from expressbusservices.

Vectorial1024 avatar Vectorial1024 commented on July 23, 2024

Thank you very much! I am looking forward to the release of your version of Harmony provider!

Edit: Apparently it is already released here lol, but still! Thank you very much! I'll look into it some time later.

https://steamcommunity.com/sharedfiles/filedetails/?id=2399343344

from expressbusservices.

Related Issues (20)

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.