I am trying to run a file in SED but I am getting the following error message: Crash in main: level_load(@2)
The file compiles correctly though and used to run fine till about a month back, which was the last time i had run it. I have reinstalled A7 and recompiled the level but I am still getting the same error message.
any ideas? I am using Win XP SP3.
Re: what does this error mean? 'Crash in main: level_load(@2)'
[Re: AloC83]
#290888 09/22/0907:0809/22/0907:08
#include <acknex.h>
#include <default.c>
function main()
{
level_load("grounds.wmb");
wait(2);
}
This is not the program I was trying to run but even a simple program such as this one is giving the same error. I tried with other compiled levels apart from "grounds.wmb" still I get the same error.
Re: what does this error mean? 'Crash in main: level_load(@2)'
[Re: AloC83]
#290901 09/22/0908:5409/22/0908:54
It was saved as .wdl. I changed it to .c and now its working!
Thanks Xarthor, but what I don't understand is how come it was working fine earlier with the .wdl extension? The last time I ran this program was abt a month ago and it worked fine. Why did it then stop working by itself? Is there any setting in SED for this, which I might've messed up?
Re: what does this error mean? 'Crash in main: level_load(@2)'
[Re: AloC83]
#290906 09/22/0909:3509/22/0909:35
Well maybe you did update inbetween? As the manual describes: wdl must not be used for code anymore, if you use wdl in a lite-C project it may only contain path and resource settings.
My advice: Use .c and .h for your files and lite-C as language (which is what you'll find in the manual anyway)
Re: what does this error mean? 'Crash in main: level_load(@2)'
[Re: Xarthor]
#290907 09/22/0909:4309/22/0909:43