Hello all! I've come across what I assume is a nasty bug, but I thought I should check with the experts before hunkering down for 10 hours and trying futily to fix it.
Background: I'm making a single player campaign. The problem is with Map 5. Part way through the map (just a normal "build armies, beat enemy" map), I give the player a side quest for just his hero. If he takes it, his armies are given to a neutral player, hidden, fog of war put over them, and the hero is moved to the side of the map to complete a maze.
If I save the game before the side quest, I can load fine. If I save after the side quest has begun when I try to load the game it starts, I can see my hero for about 1 second, then the game crashes and shuts down and I get a "FATAL ERROR!" Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F8F6DC. The instruction at '0x6F8F6DC' referenced memory at '0x00000014'. The memory could not be 'read'.
When I complete the side quest and get my units back, etc., I can save the game just fine and load it all I want.
I can handle this with annoying "I'm a bad programmer, so please dont' save during the side quest" but it would be nice to fix this. Does anyone have any idea where to start looking?
Thanks all!
Darwin
Background: I'm making a single player campaign. The problem is with Map 5. Part way through the map (just a normal "build armies, beat enemy" map), I give the player a side quest for just his hero. If he takes it, his armies are given to a neutral player, hidden, fog of war put over them, and the hero is moved to the side of the map to complete a maze.
If I save the game before the side quest, I can load fine. If I save after the side quest has begun when I try to load the game it starts, I can see my hero for about 1 second, then the game crashes and shuts down and I get a "FATAL ERROR!" Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F8F6DC. The instruction at '0x6F8F6DC' referenced memory at '0x00000014'. The memory could not be 'read'.
When I complete the side quest and get my units back, etc., I can save the game just fine and load it all I want.
I can handle this with annoying "I'm a bad programmer, so please dont' save during the side quest" but it would be nice to fix this. Does anyone have any idea where to start looking?
Thanks all!
Darwin