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.
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:
- FULL SCREEN - When runing in full screen mode, AGS attempts to change the resolution of the screen according to the settings in the acsetup.cfg file. Run winsetup.exe to see what rresolution the game is set to run at. Then be sure that you can set your computer's screen to that resolution. If not try changing the resolution using winsetup.exe to a setting that works on your computer.
- WINDOWED MODE - Try running the test in windowed mode. You can do this from the menu File->Preferences->Game Testing State=Forced Windowed.
- RUN EXECUTABLE - As a last resort just try running the executable directly. You can generate the executable just by doing a File->Save command from the menu. Then goto window's file explorer and double click on the game executable file in the compiled folder.
Give these things a try and let us know how it turns out. Maybe some of the others will have more ideas about what to do. Good luck.
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).
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* :-[
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.... :'(
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.
You mean like an interaction with an item?
I've checked and can't find anything. ???
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.
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!
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.
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?
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.
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?
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.
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