Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Winter_Stardust on Sat 26/02/2005 04:35:37

Title: Error Message when trying to Test Game.
Post by: Winter_Stardust on Sat 26/02/2005 04:35:37
Hi, um, I'm new to the boards so I hope I'm doing this right. I've followed the tutorial for AGS and am still having trouble. When I go to test my game, I get this message....

An Exception 0xC0000005 occured in ACWIN.EXE at EIP = 0xBFF9BB6B ;program pointer is 189, ACI version 2.62.772, gtags (0,0)

Then it says: AGS cannot continue, this exception was fatal.

What do I do? I'm running AGS on Win98, and this seems to be the only error I get. I hope I've provided enough info for someone to help me.
Title: Re: Error Message when trying to Test Game.
Post by: RickJ on Sat 26/02/2005 07:58:26
It's my understanding that on some combinations of hardware the "Test" feature does not work properly.  AFAIK CJ, the author of AGS, has not been able to replicate this problem and so has not been able to do much about it.  There are, however, some things you can try to get Test to work as folllows:

Title: Re: Error Message when trying to Test Game.
Post by: strazer on Sat 26/02/2005 14:18:00
Quote from: CJ
Hmm yeah, EIP -189 is the free disk space check, which is done before any of the game scripts are loaded

Do you have enough free disk space?

If you do:

Quote from: CJ
Changes from AGS v2.7 Beta 7 to Beta 8:
* Possibly fixed EIP=-189 error happening on some systems.

Try the latest beta (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=19369).
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Sat 26/02/2005 20:43:05
Um, I tried running the game from the .exe file and I got the same error message. I'll try the new beta (After backing up my game of course :) )
I think I have enough disk space, I'll double check that and let you know.
Oh yeah, one more thing, um, how do you know if your character is loaded into the game? I have him starting in room1, and I've set the cordinates for his starting point and loaded all the movement sprites. Is there anything else I should be looking for?
If I need to, I'll post that last question in a new forum post...Like I said, I'm new *Is shy* :-[
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Sat 26/02/2005 21:09:10
Ok, I moved a copy of the game to a bigger drive, and it tried to start up then I got this message:

An error has occured. Please contact the game author for support, as this is likely a scripting error and not a bug in AGS.

Error: Display Message: Invalid message number to display.


What does this mean? I've tried different screen sizes and still no luck.... :'(
Title: Re: Error Message when trying to Test Game.
Post by: Hollowman on Sat 26/02/2005 22:16:25
This just means that you have set up an interaction somewhere to display a message that doesn't exist. Check your rooms and so on to see where you made the mistake.
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Sun 27/02/2005 02:03:09
You mean like an interaction with an item?
I've checked and can't find anything. ???
Title: Re: Error Message when trying to Test Game.
Post by: Scummbuddy on Mon 28/02/2005 19:46:59
We're sorry, but thats what the error message means. If you seriously go through your code and can't find it, well, then it could possibly be a bug, and we would appreciate you to upload your game that we may track the bug and fix it.... but only after you hand check all your code, please.
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Tue 01/03/2005 04:44:42
Well, thanks for the replies everyone, I'll retry everything and follow the tutorial to a "T" as best I can. Thankies!
Oh, and if you have a moment, can you check my next question? Thanks!
Title: Re: Error Message when trying to Test Game.
Post by: Goot on Tue 01/03/2005 05:03:44
If it's coming up with that message error as soon as you test the game it's probably an interaction that occurs at the beginning of the game. See if you've got anything in the game start function in the global script (if you don't know what that is there shouldn't be anything wrong there), and in the player enters screen interactions. You probably tried to display a message number that was higher than the highest message number for that room, maybe you typed in an extra digit by mistake or something.
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Tue 01/03/2005 18:59:50
Ok, um, I re-did everything in my test game, and I noticed when I make the message number 1 or 2, 3...etc it messes the game up. When I use the defalt message number 999, 998 etc, it works without a problem, and I can even change the message text without any trouble.
Should I just go from 999 on backwards? Am I only allowed 999 messages in my entire game?
Title: Re: Error Message when trying to Test Game.
Post by: strazer on Tue 01/03/2005 19:09:14
Only messages from 500 up are global messages.
Messages 0 to 499 are room messages, so there's likely no message defined for the current room.

So for global messages, only use messages 500 and up.
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Tue 01/03/2005 19:52:10
Ok, I'll have to do my homework on what Global Messages are. Is that like the message you can set to display when the user clicks on the playable character?
Title: Re: Error Message when trying to Test Game.
Post by: strazer on Tue 01/03/2005 20:02:12
Yes, they're the ones you can define in the "Global messages" pane of the editor.

With the interaction editor command "Game - Display a message", you can display global messages (500-999) as well as room messages (0-499).

You can edit room messages via "Room editor" -> "Settings" -> "abc" button. Each room can have different messages 0-499.
Title: Re: Error Message when trying to Test Game.
Post by: Winter_Stardust on Tue 01/03/2005 20:03:24
Thanks Strazer, that helps a lot, also, um, I'd like to thank everyone else for their help. I'm really shy, so it's kinda hard to ask all these questions. thanks for being so nice to a newbie everyone  :D