File saving woes

Ambreville

Deity
Joined
Sep 28, 2006
Messages
2,255
Location
Windy City USA
After I exit a game and return to Windows desktop, I get this CIV4 application error msg:

Code:
The instruction at [location X] referenced memory at 0x000000. Memory could not be "read". Click OK to exit.

Basically, the game isn't saved as a result of the above problem (incl. the auto saves). Someone suggested this may be a C++ issue. I don't know anything about Python or C++. Has anyone ever run into this sort of problem?

This is for a mod I am working on. I used Dale's Combat Mod, but in the process of importing his coding I must have messed up something.

Any help would be greatly appreciated.
 
Something in C++ is trying to access an array (or maybe a class, i'm not 100% sure that it can't be a class) that wasn't initialized. All pointers to them are set to adress 0x000000 by default so to make it easier to track if it was initialized - hence the location 0x000000.
 
Back
Top Bottom