project-navigation
Personal tools

Author Topic: My Save Game fails to Load (2.4)  (Read 6549 times)

Offline TheFury

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
My Save Game fails to Load (2.4)
« on: August 15, 2011, 02:01:30 pm »
Hello,

I'm new to this game, and so far I really like this game! This morning though, I tried to load my save game, but it failed to load and it bought up the console with all this stuff in it:



---- endianness initialization -----
found little endian system

---- filesystem initialization -----
Adding game dir: /usr/local/games/ufoai/base
Adding game dir: ./base
Added packfile ./base/0base.pk3 (15 files)
Added packfile ./base/0maps.pk3 (720 files)
Added packfile ./base/0materials.pk3 (57 files)
Added packfile ./base/0media.pk3 (11 files)
Added packfile ./base/0models.pk3 (3018 files)
Added packfile ./base/0music.pk3 (64 files)
Added packfile ./base/0pics.pk3 (1169 files)
Added packfile ./base/0shaders.pk3 (27 files)
Added packfile ./base/0snd.pk3 (376 files)
Added packfile ./base/0textures.pk3 (2403 files)
Added packfile ./base/0ufos.pk3 (107 files)
Added packfile ./base/0videos.pk3 (2 files)
Adding game dir: C:\Users\Amar\AppData\Roaming\UFOAI/2.4-dev/base
using C:\Users\Amar\AppData\Roaming\UFOAI/2.4-dev/base for writing
executing filesystem.cfg
executing default.cfg
executing config.cfg

----- network initialization -------
libcurl/7.19.4 zlib/1.2.5 initialized.

------ server initialization -------
added 8 maps to the mapcycle

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: Available resolutions: 1680x1050 1600x1200 1440x900 1360x1024 1360x768 1280x1024 1280x960 1280x800 1280x768 1280x720 1152x864 1024x768 848x480 800x600 720x576 720x480 640x480 (17)
I: video driver: windib
I: setting mode -1
I: set multisample buffers to 0
I: set swap control to 0
I: 1440x900 (fullscreen: yes)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
I: got 8 bits for alpha
I: got 0 multisample buffers
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1550 Series   
GL_VERSION: 2.1.8545 Release
GL_EXTENSIONS: GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
found GL_ARB_multitexture
found GL_ARB_texture_compression
using GL_ARB_texture_compression
found GL_ARB_texture_non_power_of_two
using GL_ARB_texture_non_power_of_two
found GL_EXT_texture_filter_anisotropic
found GL_EXT_texture_lod_bias
found GL_ARB_vertex_buffer_object
found GL_ARB_fragment_shader
found GL_ARB_shading_language_100
GLSL version guaranteed to be supported by OpenGL implementation postfixed by vender supplied info: 1.20
found GL_###_framebuffer_object
using GL_ARB_framebuffer_object
max draw buffers: 4
max render buffer size: 4096
max color attachments: 4
found GL_###_draw_buffers
using GL_ARB_draw_buffers
max supported vertex texture units: 0
max supported lights: 8
max texture units: 8
max texture coords: 8
max vertex attributes: 16
max varying floats: 44
max fragment uniform components: 512
max vertex uniform components: 512
max texture size: detected 4096
...but using 256 as requested
Using low resolution globe textures as requested.
disabled shaders because they failed to compile
SDL_image version 1.2.10
SDL_ttf version 2.0.10 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.11
... requested audio rate: 44100
... driver: 'dsound'
... audio rate: 44100
... audio channels: 2
... loaded ogg vorbis support

------- input initialization -------
0 possible joysticks
no joystick found.

----------- parse scripts ----------
54 script files
...  0: extension
...  1: headgear
...  2: right
...  3: left
...  4: backpack
...  5: belt
...  6: holster
...  7: armour
...  8: floor
...  9: equip
51 ui script files
Shared Client/Server Info loaded
...109 items parsed
... 32 damage types parsed
... 30 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
executing keys.cfg
music change to van_theme (from PsymongN3)
147 static models loaded
CL_LanguageInit: language settings are stored in configuration: en
SDL_ttf version 2.0.10 - we need at least 2.0.7
...registering 13 fonts
----------- game modes -------------
added _Multiplayer
added _Campaign
added _Skirmish
added 3 game modes
====== UFO Initialized ======
=============================
Priority changed to NORMAL
Found 4 processors
Use all cores
Switch grab input off
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added campaign subsystem
added base subsystem
added research subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added aircraft subsystem
added alien base subsystem
added interest subsystem
added installation subsystem
added mission subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added xvirate subsystem
added messageoptions subsystem
Wrong alignment: 02273B04 02273B08 type:21 size:8
Wrong alignment: 0227414C 02274150 type:21 size:8
Campaign data loaded - size 698536 bytes
...techs: 201
...buildings: 16
...ranks: 16
...nations: 8
...cities: 456

Loading savegame xml (size 35137)
Loading savegame
...version: 4
...game version: 2.4-dev
...xml Size: 333054, compressed? y
Shutdown gametype 'Campaign mode'
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added campaign subsystem
added base subsystem
added research subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added aircraft subsystem
added alien base subsystem
added interest subsystem
added installation subsystem
added mission subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added xvirate subsystem
added messageoptions subsystem
Wrong alignment: 02273B04 02273B08 type:21 size:8
Wrong alignment: 0227414C 02274150 type:21 size:8
Campaign data loaded - size 698536 bytes
...techs: 201
...buildings: 16
...ranks: 16
...nations: 8
...cities: 456

Load 'slot0' 20 subsystems
...Running subsystem 'campaign'
...subsystem 'campaign' - loaded.
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
...subsystem 'research' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
...subsystem 'market' - loaded.
...Running subsystem 'employee'
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'aircraft'
...subsystem 'aircraft' - loaded.
...Running subsystem 'alien base'
...subsystem 'alien base' - loaded.
...Running subsystem 'interest'
...subsystem 'interest' - loaded.
...Running subsystem 'installation'
...subsystem 'installation' - loaded.
...Running subsystem 'mission'
...subsystem 'mission' - loaded.
...Running subsystem 'ufostores'
...subsystem 'ufostores' - loaded.
...Running subsystem 'production'
...subsystem 'production' - loaded.
...Running subsystem 'messagesystem'
...subsystem 'messagesystem' - loaded.
...Running subsystem 'stats'
...subsystem 'stats' - loaded.
...Running subsystem 'nations'
...subsystem 'nations' - loaded.
...Running subsystem 'transfer'
...subsystem 'transfer' - loaded.
...Running subsystem 'xvirate'
...subsystem 'xvirate' - loaded.
...Running subsystem 'messageoptions'
...subsystem 'messageoptions' - loaded.

AIR_UpdateHangarCapForOne: no free space!  - I'm no genius, but I'm guessing this is the problem, since it is also flashing in red at the top of the console :P Unfortunately I have no idea what it means.. :/


So my question is - How can I fix this?

Some extra info - Yesterday I tried to load the save too, but the Game just crashed. Ever since then this problem occurs.


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #1 on: August 15, 2011, 06:39:18 pm »
Please upload your savegame so I can check it.

-geever

Offline TheFury

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #2 on: August 15, 2011, 07:48:42 pm »
Here ya go

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #3 on: August 15, 2011, 11:25:06 pm »
Here ya go

You have 2 Stilettos, but only 1 small hangar on the second base, that causes the error.

How did you do that? :)

-geever

Offline TheFury

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #4 on: August 15, 2011, 11:34:17 pm »
I have absolutely no idea :o lol

It didn't stop me from buying the extra Stilleto though, which is odd. Anyways how can I remedy this? I would really like to continue with the campaign :)


and thanks for replying xD
« Last Edit: August 16, 2011, 01:46:46 pm by TheFury »

Offline shevegen

  • Squad Leader
  • ****
  • Posts: 224
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #5 on: August 17, 2011, 12:14:54 am »
Perhaps the loader could try hard to restore the savegame, displaying a warning to the user "corrupt savegame, trying to continue.... you have one stiletto too many... removing one ..."

:)

Offline TheFury

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #6 on: August 17, 2011, 12:38:18 am »
That's a good idea ^^

Seriously though someone help me fix this please :/ Hours worth of gameplay there and I don't wanna start again :(

Offline TheFury

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #7 on: August 17, 2011, 07:10:23 pm »
Anybody? :/

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #8 on: August 17, 2011, 07:30:19 pm »
Anybody? :/

Sorry. I've been busy in the last few days. I'm going to fix this asap.

-geever

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #9 on: August 17, 2011, 08:54:10 pm »
Sorry. I've been busy in the last few days. I'm going to fix this asap.

-geever

Ok. It's done. The latest (source) version doesn't exit on the broken save but throws a warning. We're not yet finished, we should find out what caused the bug. Incorrect capacities can cause strange problems. I think "Change homebase" function is somehow affected; the code also work differently if you have one or no hangars (of a type) on a base..

Please, to avoid further problems, build a small hangar or transfer one of the stilettos from 'Phalanx Production Lines: Siberia' base after loaded the game.

-geever

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #10 on: August 18, 2011, 01:07:58 am »
is that possible to produce a stilleto in a base that don't have a interceptor hangar???

In french there is a saying telling that who is capable of the best thing is also capable of normal thing... so i alway asked myself why interceptor does not fit in the dropship hangard.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #11 on: August 31, 2011, 03:34:12 am »
@jerikojerk: no its not possible to produce aircraft if there's not enough space in the base's hangars for it

@geever: I managed to reproduce it, after trying all possible combinations of transferring/changing home base/producing and destroying hangars/buying more craft trying to fool the game to squeeze two Stilettos in one hangar (and failing), the problem is much more easier to reproduce, and now I have a base with 10 Stilettos stacked in a single small hangar (see attachment, edit: base in the Antarctic) ;D.

It's very easy, if you don't have a command centre in the base the game will let you buy as many Stilettos as there are in the market, interestingly it doesn't seem to work with the Saracen or the Firebird.
« Last Edit: August 31, 2011, 03:41:45 am by DarkRain »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: My Save Game fails to Load (2.4)
« Reply #13 on: August 31, 2011, 05:32:58 pm »
I also found another issue while testing this, if you start production of an aircraft and then destroy the hangar or fill it with a bought one, the production is said to be postponed but in fact it will still be produced -- once it is the only project left in the queue -- but will never be finished, it will accumulate negative work hours, tough.