"Crash in the code" problem

Non-platform specific questions.

"Crash in the code" problem

Postby Leif » Sat Feb 04, 2012 6:14 pm

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.
Last edited by Leif on Mon Feb 06, 2012 4:23 pm, edited 1 time in total.
Repulsor beam + heavy cannons
User avatar
Leif
 
Posts: 147
Joined: Mon Dec 15, 2008 12:42 pm
Location: Moscow, Russia
Score: 10 Give a positive score

Re: "Crash in the code" problem

Postby Game A Gogo » Sat Feb 04, 2012 7:52 pm

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..
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3464
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: "Crash in the code" problem

Postby lcl » Sun Feb 05, 2012 5:19 pm

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?
User avatar
lcl
 
Posts: 1921
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 202 Give a positive score

Re: "Crash in the code" problem

Postby Leif » Mon Feb 06, 2012 4:09 pm

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
Repulsor beam + heavy cannons
User avatar
Leif
 
Posts: 147
Joined: Mon Dec 15, 2008 12:42 pm
Location: Moscow, Russia
Score: 10 Give a positive score

Re: "Crash in the code" problem

Postby skydereign » Mon Feb 06, 2012 8:07 pm

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.
User avatar
skydereign
 
Posts: 3443
Joined: Mon Jul 28, 2008 8:29 am
Score: 569 Give a positive score

Re: "Crash in the code" problem

Postby Leif » Tue Feb 07, 2012 6:35 am

Merging game into new ged file leads to error and closing GE when game is launched in "Game Mode".
Sadly - it does not work (
Repulsor beam + heavy cannons
User avatar
Leif
 
Posts: 147
Joined: Mon Dec 15, 2008 12:42 pm
Location: Moscow, Russia
Score: 10 Give a positive score

Re: "Crash in the code" problem

Postby Game A Gogo » Tue Feb 07, 2012 5:12 pm

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.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3464
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron