BenMillard wrote:
Please make the menu ticking work and have it saved in a settings file! An INI file with one line per menu item, loaded when the program first starts and saved when it exists would be fine. If each menu item has a unique name or 'key' then the INI property name can use that verbatim.
It does save some of the settings already. I dont (and wont) make it to save every click, because some of the settings are just temporary settings you probably change randomly depending on the map. You can always suggest me which settings it should save!
CarThief wrote:
Hm, everything's working fine here though every time i exit the editor it just crashes and has to be shut down the hard way.
And due to that every time i start up the editor it said it didnt exit properly and allows sending a crash report though i never really bothered with that outside of the first 1-2 times it happened.
Which editor version you are using? Which OS you have? Does it crash even if you just open the editor and instantly close (without loading map or doing anything with it) ?
CarThief wrote:
Though i did once inconveniently managed to overwrite my main script while switching to the main script from a mission file and i think the prompt to save the changes didnt pop up, or perhaps it did but only when the mission was selected, and it simply put the mission file's text into the main script file upon selecting yes. Good thing there was a backup though... Or something along those lines of changing script files, which can happen if you're trying to see if mission stuff doesnt overlap with main script stuff. Perhaps there should be a function to display all items from all scripts or just a few selected ones?
You are right. I just tested. When you edit a map which has multiple scripts and change the script from menu, it does ask if you want to load it and lose changes made to it, but if you press "dont load", it still changes the script file path! So when you save the script next time, it will overwrite it to the currectly selected script (which is not the same script currently loaded). Thats what happened to you, i assume.
Looks like a bug! it should not change the script path when pressing "No" in that popup about losing changes. I will put this on top of my TODO list.
Thanks for reporting! (please answer to my other questions above too!).