Jump to content
Scott Richmond

LUA Editor - Crash recovery

Recommended Posts

Was just playing around with LUA with the LUA Editor (Not in the sandbox) and when I went to run the little script I made it sat there churning away at the CPU for ages. I figured it was borked since all it was meant to do is load a map I made in two seconds.

 

I haven't worked out why that happened, but it made me realise that this editor should have a crash recovery mechanism.

It shouldn't be a big deal - Simply have it save all open files as *.tmp in the same directory every 5 minutes and when it boots back up have it search for *.tmp files and load them and ask the user whether they want to keep or delete the file.

Share this post


Link to post

I also experience that in the script editor opened via the editor, i can get a few lines of code that seems to crash both script editor and the editor and then if i try to load that scene back up again, it just simple instantly crashes.

 

So i have to go and open the script up in notepad remove the code thats crashing it and then load it back up.

 

Very annoying.

 

Andy

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...