No game define block

Gary Brown
14 May 2005, 00:46
Question. I saved a game as an asl file. Then when I tried to open it up again, I got a message that said there was no game block defined. What'd I mess up?

Gary

METALGod32
14 May 2005, 01:45
try opening it with word, the code might have got messed up, sometimes stuff like that happens.

Gary Brown
14 May 2005, 02:31
Ah. okay.

Gary

METALGod32
14 May 2005, 05:39
usually when i get errors i open it with word, then i look at the code i last changed...like what were you doing just before the error?

then open it with word....Find that section in the code...compare it to working code...or take it out all together...simple do that piece over.

but your error sounds like a define is missing or something...go through the code...usually it's what you were last doing before the error.

it's time consuming thats for sure...i spent 2 days once searching and searching for the error, i took out the last object i was working on...then it loaded and played ok...i just hadda redo the object.

another thing i do often now is, Save a backup...like my game, business tycoon has: Businesstycoon and Businesstycoonbackup.

francisstokes
14 May 2005, 10:42
If it says "no define game block" then the error is right at the begining.Sometimes the error isnt acualy what is says it is so just look all around that area of code.

If you post the code, ill have a look.

Oh, and if it works for you metalgod32 then fine, but i find that word messes up code and puts new lines everywhere halfway through a line of code.

So i use Notepad or Wordpad.

Cryophile
16 May 2005, 17:08
You're most likely missing an end define after the last variable at the beginning of your code.