Conversation
|
659e59d : The launcher "Resume" feature will now be halted if there is a game version or mod compatibility issue, ensuring the user stays at main menu where the dialog/panel is shown.
|
|
ready for review/merge :) |
|
Hmmm it looks like it does not work for me 🤔 I saw dialog for half second and loading started... |
|
Urg, maybe they changed something - or the checks are kicking in too late in the lifecycle? |
|
It's triggered in Error 14.9722435: TM:PE 11.6.3 TEST is designed for Cities: Skylines 1.14.0-f4. However you are using Cities: Skylines 1.13.3-f9 - this is likely to cause severe problems or crashes.
Please ensure you're using the right version of TM:PE for this version of Cities: Skylines before proceeding, or disable TM:PE until the problem is resolved. If you need help, contact us via Steam Workshop page or Discord chat.
at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
at CSUtil.Commons.Log.Error(System.String s)
at TrafficManager.Util.VersionUtil.CheckGameVersion()
at TrafficManager.Lifecycle.TMPELifecycle.CompatibilityCheck()
at LoadingManager+<LoadIntroComplete>c__Iterator8.MoveNext()
at LoadingManager.FpsBoosterUpdate()
at BehaviourUpdater.Updater.Update() |
|
Oh, wait, I know what I did wrong... I need to grab tbe value early, set it false, then if checks pass with no problems set it true and continue. 1 sec, will update code... |
I was about to say that, since user can't make any decision if continue or not... |
|
Stopping it in |
Hehe, you can't do that earlier (that method is called in OnEnabled) |
|
Constructor of |
.ctor is called right before OnEnabled so either this or that. In any means looking at detailed log of initialization of game components both are good enough spots |
|
ok, try that :) |
|
Hehe, I thought you will check for incompatibilities and disable if necessary then wait to show dialog with warning 😄 Anyways, feature is working as it should. Merging... |
|
I can't check incompatibilities of mods reliably at that stage (tried that back in #699 ) |

Fixes #1309
Fixes #697
Game version warning message was "inverted" (eg. if game too old it was saying TM:PE too old, and vice versa).
New message looks like this - title changes depending on what is too old, but message stays same.
Additionally the auto-resume feature added by Paradox Launcher will be cancelled if compatibility issues (either game version or mod compatibility checker) are found.