Technical support > Feature Requests

Testing request: 2.1.1 testinstaller.

<< < (8/12) > >>

Zenerka:
Sorry folks - two another bugs found. One, serious, in savegame subsystem, leading to crash under several circumstances, and second, also serious, in inventory saving system. These bugs are fixed and new tesinstallers are being prepared right now, so hold your horses with downloading the current one.

smalul:
I guess I've hit one of those bug in the April 24th version as well. Just in case this isn't one of them, I'm posting the log here.

I've built another base, then saved:

--- Code: ---]version
"version" is "UFO: Alien Invasion 2.1.1 x86 Apr 24 2007 Win32 DEBUG"
CL_UpdateHireVar()... aircraft idx: 0, homebase: PHALANX HQ
CL_UpdateHireVar()... aircraft idx: 2, homebase: Base #2
Save 'slot6'
...subsystem 'base' - saved 11607 bytes
...subsystem 'campaign' - saved 288 bytes
...subsystem 'hospital' - saved 2 bytes
...subsystem 'market' - saved 2176 bytes
...subsystem 'research' - saved 6331 bytes
...subsystem 'employee' - saved 28459 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 22 bytes
...subsystem 'aircraft' - saved 1 bytes
...subsystem 'messagesystem' - saved 26811 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 32 bytes
Campaign 'Shai31' saved.
--- End code ---


Then I tried to load it. I hit the "Error in loading a subsystem" error again.

--- Code: ---Loading savegame
...version: 1
...game version: 2.1.1
Global data loaded - size (null)u bytes
...techs: 132
...buildings: 18
...ranks: 8
...nations: 8

Load 'slot6'
...subsystem 'base' - loaded 11607 bytes
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Cmd_AddCommand: popup_aircraft_action_click already defined
Cmd_AddCommand: ships_click already defined
Cmd_AddCommand: ships_rclick already defined
Cmd_AddCommand: multi_select_click already defined
Activate stage intro
...subsystem 'campaign' - loaded 288 bytes
...subsystem 'hospital' - loaded 2 bytes
...subsystem 'market' - loaded 2176 bytes
...subsystem 'research' - loaded 6331 bytes
...subsystem 'employee' - loaded 28459 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 22 bytes
...subsystem 'aircraft' - loaded 1 bytes
...subsystem 'messagesystem' - loaded 26844 bytes
...subsystem 'messagesystem' could not be loaded correctly - savegame might be broken (3f)
Changing to Singleplayer
--- End code ---


I hope the new version already have a fix for this.

Edit:
I hit the "Assertion failed!" bug with the April 24th version. It seems it is somehow related to having more than 1 base, and maybe more than 1 radar station, but I can't be sure. I'll try to reproduce the bug.

Here is the log:

Loading a working saved game:

--- Code: ---Load 'slot5'
...subsystem 'base' - loaded 11479 bytes
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Cmd_AddCommand: popup_aircraft_action_click already defined
Cmd_AddCommand: ships_click already defined
Cmd_AddCommand: ships_rclick already defined
Cmd_AddCommand: multi_select_click already defined
Activate stage intro
...subsystem 'campaign' - loaded 244 bytes
...subsystem 'hospital' - loaded 6 bytes
...subsystem 'market' - loaded 2176 bytes
...subsystem 'research' - loaded 6331 bytes
...subsystem 'employee' - loaded 24022 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 22 bytes
...subsystem 'aircraft' - loaded 1 bytes
...subsystem 'messagesystem' - loaded 23353 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 32 bytes
File 'slot5' loaded.
Changing to Singleplayer
--- End code ---


Built another radar station in the second base, let the time run. I saved when a mission popped-up:

--- Code: ---
CL_UpdateHireVar()... aircraft idx: 0, homebase: PHALANX HQ
CL_UpdateHireVar()... aircraft idx: 0, homebase: PHALANX HQ
CL_UpdateHireVar()... aircraft idx: 0, homebase: PHALANX HQ
CL_UpdateHireVar()... aircraft idx: 2, homebase: Base #2
CL_UpdateHireVar()... aircraft idx: 0, homebase: PHALANX HQ
Save 'slot7'
...subsystem 'base' - saved 11607 bytes
...subsystem 'campaign' - saved 292 bytes
...subsystem 'hospital' - saved 2 bytes
...subsystem 'market' - saved 2176 bytes
...subsystem 'research' - saved 6331 bytes
...subsystem 'employee' - saved 28450 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 22 bytes
...subsystem 'aircraft' - saved 1 bytes
...subsystem 'messagesystem' - saved 26811 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 32 bytes
Campaign 'Shai31-2' saved.
--- End code ---


I then tried to reload the game I just saved:

--- Code: ---Loading savegame
...version: 1
...game version: 2.1.1
Global data loaded - size (null)u bytes
...techs: 132
...buildings: 18
...ranks: 8
...nations: 8

Load 'slot7'
...subsystem 'base' - loaded 11607 bytes
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Cmd_AddCommand: popup_aircraft_action_click already defined
Cmd_AddCommand: ships_click already defined
Cmd_AddCommand: ships_rclick already defined
Cmd_AddCommand: multi_select_click already defined
Activate stage intro
...subsystem 'campaign' - loaded 292 bytes
...subsystem 'hospital' - loaded 2 bytes
...subsystem 'market' - loaded 2176 bytes
...subsystem 'research' - loaded 6331 bytes
...subsystem 'employee' - loaded 28450 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 22 bytes
...subsystem 'aircraft' - loaded 1 bytes
--- End code ---

But then I hit that "Assertion failed!" bug.

Zenerka:
I've just updated the first post here about new testinstallers.

smalul, in case of "assertion failed" bug, you for sure has three things on such debug window:
1) expression, which makes such assertion failed
2) filename of the source code
3) line number in the source code
Having all of them would be cool, but 2) and 3) are necessary to identify the problem.

smalul:
Sorry Zenerka, I always get the same "Assertion failed!" error, and I've already posted a picture of that error in this thread, but here is the message again:

--- Quote ---
Assertion failed!

Program: G:\UFOAI-2.1.1\ufo.exe
File: ../../src/client/cl_menu.c
Line: 3977

Expression: type < MSG_MAX

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

--- End quote ---

The picture:


I must note that every time I got this error, it was the exact same error (same line, same file, same program).

I hope this helps.[/quote]

Zenerka:
smalul, please, share savegame for this assert problem - I think that this assert is just a result of not saving message system properly, so (type < MSG_MAX) becomes true because of garbage crap in saved game.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version