Page 1 of 1

Really annoying bug preventing from testing with game mode

PostPosted: Wed Mar 09, 2011 8:02 pm
by Game A Gogo
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.

Re: Really annoying bug preventing from testing with game mo

PostPosted: Wed Mar 09, 2011 9:35 pm
by Hblade
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

Re: Really annoying bug preventing from testing with game mo

PostPosted: Wed Mar 09, 2011 10:43 pm
by Game A Gogo
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

Re: Really annoying bug preventing from testing with game mo

PostPosted: Wed Mar 09, 2011 11:27 pm
by Game A Gogo
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...

Re: Really annoying bug preventing from testing with game mo

PostPosted: Thu Mar 10, 2011 12:34 am
by again
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.

Re: Really annoying bug preventing from testing with game mo

PostPosted: Thu Mar 10, 2011 4:35 pm
by Hblade
This isn't making any sense lol O______o