Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Wed 14/09/2016 08:15:13

Title: Error whenever quitting game 3.4.0.9
Post by: Slasher on Wed 14/09/2016 08:15:13
Hi

I'm using ags 3.4.0.9 under Windows 7, D3D, 32bit. Stretch option on.

Game 320 x 200 32 bit.

I know we get the new 'Windows' folder in the complied folder.

I have an issue that seems unexplained. Every time I quit the game either through Quit button or alt+x i get a Windows box that says game has stopped working and is looking for a solution, also the windows mouse seems to vanish at times...

Is this a bug or script issue as another game at a much higher res works ok?

cheers

Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Wed 14/09/2016 08:53:58
EDIT This seems to happen when running the game from the Compiled folder or editor full screen...
The only time it seems to work ok is within the editor in preview mode or run game in window.

Error reported:
Files that help describe the problem:
  C:\Users\PC-user\AppData\Local\Temp\WERFCA6.tmp.WERInternalMetadata.xml
  C:\Users\PC-user\AppData\Local\Temp\WER1536.tmp.appcompat.txt
  C:\Users\PC-user\AppData\Local\Temp\WER1565.tmp.mdmp

Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Wed 14/09/2016 12:32:04
I was reported of this bug before. This is related to running in Direct3D fullscreen mode. I will be uploading new version later today which supposedly fixes this.
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Wed 14/09/2016 13:42:17
Crimson..

also when using DirectDraw... I tried it.
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Wed 14/09/2016 13:45:16
OK, I will download your MAGS game and check that out again.
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Wed 14/09/2016 13:47:51
Quote from: Crimson Wizard on Wed 14/09/2016 13:45:16
OK, I will download your MAGS game and check that out again.

its has to be set up windowed mode with stretch...

cheers
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Wed 14/09/2016 14:16:51
I do not get any crashes with your game, or any other game on Windows 7, but I had some errors on Windows XP. I cannot tell for certain if these are related.

Can you try this new engine version to see if error is still present?
http://www.mediafire.com/download/zxyqx5tb9s7md3h/acwin-3.4.0--game-quit-fix.zip
Title: SOLVED: Error whenever quitting game 3.4.0.9
Post by: Slasher on Wed 14/09/2016 16:50:41
Crimson,

Perfect.......(nod)

Can I just ask why we have a windows folder in compiled?

cheers mate ;)
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Wed 14/09/2016 16:52:48
Quote from: slasher on Wed 14/09/2016 16:50:41
Can I just ask why we have a windows folder in compiled?
3.4.0 Editor can compile to multiple platforms. You choose this in general settings. Currently supported options are Windows and Linux (but you need to have a Linux build component installed to deploy your game for Linux). Each build is being put into corresponding folder. If you like to distribute Windows version of your game you take one from Compiled/Windows (and not just Compiled as before).

The files lying in Compiled folder itself are "raw" game files, which cannot run on its own, but could be loaded and run if you have a stand-alone engine executable (on any platform).

monkey0506 was working on moving those files into "Data" folder actually, which probably makes things more clear, but this will be in some future version.
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Thu 15/09/2016 06:23:25
Cheers.

If running preview and cancelling before clicking button to run I get all those ags error pop ups...

Also, i'm wondering why Windows folder was put with Linux build. I would have thought it would have been the other way around and the folder named Linux Version. Still......
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Thu 15/09/2016 14:39:28
Quote from: slasher on Thu 15/09/2016 06:23:25
If running preview and cancelling before clicking button to run I get all those ags error pop ups...
Can you elaborate what (process?) are you cancelling, and what is the "button to run" you are speaking of?

Quote from: slasher on Thu 15/09/2016 06:23:25
Also, i'm wondering why Windows folder was put with Linux build. I would have thought it would have been the other way around and the folder named Linux Version. Still......
Sorry, I just cannot understand what are you saying. Can you elaborate?
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Thu 15/09/2016 14:50:43
QuoteIf running preview and cancelling before clicking button to run I get all those ags error pop ups...
I think this happened before I unblocked new acwin properties you updated which was probably the reason why....
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Crimson Wizard on Thu 15/09/2016 15:00:22
Sorry, but I just cannot do this anymore. From now on I have a strict policy to not answering if people do not explain the problem properly.
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Slasher on Thu 15/09/2016 18:16:53
Sorry if you did not understand.

The Buttons refers to virus security warning window where there are buttons to run game or cancel...If you select cancel ags error boxes come up..
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Cassiebsg on Thu 15/09/2016 20:12:34
Well, sounds about logical to me slasher...
You told AGS to run the game, your anti-virus stopped it, you cancelled. Seems logical to me that AGS will pop-up a warning that the game failed to run...
Unless you still talking about something else. (roll)
Title: Re: Error whenever quitting game 3.4.0.9
Post by: morganw on Thu 15/09/2016 21:14:55
It's nothing to do with antivirus, I rewrote this page on the wiki because someone else also thought this is an antivirus issue (I didn't know if I could / should rename the page).
http://www.adventuregamestudio.co.uk/wiki/Prevent_AGS_from_triggering_antiviruses
(i.e. ignore the page name)
Title: Re: Error whenever quitting game 3.4.0.9
Post by: Matti on Fri 16/09/2016 00:23:48
Quote from: slasher on Thu 15/09/2016 18:16:53
The Buttons refers to virus security warning window where there are buttons to run game or cancel...If you select cancel ags error boxes come up..

Exactly why didn't you mention this before? And is it even related to your original problem?

Also, why don't you (still) even bother to answer the questions you're asked? I really don't get it.