project-navigation
Personal tools

Author Topic: Cant enter mission in svn version  (Read 9580 times)

Rani

  • Guest
Cant enter mission in svn version
« on: September 05, 2006, 05:22:40 pm »
I d/l the svn version and compiled it.

When I try to debug, everything seems to work fine
until its supposed to enter a mission site.

The nthe program just freezes and stops responding.
When stoping the program, it just to
void MN_SetViewRect(const menu_t* menu)
[cl_menu , line 1194]

I'm using msvs8 , with windows xp.

Does anyone know what the problem might be?

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Cant enter mission in svn version
« Reply #1 on: September 06, 2006, 06:29:23 am »
Could you try "mission farm" from the console (after starting a single-player game and setting up a base) and "map dam01n"?

Could you provide a backtrace and base/ufoconsole.log?

Does ESC/Retry mission work?

Rani

  • Guest
Cant enter mission in svn version
« Reply #2 on: September 06, 2006, 06:48:56 am »
"mission farm" and "map dam01n" [and other maps as well]
gives the same result as before - game freezes.

ufoconsole.log:
Code: [Select]

Winsock Initialized
Console initialized.
------- Loading ref_gl.dll -------
LoadLibrary("ref_gl.dll") failed
------- Loading ref_gl32d.dll -------
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 6: 1024 768 FS
...attempting fullscreen
...using desktop frequency: 60 hz
...using desktop display depth of 32
...calling CDS: ok
GL PFD: color(32-bits) Z(24-bit)
Desktop resolution: 1024:768
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 6600/AGP/SSE2
GL_VERSION: 2.0.1
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging 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_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 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_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_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_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object 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_rescale_normal GL_EXT_secondary_color 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_timer_query GL_EXT_vertex_array GL_HP_occlusion_test 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_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_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 GL_WIN_swap_hint WGL_EXT_swap_control
...enabling GL_EXT_compiled_vertex_array
...enabling WGL_EXT_swap_control
...using GL_EXT_point_parameters
...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
...max texture size:
......detected 4096
......but using 2048 as requested
...SDL_ttf inited
------------------------------------

------- sound initialization -------
Loading snd_sdl sound driver
Soundsystem: SDL.
SDL version: 1.2.8
SDL audio driver is "dsound".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
sound sampling rate: 48000
CD Audio Initi


I'll try to provide a backtrace, but its hard since it
freezes the entire windows graphical system.

Esc/retry - not possible. The game doesnt respond.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Cant enter mission in svn version
« Reply #3 on: September 06, 2006, 12:42:07 pm »
Hmm. No clue here. Perhaps disable the sound driver (or change to another one). To disable, run with with +set snd_ref "" or change to that in base/config.cfg.

Rani

  • Guest
Cant enter mission in svn version
« Reply #4 on: September 06, 2006, 01:57:36 pm »
Still no go.

The whole "freezing" thing is becouse it doesnt reach
the messege pump part. Not sure how it help,
though.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Cant enter mission in svn version
« Reply #5 on: September 06, 2006, 03:42:27 pm »
Unfortunately I'm running out of ideas (apart of you switching to Linux :-). Does the binary release of RC4 work for you? X-mas demo? q2?

Rani

  • Guest
Cant enter mission in svn version
« Reply #6 on: September 06, 2006, 03:45:08 pm »
Rc4 binary release works fine [at least at that aspect :)].

Didnt check the other two. Should I?

Rani

  • Guest
Cant enter mission in svn version
« Reply #7 on: September 07, 2006, 07:03:32 am »
You dont want to help me? Fine! I dont need you!
I'll make my own svn branch! With beer! and Hookers!

Infact, forget the svn branch!

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Cant enter mission in svn version
« Reply #8 on: September 07, 2006, 08:02:05 am »
i'm sorry that i can't help directly - but did you ever try to compile with dev-cpp? (howto is in our wiki)

we at least know that vc has problems with gettext - maybe there are other traps, too

mattn

Rani

  • Guest
Cant enter mission in svn version
« Reply #9 on: September 07, 2006, 10:36:08 am »
:shock:  well, what do you know... it works.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Cant enter mission in svn version
« Reply #10 on: September 07, 2006, 10:42:14 am »
ok, these may also be bugs that gcc won't produce. nevertheless they have to be fixed - are there warnings when compiling with vc? (except the sizoef stuff e.g.)

uninitialized use or something like that?

Rani

  • Guest
Cant enter mission in svn version
« Reply #11 on: September 07, 2006, 11:47:23 am »
Could be suspicius warnings:

Warning   85   warning C4389: '!=' : signed/unsigned mismatch   c:\games\ufo-ai\src\ports\win32\cd_win.c   381   

Warning   108   warning C4310: cast truncates constant value   c:\games\ufo-ai\src\client\cl_main.c   489   

[there are a bunch of those]

Warning   110   warning C4098: 'MAP_MultiSelectExecuteAction_f' : 'void' function returning a value   c:\games\ufo-ai\src\client\cl_map.c   165   

[probebly just thrown away, so not really suspicius]

Warning   124   warning C4146: unary minus operator applied to unsigned type, result still unsigned   c:\games\ufo-ai\src\client\cl_menu.c   319   

[a bunch of those too]

Warning   158   warning C4204: nonstandard extension used : non-constant aggregate initializer   c:\games\ufo-ai\src\client\cl_team.c   588   

[handles differantly then gcc?]

Warning   184   warning C4312: 'type cast' : conversion from 'int' to 'HANDLE' of greater size   c:\games\ufo-ai\src\ports\win32\conproc.c   102   

[again, bunch of those]

Warning   214   warning C4389: '==' : signed/unsigned mismatch   c:\games\ufo-ai\src\qcommon\net_chan.c   335   

Warning   278   warning C4133: 'function' : incompatible types - from 'char [123]' to 'LPCWSTR'   c:\games\ufo-ai\src\ports\win32\snd_wapi.c   154   

Warning   279   warning C4133: 'function' : incompatible types - from 'char [20]' to 'LPCWSTR'   c:\games\ufo-ai\src\ports\win32\snd_wapi.c   155   

[probably just need an explicit cast]


Other then that, currently ref_gl
doesnt build due to:

Error   76   error LNK2019: unresolved external symbol _R_DrawAliasMD3Model referenced in function _R_DrawEntitiesOnList   gl_rmain.obj

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Cant enter mission in svn version
« Reply #12 on: September 07, 2006, 04:08:41 pm »
ref_gl - add gl_drawmd3.c to vc project file for ref_gl

i've fixed a few of the warnings. but nothing serious imo