Page 1 of 1

Init decl list error-impossible resolved

PostPosted: Fri Apr 10, 2009 2:52 pm
by equinox
HI at ALL,

in all the ACTORS have this error that I do not understand....

and now I can not open GE as possible?

I lost all the code that I wrote !!!!

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Fri Apr 10, 2009 3:11 pm
by makslane
Please, post the script

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Fri Apr 10, 2009 5:29 pm
by equinox
Yes Mak. Is neccesary ther grafic?

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Fri Apr 10, 2009 10:02 pm
by makslane
I can't open this ged, sorry.

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Fri Apr 10, 2009 10:12 pm
by DST
makslane wrote:I can't open this ged, sorry.


Neither can I. It seems like a pretty intense error, as it actually causes ge to close without warning.

I have NEVER seen this happen in a ged file, and i've probably opened >500 unique ged files in the time i've been programming, and well over 2000 total ged files.

Is there some way to parse the data contained inside a ged? Some kind of recovery application could be written?


There is nothing more frustrating than losing your work on the computer. Always back it up often. Constantly update the versions as you do so. My tower defense game had over 40 ged files by the time it was done, because i constantly backed it up with serialized filenames (tower001, tower002, tower003 etc. etc).

Sorry Equinox.

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Fri Apr 10, 2009 11:38 pm
by makslane
With the .undo file is possible recover the ged
But needs to use the ExtractAllFiles function in the source code:

http://code.game-editor.com/browser/tru ... l.cpp#L903

The function gets a .undo file and extract all ged files inside it.

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Sat Apr 11, 2009 12:11 am
by equinox
I did not understand how to use the source file, taht I see the page that you have given me.

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Sat Apr 11, 2009 11:45 am
by makslane
Post the .undo file and I will use the instructions on the previous post to get the ged files.

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Sat Apr 11, 2009 6:59 pm
by equinox
.undo file

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Sun Apr 12, 2009 9:46 pm
by makslane
Sorry, this file doesn't looks like a .undo file (the .undo file starts with the string GEDUNDO1 in the file).

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Sun Apr 12, 2009 9:51 pm
by makslane
BTW, in the current Game Editor code, the user will be able to type "gameEditor yourfile.undo" to recover the ged files from the undo file

Re: Init decl list error-and now I can not open GE as possible?

PostPosted: Mon Apr 13, 2009 7:57 am
by equinox
..patience.

Fortunately I have an old save. Beginning from this

Tnk1000.

Re: Init decl list error-impossible resolved

PostPosted: Mon Jan 04, 2010 12:43 am
by Oman
Hey, sry to open an old thread, but i found a "fix" to this problem.

This started happening to me a few hours ago. I've since found that by deleting any global code i've written that has used the define function this horrible error message has disappeared... very odd.

@equinox -> If you have managed to get ur .ged file back up and running give this a go and let me know what happens.

Hope this helps,
Oman

Re: Init decl list error-impossible resolved

PostPosted: Thu Jan 07, 2010 3:56 pm
by equinox
Yes, work!

Tnk1000 for help.