THIS PROGRAMMING LANGUAGE SUCKS!!!(I HAVE A GOOD REASON TOO)

Sharpturn
21 Jun 2012, 19:42
I WORKED ON A NEW INNOVATIVE GAME FOR HOURS AND HOURS AND HOURS AND THEN I TRY TO RUN IT AND I GET AN ERROR MESSAGE SAYING

Failed to load game due to the following errors:
* Error: Cannot add object ":Invalid object name

I FIGURED MAYBE IF I RESTARTED IT, IT WOULD WORK, BUT NO!!! IT LOCKED ME OUT AND NOW I CAN'T EVEN GET BACK IN TO EDIT IT.

Edit:
Moved on to bigger + better things.

Pertex
21 Jun 2012, 20:32
Why don't you just append your game here and we will be pleased to look at it . I am sure we will find your bug

Sharpturn
21 Jun 2012, 21:09
OK. BTW, It will probably be very easy to find because it keeps you from even starting :lol:
(Also, sorry about that whole rant at the beginning, I usually don't get that mad that fast and I am genuinely sorry. :| :roll: )

Sharpturn
21 Jun 2012, 21:10
One more thing... thanks for replying so fast! :D

Chase
21 Jun 2012, 23:30
Your issue is <object name="" /> at the top, it has no name, so the game pukes. Just remove that line and you're golden.

It has absolutely nothing to do with the scripting language, or XML, the markup language used to define the game. It's the interpreter or perhaps the designer that have a bug if you managed to create this unloadable file via normal gui based editing.

Sharpturn
21 Jun 2012, 23:50
But I can't even get in to edit it.

guzmere
22 Jun 2012, 05:47
Sometimes approaching new languages can be a little vexing until you start to understand them. I know I`ve been there however if you do download a free text editor off the web you can load it into that and change the contents from there, then just resave it and you are good to go. P. S. there is always someone to help you on this great forum. Chin up, Terry :D :D :D :D

Sharpturn
22 Jun 2012, 05:55
Could I just change the extension to .txt and use Notepad? BTW, found the P.S. out, This has the best online service I've ever seen. EVER. :) :D :mrgreen:

:shock:

Pertex
22 Jun 2012, 06:51
You don't have to change the extension. just load it with notepad

Chase
22 Jun 2012, 07:34
Ahh sorry. Forgot not everyone knew about.. erm.. that kind of thing.

Alex
22 Jun 2012, 07:48
If you let me know how you managed to create an object with no name, I can fix this bug in the next version.

gideonwilliams
22 Jun 2012, 13:16
Interesting;y this is something that has happened to my students when making a game...!

Alex
22 Jun 2012, 13:30
Would love to know how! The editor won't let you create an object with a blank name, and will revert your edit if you delete the contents of the "name" textbox (telling you "invalid element name"), so how did they manage it?

You can't delete "name" from the attributes list, or clear it out from there either...

Sharpturn
22 Jun 2012, 23:03
I have no idea, at one point I was going to create an object, but I decided not to. It gave me the error and I excepted it, and it worked fine for a while. However, after a few runs, It suddenly created it, and I got locked out. P.S. Decided to trash the old, started from another bug (however this one was caused by my misunderstanding of variables), and got further and better. It really is becoming quite a marvel.

Chase
23 Jun 2012, 04:59
Save on clear, selecting a new object after the name has been cleared out, etc? Creating a new object but hitting delete instead of continuing to make it. Not sure have not tried any of these.

Cast a wide enough net...

Padraig468
26 Jun 2012, 20:14
Guys, I have this problem as well. But, how can I fix it MYSELF?

Padraig468
26 Jun 2012, 20:16
Here is my game if you want to fix it, by the way.

Pertex
26 Jun 2012, 20:45
Padraig468 wrote:Guys, I have this problem as well. But, how can I fix it MYSELF?


Open your gamefile with an external texteditor and delete

<object name="" />


Here is your file.