Game Development Community

Can't even load a map. :(

by Chris Gottron · in Torque Game Engine · 03/30/2003 (9:52 pm) · 5 replies

I get a memory read error when I try loading up a map with the torqueDemo. It loads about 95% of the map and then pops up an error:

The instruction at "0x04dfc3f7" referenced memory at "0x00000000". The memory could not be "read".

I don't know what is causing this, could it be my gfx driver? This never used to happen before and I haven't changed anything on my system or in the exe. It used to work but now it does this every time. Somebody please help.

System Specs:
AMD Athlon 650mhz processor
Nvidia TNT2 Ultra32 graphics card
128mb ram
Aureal Vortex sound card

#1
03/30/2003 (10:32 pm)
Do you have the SDK? If so, run the debugger and it'll tell you where you're trying to access a null pointer.
#2
03/31/2003 (12:06 am)
It appears to error and point to this line:
ddrval = lpDDS->Lock(NULL, &ddsd, DDLOCK_NOSYSLOCK | DDLOCK_SURFACEMEMORYPTR | DDLOCK_WAIT | DDLOCK_WRITEONLY, NULL);
#3
03/31/2003 (1:15 am)
Yep that's a video call.... are you sure you haven't changed anything on your system? Like new drivers? New DirectX version?
#4
03/31/2003 (5:56 am)
Ah okay, yes as I figured, it was my gfx drivers, they were seriously outdated (1999) I don't know how it was working before, but I've updated to the 2003 drivers and everything runs fine, thanks for the help. :)
#5
03/31/2003 (7:09 am)
That's funny. Never knew old drivers could work with Torque like that and end up not functioning correctly after a period of time. Very wierd.