project-navigation
Personal tools

Author Topic: Unable to enter missions  (Read 6449 times)

Offline badbunny

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Unable to enter missions
« on: June 15, 2010, 08:26:50 pm »
Hello,
I installed the game via the installer to a fresh ubuntu lucid system. Now, I can't enter missions: the mission loading screen flashes, but then it throws me back to the geoscape.
I have a video capture of the problem here:
http://www.youtube.com/watch?v=c1RGZF10oBM

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Unable to enter missions
« Reply #1 on: June 15, 2010, 08:39:01 pm »
ufoconsole.log please

Offline badbunny

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: Unable to enter missions
« Reply #2 on: June 15, 2010, 08:53:58 pm »
Ah, sorry. Here it is:
Code: [Select]
------- video initialization -------
SDL version: 1.2.12
I: desktop depth: 32bpp
I: setting mode 6: 1024x768 (fullscreen: no)
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
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 7300 GT/PCI/SSE2
GL_VERSION: 2.1.2 NVIDIA 195.36.15
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_copy_buffer GL_ARB_depth_clamp 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_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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow 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_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_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_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_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_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_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query 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_copy_depth_to_color GL_NV_depth_clamp 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_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 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_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [ 1 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
GL_ATI_separate_stencil not found
using GL_EXT_stencil_two_side
max texture size: detected 4096
but using 2048 as requested
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.8
Unable to open audio
SND_Init failed

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: en_US.utf8
Could not find locale with id 'en_US.utf8'
123 static models loaded
====== UFO Initialized ======

Cinematic videos/intro.roq not found
Switch grab input off
Save user settings to /home/user/.ufoai/2.2.1/base/config.cfg
Cmd_RemoveCommand: mn_next_aircraft not added
Cmd_RemoveCommand: mn_prev_aircraft not added
Cmd_RemoveCommand: aircraft_new not added
Cmd_RemoveCommand: mn_reset_air not added
Cmd_RemoveCommand: aircraft_return not added
Cmd_RemoveCommand: aircraft_list not added
Cmd_RemoveCommand: aircraft_start not added
Cmd_RemoveCommand: aircraft_select not added
Cmd_RemoveCommand: airequip_updatemenu not added
Cmd_RemoveCommand: airequip_list_click not added
Cmd_RemoveCommand: airequip_slot_select not added
Cmd_RemoveCommand: airequip_zone_select not added
Cmd_RemoveCommand: airequip_add_item not added
Cmd_RemoveCommand: airequip_del_item not added
Cmd_RemoveCommand: add_battery not added
Cmd_RemoveCommand: remove_battery not added
Cmd_RemoveCommand: basedef_initmenu not added
Cmd_RemoveCommand: basedef_updatemenu not added
Cmd_RemoveCommand: basedef_slot_list_click not added
Cmd_RemoveCommand: basedef_list_click not added
Cmd_RemoveCommand: addeventmail not added
Cmd_RemoveCommand: mission not added
Cmd_RemoveCommand: stats_update not added
Cmd_RemoveCommand: nationlist not added
Cmd_RemoveCommand: nation_stats_click not added
Cmd_RemoveCommand: nation_update not added
Cmd_RemoveCommand: nation_select not added
Cmd_RemoveCommand: game_go not added
Cmd_RemoveCommand: game_auto_check not added
Cmd_RemoveCommand: game_auto_go not added
Cmd_RemoveCommand: game_abort not added
Cmd_RemoveCommand: game_results not added
Cmd_RemoveCommand: game_timestop not added
Cmd_RemoveCommand: game_timeslow not added
Cmd_RemoveCommand: game_timefast not added
Cmd_RemoveCommand: mn_mapaction_reset not added
Cmd_RemoveCommand: map_center not added
Cmd_RemoveCommand: map_zoom not added
Cmd_RemoveCommand: map_scroll not added
Save user settings to /home/user/.ufoai/2.2.1/base/config.cfg

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Unable to enter missions
« Reply #3 on: June 15, 2010, 10:39:04 pm »
this isn't the log after you tried to enter a mission, no?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Unable to enter missions
« Reply #4 on: June 16, 2010, 03:58:15 am »
And it's 2.2.1....

-geever

Offline badbunny

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: Unable to enter missions
« Reply #5 on: June 16, 2010, 11:13:46 am »
Seems like I have some older version lurking somewhere, messing things up. I'll remove all ufoai directories and do a reinstall, let's see where that gets me.

Offline badbunny

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: Unable to enter missions
« Reply #6 on: June 16, 2010, 11:18:56 am »
Okay, now I've got a working 2.2.1. I tried to compile the game earlier, maybe that messed it up.

Thank you.

Offline badbunny

  • Rookie
  • ***
  • Posts: 15
    • View Profile
Re: Unable to enter missions
« Reply #7 on: June 16, 2010, 08:18:44 pm »
...and the reason for the original weird behavior seems to be that I forgot to make maps... ::)

Offline rom_as

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Unable to enter missions
« Reply #8 on: June 25, 2010, 12:36:36 pm »
I have like problem. All built correct and data files allowed.
But on time mission enter I get errors into console:
 ------- Loading game.so -------
LoadLibrary failed (game.so)
********************
ERROR: failed to load game library
********************
Shutdown server: Server crashed.
/usr/lib/games/ufoai/ufo(Sys_Backtrace+0x1f)[0x81a25cb]
/usr/lib/games/ufoai/ufo(Com_Error+0xf6)[0x8141599]
/usr/lib/games/ufoai/ufo(SV_InitGameProgs+0x312)[0x81630e6]
/usr/lib/games/ufoai/ufo[0x8163a1d]
/usr/lib/games/ufoai/ufo(SV_Map+0x17)[0x8163a60]
/usr/lib/games/ufoai/ufo[0x816187b]
/usr/lib/games/ufoai/ufo(Cmd_ExecuteString+0xcb)[0x8136309]
/usr/lib/games/ufoai/ufo(Cbuf_Execute+0x162)[0x8134f82]
/usr/lib/games/ufoai/ufo[0x8076402]
/usr/lib/games/ufoai/ufo(CL_Frame+0xe2)[0x80766c1]
/usr/lib/games/ufoai/ufo[0x8142f08]
/usr/lib/games/ufoai/ufo(Qcommon_Frame+0x7b)[0x814336c]
/usr/lib/games/ufoai/ufo(main+0x5c)[0x81a1103]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7242c66]
/usr/lib/games/ufoai/ufo[0x8066fb1]
music change to karlmacklin_geoscape (from van_geoscape)
ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Unable to enter missions
« Reply #9 on: June 25, 2010, 04:56:46 pm »
I have like problem. All built correct and data files allowed.
But on time mission enter I get errors into console:
 ------- Loading game.so -------
LoadLibrary failed (game.so)
********************
ERROR: failed to load game library
********************
Shutdown server: Server crashed.

most probably missing game.so (or it is in wrong dir).

-geever

Offline rom_as

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Unable to enter missions
« Reply #10 on: June 26, 2010, 03:01:44 pm »
most probably missing game.so (or it is in wrong dir).
OK. What place correct?
I place the library to /usr/lib/games/ufoai/base/ directory, like into official packages for Debian.

Offline rom_as

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Unable to enter missions
« Reply #11 on: July 01, 2010, 07:55:58 am »
I see directory /usr/lib/games/ufoai/base/ don't work now. In all early versions, up to 2.2.1, it work.
I place game.so to directory with data files /usr/share/games/ufoai/base and mission enter begin work fine.

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
Re: Unable to enter missions
« Reply #12 on: July 03, 2010, 08:52:36 am »
Isn't it better to use built-in game.so?