-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close after lauch setting doesn't work #317
Comments
I had similar behavior in 1.5 beta 2, disabling |
Didn't get this in the beta but did with the full 1.5.0 release What I found fixed it was setting AML's "close on launch" to true and starting the game. Exit game. Re-start AML and then set "close on launch" to False. That seems to have fixed it. I think when I started with a fresh settings .xml file the setting was followed, only when I used my migrated settings did it fail. I compared a freshly generated settings file with my historic one using Winmerge and couldn't see any meaningful differences about the config option. |
I had this with 1.5.0 stable on a fresh installation of X2 and AML on Win 10. Launching AML as admin seems to have fixed it. |
…rmance, "close on exit" setting and UI freezes fixes X2CommunityCore#317 X2CommunityCore#289 X2CommunityCore#268
…rmance, "close on exit" setting and UI freezes fixes X2CommunityCore#317 fixes X2CommunityCore#289 fixes X2CommunityCore#268
Should fix #317, fix #289 and fix #268. * Replaced SteamAPIWrapper with 'SteamManager', which is now responsible for calling 'RunCallbacks' in a timer. Except for startup/shutdown, no one should call init/runcallbacks/shutdown manually. * Fixed an issue where callbacks (not callresults!) were registered multiple times, resulting in ever growing steamworks callbacks. * Wrapped some steam callbacks (CallResults) into an async helper function using proper async/await constructs. * Tweaks to mod list being non responsive (also prevent unnecessarily refreshing/redrawing it) * Load mod dependencies as part of the GetDetails batch requests * Refresh mod list filter after hide/unhide to update mod list properly
The Issue here is that it crashes when running the game, as it is accessing memory it should not be... Here is the callstack of the error:
The piece of code causing the crash is on line 16 of The Problem here is potentially(I am about 99% on this) caused by a combination of 2 things.
Here is the offending code:
In my local testing, commenting out the line |
Should fix #317, fix #289 and fix #268. * Replaced SteamAPIWrapper with 'SteamManager', which is now responsible for calling 'RunCallbacks' in a timer. Except for startup/shutdown, no one should call init/runcallbacks/shutdown manually. * Fixed an issue where callbacks (not callresults!) were registered multiple times, resulting in ever growing steamworks callbacks. * Wrapped some steam callbacks (CallResults) into an async helper function using proper async/await constructs. * Tweaks to mod list being non responsive (also prevent unnecessarily refreshing/redrawing it) * Load mod dependencies as part of the GetDetails batch requests * Refresh mod list filter after hide/unhide to update mod list properly
AML Version: 1.5.0
Description
The close after launch setting doesn't work: The launcher always closes regardless of the setting
The text was updated successfully, but these errors were encountered: