Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: metalmario991 on Sun 18/01/2015 03:16:26

Title: Why? What happened?
Post by: metalmario991 on Sun 18/01/2015 03:16:26
I didn't mess with anything. Nothing should have went wrong. Why does it keep saying the function is still open? I DIDN'T TOUCH ANYTHING WITH THESE FUNCTIONS. And now I can't run the game at all. What happened?
Title: Re: Why? What happened?
Post by: metalmario991 on Sun 18/01/2015 03:37:46
I fixed it.
Title: Re: Why? What happened?
Post by: monkey424 on Sun 18/01/2015 04:07:06
Quote from: metalmario991 on Sun 18/01/2015 03:37:46
I fixed it.

(http://www.mediafire.com/convkey/e3d2/34jddvdefgy9dy2zg.jpg)

Yes we can!
Title: Re: Why? What happened?
Post by: Snarky on Sun 18/01/2015 04:07:53
Read this post and do what it says: http://www.adventuregamestudio.co.uk/forums/index.php?topic=14373.0
Title: Re: Why? What happened?
Post by: Calin Leafshade on Sun 18/01/2015 17:51:17
The mistake is on line 934 of the script MyGame.asc

You spilled coffee on your keyboard and it caused the backspace key to be pressed 14 times before you mopped it up. This deleted 13 spaces and one closing brace.

Easy fix really.
Title: Re: Why? What happened?
Post by: monkey0506 on Sun 18/01/2015 22:42:51
Which could all have been easily avoided if only his game had been coded in Lua.

(http://deerwaves.com/wp-content/uploads/2012/06/trololo.jpg)