Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

[976] Compiling and importing scripts crashes the second time

11 replies · 2,919 views · Started 16 March 2009

1. Compile scripts
2. Hit Ok in the "Script slots" window
3. Hit Ok in the dialog box.
4. Compile scripts again
5. Hit OK in the "Script slots" window
6. Crash

I'm getting quite a lot of crashes during compiling too...

It's not always the second one, but the compiler does crash quite often.

EDIT:
OK, working in 976 it's crashing consistently on the second compile now.

I'm pretty sure it was a lot less regular when I was working with the source code yesterday. I don't see why it should have been though 'cause it's the same code.

Looking at it, it seems there is a memory leak in the compiler that could cause crashes upon repeated compiling. It'll be fixed by the next beta.

Ugh, I can't get scripts to compile a first time in 976. 😞

I don't know how everyone else made it to a second...I'm crossing my fingers for the next build.

I think it's related to the size of the script, so if you're compiling a really huge script, you'd get the memory leak during the first compile.

But that's just a guess though really.
I'll upload a new build in a minute when I'm finished with what I'm doing.

EDIT: OK, no need to worry about the crash bug now.