Page 1 of 1

"Crash in the code" problem

PostPosted: Sat Feb 04, 2012 6:14 pm
by Leif
Good day.

I encountered strange and terrible problem.
Whet I'm trying to add any procedure in global code of my game, it leads to error message "crash in the code" when I launch game.
It happens even if procedure is
Code: Select all
void TEST (int T)
{

}


and I do not use it in program.
I found, that this problem will not appear, if I delete one of existing procedures, then add new one. If I add new one second time without deleting any old one - problem appears again.

Seems like GE have limit of procedures. How could it be ?

Does anybody knows something about it ? Please help.

Re: "Crash in the code" problem

PostPosted: Sat Feb 04, 2012 7:52 pm
by Game A Gogo
That's really strange, unless you put that "CODE: SELECT ALL" with it...

As far as I'm concerned, GE has no limit for procedures/functions, just like any compiler..

Re: "Crash in the code" problem

PostPosted: Sun Feb 05, 2012 5:19 pm
by lcl
I think you should try to save the .ged again with a new name and try then again.
The file may have some problems in it.

Other than that I don't know what could cause it..
How many procedures you have, then?

Re: "Crash in the code" problem

PostPosted: Mon Feb 06, 2012 4:09 pm
by Leif
Resaving file with another name does not help.
I tried to work in different OS - Win XP and Win 7 - same story.

For now I have 83 user functions and procedures

Re: "Crash in the code" problem

PostPosted: Mon Feb 06, 2012 8:07 pm
by skydereign
That wouldn't cause it to crash though. It would seem something happened to your ged file that is messing it up. You might try merging it into a new ged file (you'll have to reinput the view actor's events) but see if it still has the problem.

Re: "Crash in the code" problem

PostPosted: Tue Feb 07, 2012 6:35 am
by Leif
Merging game into new ged file leads to error and closing GE when game is launched in "Game Mode".
Sadly - it does not work (

Re: "Crash in the code" problem

PostPosted: Tue Feb 07, 2012 5:12 pm
by Game A Gogo
can you post the GED? or send it through a pm to me? I'd take a look at it and see if there's anything I can do. Sometimes the error is elsewhere in the code but Game Editor cannot identify the problem.