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

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.

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

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: )

One more thing... thanks for replying so fast! :D

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.

But I can't even get in to edit it.

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

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:

You don't have to change the extension. just load it with notepad

Ahh sorry. Forgot not everyone knew about.. erm.. that kind of thing.

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...!

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...

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.

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...

Guys, I have this problem as well. But, how can I fix it MYSELF?

Here is my game if you want to fix it, by the way.

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.