Fatal Error

Started by VII Toast, Sun 02/01/2005 17:26:53

Previous topic - Next topic

VII Toast

Read the 3rd post... >:(
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Gilbert

It can be a error that you had changed something in the editor and didn't recompile a room that relies on that something.
Try choosing Game -> Rebuild all room files in the editor and save the game again and see if that helpd.

VII Toast

Well...I have been able to run it in the lower relosution screen but when I started it up it got two error messages.



Quote
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x7C918494 ; program pointer is +203, ACI version 2.62.772, gtags (0,50)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.



Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK   
---------------------------

and

Quote
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x7C910F29 ; program pointer is +200, ACI version 2.62.772, gtags (0,50)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.



Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.
---------------------------
OK   
---------------------------
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Pumaman

Did you try what Gilbot suggested?

Can you provide more details about what you did that lead to the crash starting to happen?

VII Toast

Quote from: Pumaman on Mon 03/01/2005 12:26:41
Did you try what Gilbot suggested?

Can you provide more details about what you did that lead to the crash starting to happen?

Yeah, I did try it.

What I did was try to run a room with the following script.

Code: ags
#sectionstart room_a  // DO NOT EDIT OR REMOVE THIS LINE
  // script for room: ENTERS SCREEN AFTER FADEIN
  Wait (10);
  FaceLocation (EGO, 1000,120);
  Wait (10);
  FaceLocation (EGO, 1000,-120);
  Wait (10);
  FaceLocation (EGO, 1000,120);
  Wait (10);
  FaceLocation (EGO, 1000,-120);
  Wait (20);
  DisplaySpeech (EGO,"Whoa..");
  Wait (20);
  DisplaySpeech (EGO,"We all look so different without our pimpin' clothes on.");
  DisplaySpeech (EGO,"Why are we wearing the outfits anyway?");
  Wait (15);
  DisplaySpeech (DRAKUL,"It promotes self discipline and respect.");
  Wait (5);
  DisplaySpeech (EGO,"Then why does Barron get to wear his clothes?");
  DisplaySpeech (EGO,"He also gets to--");
  DisplaySpeech (IMPORT1,"SILENCE!");
  DisplaySpeech (IMPORT1,"As Leader and Master of Atropos, I earn the right to wear this.");
  DisplaySpeech (IMPORT1,"So, stay silent.");
  Wait (10);
  DisplaySpeechBackground (CLERK2,"I'd advise you not to think that.");
  Wait (10);
  DisplaySpeech (IMPORT1,"Master? Is that you?");
  DisplayThought (CLERK2,"Yes.");
  Wait (10);
  DisplayThought (CLERK2,"Get the troops ready and meet me at the dock.");
  DisplayThought (CLERK2,"We will attack the S.S. Silverflare at 1800 hours, on the second.");
  Wait (15);
  DisplayThought (CLERK2,"Is your mission understood, Barron?");
  DisplaySpeech (IMPORT1,"Yes my Master!");
  Wait (15);
  DisplaySpeech (IMPORT1,"Don't worry, we have everything under control.");
  DisplaySpeech (IMPORT1,"We already have several soliders dispatched.");
  Wait (5);
  DisplaySpeech (IMPORT1,"It's only a matter of time before our attack.");
  Wait (5);
  DisplaySpeech (IMPORT1,"And our money, that Pimps money is ours!");
  Wait (15);
  DisplaySpeech (IMPORT1,"Deli, you'll get on board and cover the surveillance issue.");
  Wait (5);
  DisplaySpeech (IMPORT1,"Find out what we are up against.");
  Wait (5);
  DisplaySpeech (DELI,"Yes Sir. But, I have a question..");
  FaceLocation (IMPORT1, 1000,120);
  DisplaySpeech (IMPORT1,"Yes?");
  DisplaySpeech (DELI,"What if I am questioned while aboard the Silverflare?");
  Wait (20);
  MoveCharacterBlocking (IMPORT1,125,95,0);
  Wait (5);
  DisplaySpeech (IMPORT1,"I'd advise you to lie.");
  Wait (5);
  DisplaySpeech (IMPORT1,"Lie or Die.");
  Wait (15);
  DisplaySpeech (DELI,"Ugh...");
  Wait (5);
  DisplaySpeech (IMPORT1,"Drakul will be our handyman.");
  DisplaySpeech (IMPORT1,"Take out anything that isn't Atropos!!");
  Wait (5);
  DisplaySpeech (DRAKUL,"Don't worry Sir.");
  Wait (5);
  DisplaySpeech (DRAKUL,"I have an 'odd' feeling that nothing will survive.");
  Wait (10);
  DisplaySpeech (IMPORT1,"Heh. I like your style.");
  FaceLocation (IMPORT1, -1000,120);
  DisplaySpeech (IMPORT1,"Ego, you should really look up to Drakul.");
  DisplaySpeech (IMPORT1,"He is alot more important than you'll ever be.");
  Wait (15);
  DisplaySpeech (EGO,"Yes..sir. I understand.");
  MoveCharacterBlocking (EGO,161,146,0);
  FaceLocation (IMPORT1,150,1000);
  DisplaySpeech (IMPORT1,"Anymore stupid questions before we start this raid?");
  Wait (5);
  DisplaySpeech (EGO,"No...Sir.");
  DisplaySpeech (DRAKUL,"No Sir! (I hate this outfit.)");
  FaceLocation (IMPORT1, 1000,120);
  DisplaySpeech (IMPORT1,"Anyone?..");
  Wait (7);
  FaceLocation (IMPORT1, -1000,120);
  DisplaySpeech (IMPORT1,"What about you Deli?");
  Wait (30);
  DisplaySpeech (IMPORT1,"Deli? Answer me.");
  Wait (10);
  DisplaySpeech (DELI,"Ugh, no more questions, Sir.");
  Wait (10);
  DisplaySpeech (IMPORT1,"Good, we attack in 1 hour...");
  DisplaySpeech (IMPORT1,"...");
  Wait (30);
  NewRoom (10);
  


That's it really.
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Gilbert

#5
Well I copied the script to a fresh game and it worked for me (except for the crash at teh end, since I didn't create a room10).

HOWEVER if your quoted script is exactly like what you have in your script, your script is seriously messed up.
One fault I see is that after #sectionstart room_a
I see no such thing like "function room_a() {" (ALLÃ,  function/"command" calls in a script MUST be placed inside functions, it can't be everywhere, only stuff like variable/constant definitions, etc. can be placed outside).
Another fault I see is that there's no closing } (for the function, of course, it won't be there as you didn't declare a functionj anyway) and no #sectionend (well probably just because you didn't copy that line).

I'll suggest you do this:
1. BACKUP your game first.
2. CUT (i.e. remove it from script) the codes to some textfile (from that first Wait(10); line to that NewRoom(10); line) for saving you to retyping everything later.
3. In the interaction editor, remove all actions for "ENTERS SCREEN AFTER FADEIN".
4. Re-add a "Run Script.." action for "ENTERS SCREEN AFTER FADEIN".
5. Edit the script, and copy those codes you saved to a textfile earlier into teh newly created function.

SMF spam blocked by CleanTalk