Fatal Error when trying to test my game

Started by Klytos, Sun 13/06/2004 07:43:16

Previous topic - Next topic

Klytos

CJ,

An exception, 0xC0000005 occured in ACWIN.EXE at EIP = 0xBFF8C15B (strcpy / strcat); program pointer is +0, ACI version 2.61.747, gtags (0,0). AGS cannot continue this exception was fatal.....yadda yadda yadda.

As for what I was doing : I had upgraded to the new version and loaded my project up in it, I drew a walkable area on a screen, reset the left yellow room edge to 5 points in. And in the properties for that room edge, I put in

MoveCharacterBlocking(EGO, -10, character[EGO].y, 1);
NewRoomEx(200, 330, character[EGO].y);

And that was it. I tried to test the game <CTRL> <T> and it saved it, then came up with that error. I loaded up a different project and tried it, (it's only a small one with 2 rooms) and it worked fine. I also tried getting rid of the code I wrote to see if it was that, but same error came up.

Please Help!

Klitos

Gilbert

Don't use the test feature of the editor, it's not very reliable. Try saving the game, then go to the compiled folder of it and test it there instead.

Radiant

Really? I've never had problems with it. But isn't opening the relevant executable (i.e. CreateProcess()) exactly what ^T does?

Have you tried recompiling all rooms (there's a menu option) that might work

Gilbert

#3
Nope, for some reasons they're different. When you test a game the editor was (intentionally) freezed, if you just run the executable directly from the compiled folder the editor won't be freezed (I think).

The ^T feature is a bit fuzzy, it may cause some problems in some computers, if you never have any problem with your computer you can continue using it happily, but if it exhibits problems in your computer (for example, my WIN95 computer freezed once out of 4 times usage of that feature), it's advisible you don't use it.

Pumaman

When does the error appear? As soon as you load the game, or later on? Can you upload the game for us to take a look at?

As for the test game feature's reliability - I really haven't been able to figure out why it doesn't work for some people. I've tried every different run-time library call, as well as manually using CreateProcess, but it seems to have the same result. It's bizarre.

Klytos

I tried just loading the executable file from the compiled directory but the same error came up. I've never had a problem with the test function before.

As for when the error appears, I can load and edit the game, and then save it. But it won't run the game, it just loads up the error message.

I have fixed the problem by copying all the files into another directory and compiling it from there, that seems to work properly. I am still curious why it won't run from my original directory.

Scorpiorus

That's odd, there were other reports regarding a similar problem (with the editor though) when it doesn't work in one folder but does in other.

SMF spam blocked by CleanTalk