project-navigation
Personal tools

Author Topic: 30339 - Fuel runs out almost instantly  (Read 10341 times)

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
30339 - Fuel runs out almost instantly
« on: June 05, 2010, 06:10:46 am »
The missions are completely unplayable because the dropship runs out of fuel almost immediately after leaving the base.  I built a base in United America and had a terror mission there.  Even with 2 fuel pods the dropship must turn around almost immediately.  I know this is a development version, but that's a bit rediculous.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #1 on: June 05, 2010, 09:24:41 am »
The missions are completely unplayable because the dropship runs out of fuel almost immediately after leaving the base.  I built a base in United America and had a terror mission there.  Even with 2 fuel pods the dropship must turn around almost immediately.  I know this is a development version, but that's a bit rediculous.

Attach a savegame, please.

-geever

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #2 on: June 05, 2010, 05:55:38 pm »
Here you go.  I had to change the file extension to .txt to attach.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #3 on: June 05, 2010, 10:30:08 pm »
Here you go.  I had to change the file extension to .txt to attach.

It was a bad idea text files are handled differently than binaries. The save you uploaded is corrupt. I've added savx to the accepted attachment list, so you can upload the save[1] as is now.

[1] due to the size limit most probably only uploading compressed saves will work

-geever

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #4 on: June 05, 2010, 11:38:25 pm »
Not seeing this with revision 30350.

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #5 on: June 06, 2010, 12:15:33 am »
Yes it is present in 30350.  All I did was change the extension, I didn't modify the file itself in any way shape or form.  Anyway, I have attached save game as is and there should not be a need to compress it since it's less than 1024k.  In case it matter, I configured with the --enable-release flag and did the usual make lang maps and pk3 then the install.  

Another thing I noticed.  On the one mission it would let me reach when I clicked Enter nothing happens.  Maybe I wil run it from the terminal and see if I can capture any relevant output and I will post back.  Now I'm up to revision 30352 so I will continue to test.
« Last Edit: June 06, 2010, 12:22:19 am by songangel »

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #6 on: June 06, 2010, 12:41:27 am »
Ok, I'm definitely seeing the same bug in 30352 as well.  I even deleted my save games and started a new campaign.  The dropship barely lifts off before turning around immediately with a "Craft is low on fuel and must return to base" message.  I don't get it.  :|

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #7 on: June 06, 2010, 02:52:19 pm »
Like I said, I'm not seeing it on my install of 30350. Everything is working just fine with the 2.4 rev 30350 debug version.

This suggests something in your install or perhaps the savegame is corrupted.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #8 on: June 06, 2010, 03:06:35 pm »
Once upon a time we had such a (fuel) problem existed only in release mode but that was fixed (?). I cannot reproduce the issue with your savegame in release mode either (Linux, x86).

@Edi: Are you on Windows? Could you try it with a release build?

btw. Saves of UFO:AI are compressed already by default but there is an option to save without compression for debugging purposes (some beta-testers use that method). Uncompressed saves can grow to several megabytes and cannot be uploaded here (wo. compression). Just that's why I mentioned it here.

About the mission problem: you could have checked ufoconsole.log for more info aswell (note that your OS most probably caches the file so the end of it will be available after exiting the game).

-geever

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #9 on: June 06, 2010, 03:39:50 pm »
Yes, I'm on Windows, so I'll see if I can manage that, but I predict that nothing out of the ordinary will happen with it.

If it does start going wrong, there was some fuel map update in 30340 if the logs were anything to go by. If it's an issue of savegame corruption or something else related to the UFO:AI profile, they may not be fixable even after the game is updated. Just like savegames that got corrupted before the base attack bug was fixed were irreparably corrupted.

We'll see.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #10 on: June 06, 2010, 04:18:16 pm »
If it's an issue of savegame corruption or something else related to the UFO:AI profile, they may not be fixable even after the game is updated. Just like savegames that got corrupted before the base attack bug was fixed were irreparably corrupted.

We'll see.

The save is fine. Ships are at the base with full (fuel) tanks.

-geever

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #11 on: June 06, 2010, 04:59:35 pm »
geever I did compile with the release flag enabled.  I will try to reconfigure without the flag and report my results here.  You said everything was ok but did you attempt to move the dropship anywhere and try to duplicate the bug?

Thanks for pointing out the log file, see mine below:

Code: [Select]
2010/06/05 21:15:56 ----- network initialization -------
2010/06/05 21:15:56 libcurl/7.20.1 OpenSSL/1.0.0 zlib/1.2.5 initialized.
2010/06/05 21:15:56 ------ server initialization -------
2010/06/05 21:15:56 added 7 maps to the mapcycle
2010/06/05 21:15:56 ----- console initialization -------
2010/06/05 21:15:56 Console initialized.
2010/06/05 21:15:56 ------- video initialization -------
2010/06/05 21:15:56 SDL version: 1.2.14
2010/06/05 21:15:56 I: desktop depth: 32bpp
2010/06/05 21:15:56 I: video memory: 0
2010/06/05 21:15:56 I: Available resolutions: 1680x1050 1400x1050 1280x1024 1280x960 1152x864 1024x768 960x720 928x696 896x672 832x624 800x600 720x400 700x525 640x512 640x480 640x400 640x350 576x432 512x384 416x312 400x300 360x200 320x240 320x200 320x175 (25)
2010/06/05 21:15:56 I: video driver: x11
2010/06/05 21:15:56 I: setting mode -1
2010/06/05 21:15:56 I: set swap control to 0
2010/06/05 21:15:56 I: 1024x768 (fullscreen: no)
2010/06/05 21:15:56 I: got 8 bits of stencil
2010/06/05 21:15:56 I: got 24 bits of depth buffer
2010/06/05 21:15:56 I: got double buffer
2010/06/05 21:15:56 I: got 8 bits for red
2010/06/05 21:15:56 I: got 8 bits for green
2010/06/05 21:15:56 I: got 8 bits for blue
2010/06/05 21:15:56 I: got 0 bits for alpha
2010/06/05 21:15:56 I: got 0 multisample buffers
GL_VENDOR: NVIDIA Corporation2010/06/05 21:15:56 GL_RENDERER: GeForce GTX 295/PCI/SSE22010/06/05 21:15:56 GL_VERSION: 3.2.0 NVIDIA 195.36.242010/06/05 21:15:56 GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging 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_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc 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_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra 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_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform 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_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_rogram1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 2010/06/05 21:15:56 2010/06/05 21:15:56 using GL_ARB_texture_non_power_of_two
2010/06/05 21:15:56 using GL_ARB_shading_language_100
2010/06/05 21:15:56 GLSL Version: 1.50 NVIDIA via Cg compiler
2010/06/05 21:15:56 using GL_ARB_framebuffer_object
2010/06/05 21:15:56 max draw buffers: 8
2010/06/05 21:15:56 max render buffer size: 8192
2010/06/05 21:15:56 max color attachments: 8
2010/06/05 21:15:56 using GL_ARB_draw_buffers
2010/06/05 21:15:56 max supported lights: 8
2010/06/05 21:15:56 max texture units: 4
2010/06/05 21:15:56 max texture coords: 8
2010/06/05 21:15:56 max vertex attributes: 16
2010/06/05 21:15:56 max texture size: detected 8192
2010/06/05 21:15:56 ...but using 2048 as requested
2010/06/05 21:15:56 Using low resolution globe textures as requested.
2010/06/05 21:15:57 R_LoadProgram: 'world' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'warp' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'geoscape' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'combine2' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'convolve3' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'atmosphere' loaded.
2010/06/05 21:15:57 R_LoadProgram: 'simple_glow' loaded.
2010/06/05 21:15:57 SDL_image version 1.2.10
2010/06/05 21:15:57 SDL_ttf version 2.0.9 - we need at least 2.0.7
2010/06/05 21:15:57 ------- sound initialization -------
2010/06/05 21:15:57 SDL_mixer version: 1.2.11
2010/06/05 21:15:57 ... requested audio rate: 44100
2010/06/05 21:15:57 ... driver: 'alsa'
2010/06/05 21:15:57 ... audio rate: 44100
2010/06/05 21:15:57 ... audio channels: 2
2010/06/05 21:15:57 ... loaded ogg vorbis support
2010/06/05 21:15:57 ------- input initialization -------
2010/06/05 21:15:57 1 possible joysticks
2010/06/05 21:15:57 joystick 0 opened - set cvar in_joystickNo to change this
2010/06/05 21:15:57 ... name: Logitech Logitech Dual Action
2010/06/05 21:15:57 ... axes: 4
2010/06/05 21:15:57 ... hats: 1
2010/06/05 21:15:57 ... buttons: 12
2010/06/05 21:15:57 ... balls: 0
2010/06/05 21:15:57 ----------- parse scripts ----------
2010/06/05 21:15:57 49 script files
2010/06/05 21:15:57 47 ui script files
2010/06/05 21:15:59 Shared Client/Server Info loaded
2010/06/05 21:15:59 ...108 items parsed
2010/06/05 21:15:59 ... 32 damage types parsed
2010/06/05 21:15:59 ... 80 map definitions parsed
2010/06/05 21:15:59 ... 29 equipment definitions parsed
2010/06/05 21:15:59 ... 10 inventory definitions parsed
2010/06/05 21:15:59 ... 22 team definitions parsed
2010/06/05 21:15:59 executing keys.cfg
2010/06/05 21:15:59 music change to van_theme (from PsymongN3)
2010/06/05 21:16:06 CL_LanguageInit: language settings are stored in configuration: en
2010/06/05 21:16:06 ...using language: en_US.utf8
2010/06/05 21:16:06 SDL_ttf version 2.0.9 - we need at least 2.0.7
2010/06/05 21:16:06 ...registering 10 fonts
2010/06/05 21:16:06 144 static models loaded
2010/06/05 21:16:06 ====== UFO Initialized ======
2010/06/05 21:16:06 =============================
2010/06/05 21:16:06 Switch grab input off
2010/06/05 21:16:29 Change gametype to 'Campaign mode'
2010/06/05 21:16:29 --- save subsystem initialization --
2010/06/05 21:16:29 added base subsystem
2010/06/05 21:16:29 added research subsystem
2010/06/05 21:16:29 added campaign subsystem
2010/06/05 21:16:29 added hospital subsystem
2010/06/05 21:16:29 added market subsystem
2010/06/05 21:16:29 added employee subsystem
2010/06/05 21:16:29 added aliencont subsystem
2010/06/05 21:16:29 added aircraft subsystem
2010/06/05 21:16:29 added installation subsystem
2010/06/05 21:16:29 added ufostores subsystem
2010/06/05 21:16:29 added production subsystem
2010/06/05 21:16:29 added messagesystem subsystem
2010/06/05 21:16:29 added stats subsystem
2010/06/05 21:16:29 added nations subsystem
2010/06/05 21:16:29 added transfer subsystem
2010/06/05 21:16:29 added alien base subsystem
2010/06/05 21:16:29 added xvirate subsystem
2010/06/05 21:16:29 added messageoptions subsystem
2010/06/05 21:16:29 Campaign data loaded - size 4466980 bytes
2010/06/05 21:16:29 ...techs: 201
2010/06/05 21:16:29 ...buildings: 19
2010/06/05 21:16:29 ...ranks: 16
2010/06/05 21:16:29 ...nations: 8
2010/06/05 21:16:29 ...cities: 457
2010/06/05 21:16:29 2010/06/05 21:16:33 Sanity check for script data
2010/06/05 21:16:33 ...buildings ok
2010/06/05 21:16:33 ...tech ok
2010/06/05 21:16:33 ...aircraft ok
2010/06/05 21:16:33 ...items ok
2010/06/05 21:16:33 ...items ok
2010/06/05 21:16:33 ...... city 'ankara' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester2010/06/05 21:16:33 )
2010/06/05 21:16:33       (Terrain: mountain, Culture: oriental, Population: village)
2010/06/05 21:16:33 ...... city 'dushanbe' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester2010/06/05 21:16:33 )
2010/06/05 21:16:33       (Terrain: mountain, Culture: oriental, Population: suburban)
2010/06/05 21:16:33 ...... city 'konya' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester2010/06/05 21:16:33 )
2010/06/05 21:16:33       (Terrain: mountain, Culture: oriental, Population: village)
2010/06/05 21:16:33 ...... city 'mashhad' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester2010/06/05 21:16:33 )
2010/06/05 21:16:33       (Terrain: mountain, Culture: oriental, Population: village)
2010/06/05 21:16:33 ...... city 'tehran' can't be used in game: it has no map fitting parameters
      (No map fitting craft_ufo_harvester2010/06/05 21:16:33 )
2010/06/05 21:16:33       (Terrain: mountain, Culture: oriental, Population: village)
2010/06/05 21:16:33 ...nations failed
2010/06/05 21:16:33 music change to van_geoscape (from van_theme)
2010/06/05 21:16:54 Shutdown gametype 'Campaign mode'
2010/06/05 21:16:54 music change to van_theme (from PsymongN5)
2010/06/05 21:16:54 Wrote config.cfg.
2010/06/05 21:16:54 Wrote keys.cfg
« Last Edit: June 06, 2010, 05:06:41 pm by songangel »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #12 on: June 06, 2010, 05:22:43 pm »
geever I did compile with the release flag enabled.  I will try to reconfigure without the flag and report my results here.  You said everything was ok but did you attempt to move the dropship anywhere and try to duplicate the bug?

Yes, I did and worked. That's why asked another windows user to check, maybe it only happens on windowses, we will see.

Thanks for pointing out the log file, see mine below:

This log says nothing important. It could give info about the other problem, when the mission didn't start but I cannot see any mission-start attempts in it.

-geever

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #13 on: June 06, 2010, 05:35:46 pm »
I'm to the point now that I think I may record a small screencast and upload it to Youtube so that you can see what is happening.  Before I reach that point, I must now see how the game functions without the --enable-release configure flag.  I guess I should have stuck with 30339 for the sake of helping to figure this out but I am fairly new to svn repos. 

Offline songangel

  • Rookie
  • ***
  • Posts: 14
    • View Profile
Re: 30339 - Fuel runs out almost instantly
« Reply #14 on: June 06, 2010, 06:21:44 pm »
Ok guys.  I compiled as debug and the fuel problem is no longer present.  Go figure?  Now I can't enter the missions and I get the following errors in my ufoconsole.log:

Code: [Select]
2010/06/06 12:36:00 ********************
2010/06/06 12:36:00 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:36:00 ********************
2010/06/06 12:36:00 music change to van_geoscape (from van_geoscape)
2010/06/06 12:36:36 ********************
2010/06/06 12:36:36 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:36:36 ********************
2010/06/06 12:36:36 music change to karlmacklin_geoscape (from van_geoscape)
2010/06/06 12:37:09 ********************
2010/06/06 12:37:09 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:37:09 ********************
2010/06/06 12:37:09 music change to van_geoscape (from karlmacklin_geoscape)
2010/06/06 12:37:37 ********************
2010/06/06 12:37:37 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:37:37 ********************
2010/06/06 12:37:37 music change to van_geoscape (from van_geoscape)
2010/06/06 12:37:56 ********************
2010/06/06 12:37:56 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:37:56 ********************
2010/06/06 12:37:56 music change to van_geoscape (from van_geoscape)
2010/06/06 12:38:08 ********************
2010/06/06 12:38:08 ERROR: CP_SetAlienTeamByInterest: no available alien team for mission 'cat2_interest32_0': interest = 32 -- category = 2
2010/06/06 12:38:08 ********************
« Last Edit: June 06, 2010, 06:31:47 pm by songangel »