Not sure if anyone has thought of this but I'm wondering if anyone would be able to adapt common JavaScript code to detect closing the game (e.g. to warn against data loss from unsaved progress).
Detecting game shutdown
JS Plugin RequestsSRD_QuitConfirmation but the only thing it doesn't quit work on 1.6.1 of MV, 1.5.x will work,
but also depending on which plugin you are using.
but also depending on which plugin you are using.
I realise this isn't a full answer, but it looks like you can add a listener to the window's close event and do stuff there?
http://docs.nwjs.io/en/latest/References/Window/#event-close
I don't know how complex that might be to integrate into RMMV's structure... 😅
http://docs.nwjs.io/en/latest/References/Window/#event-close
I don't know how complex that might be to integrate into RMMV's structure... 😅
Okay, first of all there's no such plugin anymore. I literally just checked and unfortunately I cannot find a record of it in either his website, the forums or the plugin database aside from stuff like this, and I wouldn't be surprised if that means it was DMCA'd like soulpour was (if not an outright discontinuation). Not only that, but since forum rules don't allow for the provision of withdrawn assets (and for obvious reasons) I'm probably better off asking to have someone tie my hands behind my back (or so to speak).
As for window.close I already tried that and bricked the game forcing a rollback (though it's also possible that I did it in the wrong place or with some excess text or code designations if not both at once).
As for window.close I already tried that and bricked the game forcing a rollback (though it's also possible that I did it in the wrong place or with some excess text or code designations if not both at once).
this might be the plugin you look before they quit the game. it does exist.
You might need to modify the plugin if you are using 1.6.x
You might need to modify the plugin if you are using 1.6.x
Which I will probably need a bit of assistance in isolating what needs to be changed. In the meantime, this at least has me set with some visual behavior upgrades from the extra plugins it asks me to use on top of this (it's like two more just for the one to the one I actually need).
Original thread: https://forums.rpgmakerweb.com/threads/detecting-game-shutdown.116038/