Really annoying bug preventing from testing with game mode

Non-platform specific questions.

Really annoying bug preventing from testing with game mode

Postby Game A Gogo » Wed Mar 09, 2011 8:02 pm

I'm getting this weird error preventing me from testing my game. Except the error occurs at Line 0? how is that possible?
error.PNG

SPR_SpaceCraft1 inherits event from SPR SpaceCraft. I'll send a PM of the ged if an admin needs it as well, I just don't want to release it to everyone.
Also the game seems to work fine exported to windows.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Really annoying bug preventing from testing with game mo

Postby Hblade » Wed Mar 09, 2011 9:35 pm

When erros like this occur, that usually means that the message is a lie. You have to skim through your code thoroughly and find the error yourself to fix this. note that when an error message is wrong, it could be ANYWHERE in the code, so good luck xD
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Really annoying bug preventing from testing with game mo

Postby Game A Gogo » Wed Mar 09, 2011 10:43 pm

it will work perfectly exported, and only happens to SPR_SpaceCraft1, no SPR_SpaceCraft2 or any other, why only that one? they all inherit the same action.

I think it's mess that get's accumulated in the GED file as I program. Weird things happens when you hold shift, press home, then delete if the line is longer than the width of the editor... strange giberish appears
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Really annoying bug preventing from testing with game mo

Postby Game A Gogo » Wed Mar 09, 2011 11:27 pm

I figured out why it happened... It was a rather stupid reason to be honest. Since I have a system of variable that holds the name of what ship to load, if I make a mistake it would load zero's. And since many variable loaded are divisions, yeah.

Nevermind... it started again, maybe for a similar reason though...

EDIT: The bug goes randomly on and off depending on what I do, I see no logic behind the error...
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: Really annoying bug preventing from testing with game mo

Postby again » Thu Mar 10, 2011 12:34 am

I remeber one time, I copied and pasted code and code wouldnt run. There where ? and other symbols that game editor made up inbetween the code. Most ? marks that took up part of code. Also sometimes you have to change some false values to true , which makes no sense.
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score

Re: Really annoying bug preventing from testing with game mo

Postby Hblade » Thu Mar 10, 2011 4:35 pm

This isn't making any sense lol O______o
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest