Game crash after waking computer from standby

For help with SW3DG game related technical issues.
BThallid
Ensign
Ensign
Posts: 1
Joined: Mon Jul 30, 2012 2:44 am

Game crash after waking computer from standby

Post by BThallid »

[EM 1.828 (SteamPowered)] Game errors with runtime error 7008 after waking computer from standby

- Intel Core 2 CPU X6800
- Win 7 Pro SP1 32bit
- 4GB RAM
- ATI FirePro V4800 (Driver 8.911.3.1)
- I had left the game on the save menu (to pause) while on single player and stepped away to handle a few things. The computer went to standby (after 15 minutes) while on single player mode. When computer was woken up an error message was on screen:
Runtime Error 7008 - Object does not exist at line 19746.
Object Number Not Found: 20

Most games have a setting that prevents standby from kicking in while on. I would have to assume it would be easier to program in a standby block as opposed to correctly awakening the threads.
User avatar
Vice
Administrator
Administrator
Posts: 11564
Joined: Fri Apr 25, 2003 1:38 am

Game crash after waking computer from standby

Post by Vice »

Has to do with data being deleted from video memory when the display changes through the course of a standby mode. I'm not sure there's a way I can code in a block against a hybernate/standby mode (platform limitation). The best option would be to simply save and shut the game down if you plan to be away for more than a few minutes (or for however long the standby timer is set for).
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 13936
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Game crash after waking computer from standby

Post by Marvin »

:cool: That happened to me once. Not with this game ... years ago. Then I set hybernate, standby, etc. to "Never" ... problem solved.