Game crashes when loading single player

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Game crashes when loading single player

Post by werdsmyth »

Try to load my saved single player game and the whole things crashes back to my desktop.

No error message. No option to create a crash log. However, the game works fine if I start a new single player game.

Running Windows Vista 64-bit with 8GB RAM and masses of HDD space, so no issues around lack of spec. The game itself is the latest version (2.3.4) downloaded from wz2100.net

If it helps to know, I've just completed mission Alpha 12 and, I assume, am moving on to Beta 1. This begs the question if the game crash is due to the fact I'm moving from the end of one major campaign to the start of the second.

And before you ask, I also have a 1024MB GeForce 9500 GT graphics card with drivers from 9 July 2010 (i.e. the latest drivers) downloaded directly from Nvidia. So vey much doubt there's a graphic card problem here.

As I said, I'm not given the option to save a crash log, so not sure what else to say.
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Re: Game crashes when loading single player

Post by werdsmyth »

Just found an error log, which reads:

--- Starting log ---
error |05:17:47: [getBaseObjFromId] getBaseObjFromId() failed for id 187889
error |05:17:47: [getBaseObjFromId] Assert in Warzone: ../../../src/objmem.c:874 (!"couldn't find a BASE_OBJ with ID"), last script event: '<none>'
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Game crashes when loading single player

Post by stiv »

Trying to load saved games from an older/different version?
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Re: Game crashes when loading single player

Post by werdsmyth »

Nope.

I was literally playing the game one night. Saved my progress when it prompted me to at the end of level Alpha 12 then shut the game down.

Then the following day when I tried to start the game again from that last save point it crashed...and now crashes every time after that.

Nothing changed on my computer between those two points in time.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Game crashes when loading single player

Post by Buginator »

werdsmyth wrote:Try to load my saved single player game and the whole things crashes back to my desktop.

No error message. No option to create a crash log. However, the game works fine if I start a new single player game.

Running Windows Vista 64-bit with 8GB RAM and masses of HDD space, so no issues around lack of spec. The game itself is the latest version (2.3.4) downloaded from wz2100.net

If it helps to know, I've just completed mission Alpha 12 and, I assume, am moving on to Beta 1. This begs the question if the game crash is due to the fact I'm moving from the end of one major campaign to the start of the second.

And before you ask, I also have a 1024MB GeForce 9500 GT graphics card with drivers from 9 July 2010 (i.e. the latest drivers) downloaded directly from Nvidia. So vey much doubt there's a graphic card problem here.

As I said, I'm not given the option to save a crash log, so not sure what else to say.
If it doesn't make a crash report, then it is almost always the fault of drivers--you may need to try newer/older ones.
http://developer.wz2100.net/newticket and provide the details as explained there, and we will look at it.
and it ends here.
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Re: Game crashes when loading single player

Post by werdsmyth »

Buginator,

Just read your reply to the ticket I opened. You say:

"Comment (by Buginator):

The crash log was in your logs folder, Warzone2100.RPT.
The problem was a corrupted ID, unknown how that happened.

I have put a work-around for bad IDs, so it won't crash in this routine in
the future.

Thanks for the report!"

Did you also mean to attach an updated Warzone2100.RPT file because there was nothing in the email? Or was I supposed to go somewhere to pick up an updated file?

Not entirely sure what to do...
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Game crashes when loading single player

Post by Buginator »

Either wait for 2.3.5 or compile the patch yourself...
and it ends here.
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Re: Game crashes when loading single player

Post by werdsmyth »

I have TortoiseSVN so could compile the patch in principle.

Except I don't quite know which file I'm patching with the diff you provided.

I checked where Warzone is saved on my computer and I don't have a "/branches/2.3/src/game.c" path in there to patch into.

So which file should I be patching?
KukY
Regular
Regular
Posts: 1859
Joined: 20 Mar 2009, 21:56

Re: Game crashes when loading single player

Post by KukY »

werdsmyth wrote:I have TortoiseSVN so could compile the patch in principle.

Except I don't quite know which file I'm patching with the diff you provided.

I checked where Warzone is saved on my computer and I don't have a "/branches/2.3/src/game.c" path in there to patch into.

So which file should I be patching?
You need to apply the patch to source code of WZ and then compile the game: CompileGuide
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Game crashes when loading single player

Post by Zarel »

werdsmyth wrote:I have TortoiseSVN so could compile the patch in principle.

Except I don't quite know which file I'm patching with the diff you provided.

I checked where Warzone is saved on my computer and I don't have a "/branches/2.3/src/game.c" path in there to patch into.

So which file should I be patching?
Did you check out 2.3-branch? If so, your checkout is of /branches/2.3/, so you can just patch /src/game.c.

If not, go and check out /branches/2.3/, then do the above. :P
KukY wrote:You need to apply the patch to source code of WZ and then compile the game: CompileGuide
...read before you reply...
werdsmyth
Greenhorn
Posts: 7
Joined: 18 Aug 2010, 17:56

Re: Game crashes when loading single player

Post by werdsmyth »

Hmmm...a little out of my league I think.

Guess I'll just have to wait for v2.3.5