Took mod with SP and replaced Spring.Restart("-s", file) with Spring.Reload (file) (file being a startscript string loaded from txt file)
I swapped between missions a few times (load mission A, go to menu, mission B, go to menu, load mission A,...) and after some ten tries spring did hang. I tried again to reproduce and watched memory usage in taskmanager but saw nothing unusual and could not reproduce it.
Before Restart takes effect there is a delay of 2-5 seconds during which spring appears frozen.
(does not update anymore, clicking causes Windows to "white out" spring's window and the title changes to "(Keine Rückmeldung") (=not responding) like Win does for all programs that have supposedly hung up. Like in this screenshot of some browser: http://www.windows-7-forum.net/attachme ... ung_ff.jpg )
It is not really bad but similiar to the previous "flash of desktop" during restart it can look bit strange to players. On plus side the mod now has controll what to draw before this frozen period.
The option works but not sure if that is just for testing or supposed to stay.Kloot wrote:Besides the Spring.Reload callout, the branch also adds quit-to-menu functionality which is accessible by:
2) bringing up the quit-box (shift+esc) and choosing "quit to menu", or
Many mods still use this menu: For multiplayer there is now an option that players should never click.
Of course mods do not have to use the engine-menu and can do their own Quit-menu without this option but that just makes it even less unnessecary to add the "problematic" option to engine-menu?
For modders it gives no big advantage either and they still have other ways to return to the beach.
...a way for players to get into these Lua-menus from the normal lobbies, too.Silentwings wrote:From the point of view of single player stuff, the natural next step is...