Egoboo 2.8.0 (Stable) Known Bugs and Issues

Report bugs, errors and balance issues you may encounter ingame here.

Moderator: Developers

User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

I have done another commit with slightly more debug output. Egoboo should now print if it even visits the export_all_players() function (which again exports every character one by one and prints further debug info).
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Post by penguinflyer5234 »

Misspelled ISDZ_map.c in makefile...
quest.h:44: error: array type has incomplete element type
quest.h:45: error: array type has incomplete element type
quest.h:46: error: array type has incomplete element type
quest.h:47: error: array type has incomplete element type
quest.h:48: error: array type has incomplete element type
quest.h:49: error: array type has incomplete element type
...
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Hmm I get no such error. I'm thinking this is because you use a different compiler than visual studio does.

Any suggestions birdsey?
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Post by penguinflyer5234 »

Since I'm using Linux, I'm pretty sure that's a given. :? (using gcc 4.4.3-4ubuntu5)
...
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Yeah I know, but I am not sure if that is what's causing the problem. But it is most likely yes.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

"incomplete element type" = using an enum to define the size of the array, but gcc hates enums?

I'll have to try to compile it in linux soon to see if I can fix the problem.
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

(2:13:23 AM) pf5234: it seems that gcc doesn't like undefined struct arrays
(2:14:30 AM) Foxie: "The new gcc compiler refuses to compile lines like:
(2:14:30 AM) Foxie: extern struct B a[3];"
(2:16:06 AM) pf5234: it seems that gcc needs a definition of a struct for an array of the struct
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

it seems that gcc needs a definition of a struct for an array of the struct
This is normal. What is less normal (and which gcc will call an incomplete type) is something like this:

Code: Select all

 enum foo;

struct bar
{
    foo blah;
};
extern struct bar bar_instance;
since you do not know exactly the extent of the enum, you can't determine the size of blah. In other compilers, the range of the enum can be deferred (or is of a fixed size).

This is a common reason for the "incomplete type" error.
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Post by penguinflyer5234 »

the problem in quest.h is that there is only a forward declaration of the struct, not some enum stuff you speak of
...
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

I just checked it out and got no errors while compiling. I am using gcc-4.4.3-4ubuntu5.
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Hmm... What next then? Do we assume it's a problem with specific versions of gcc or linux? He mananged to compile it without problems in some other debugging compiler afaik.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

There is a small possibility that a revision of the svn contained a problem with the definition of the IDSZ type. If so, and quest.h was included in the first *.c file compiled, then there might have been a complaint about an incomplete type. BUT in that case, you would expect there to be an error in the definition of the s_IDSZ_node because the IDSZ would have been used without being defined...

If this is just a version incompatibility with gcc, then I wouldn't worry about it other than to make a notation in the README.linux about the possibility. But you would have to get a version number from pf to do that properly.
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Post by penguinflyer5234 »

my gcc is 4.4.3-4ubuntu5...

I'll recompile it all... :?

Edit 1: Importing works with rev 1254 (recompiling with no fixes to quest.h in progress)

Edit 2: Huh... Oh well. It compiles just fine with rev 1254.

Edit 3: Exporting and importing from Zippy works fine: (oops it seems to not load the correct setup yet :?)
Spoiler: log.txt
Starting Egoboo 2.8.0b ...
INFO: PhysFS file system version 2.0.0 has been initialized...
INFO: Initializing Linux file system...
INFO: Initializing clock services...
INFO: Loaded the default setup file "/setup.txt".
INFO: Initializing SDL version 1.2.14... Success!
INFO: Intializing SDL Timing Services... Success!
INFO: Intializing SDL Event Threading... Success!
INFO: Intializing SDL Joystick... Success!
INFO: Intializing SDL Video... Success!
INFO: Opening SDL Video Mode...

==============================================================
SDL set video mode to the current parameters

SDL window parameters
width == 1152, height == 864, depth == 32

SDL flags
windowed
SDL software surface
SDL single buffer
OpenGL support
OpenGL-compatible blitting

SDL_GL_Attribtes
SDL_GL_DOUBLEBUFFER == 1
SDL_GL_STENCIL_SIZE == 0
SDL_GL_ACCUM_RED_SIZE == 16
SDL_GL_ACCUM_GREEN_SIZE == 16
SDL_GL_ACCUM_BLUE_SIZE == 16
SDL_GL_ACCUM_ALPHA_SIZE == 16
SDL_GL_STEREO == 0

SDL using video driver - x11
Available full-screen video modes...
Video Mode - 1600 x 1200
Video Mode - 1280 x 1024
Video Mode - 1280 x 960
Video Mode - 1152 x 864
Video Mode - 1024 x 768
Video Mode - 960 x 720
Video Mode - 960 x 600
Video Mode - 960 x 540
Video Mode - 928 x 696
Video Mode - 896 x 672
Video Mode - 840 x 525
Video Mode - 832 x 624
Video Mode - 800 x 600
Video Mode - 800 x 512
Video Mode - 720 x 450
Video Mode - 720 x 400
Video Mode - 680 x 384
Video Mode - 640 x 512
Video Mode - 640 x 480
Video Mode - 640 x 400
Video Mode - 640 x 350
Video Mode - 576 x 432
Video Mode - 512 x 384
Video Mode - 416 x 312
Video Mode - 400 x 300
Video Mode - 360 x 200
Video Mode - 320 x 240
Video Mode - 320 x 200
Video Mode - 320 x 175
==============================================================

OpenGL state parameters
gl_version == 2.1.2 NVIDIA 195.36.24
gl_vendor == NVIDIA Corporation
gl_renderer == GeForce 6200/AGP/SSE2
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
glu_version == (null)
glu_extensions == (null)

GL_MAX_MODELVIEW_STACK_DEPTH == 32
GL_MAX_PROJECTION_STACK_DEPTH == 4
GL_MAX_TEXTURE_STACK_DEPTH == 10
GL_MAX_NAME_STACK_DEPTH == 128
GL_MAX_ATTRIB_STACK_DEPTH == 16
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH == 16

GL_SUBPIXEL_BITS == 12
GL_POINT_SIZE_RANGE == 1.000000 - 63.375000
GL_POINT_SIZE_GRANULARITY == 0.125000
GL_LINE_WIDTH_RANGE == 0.500000 - 10.000000
GL_LINE_WIDTH_GRANULARITY == 0.125000

GL_MAX_VIEWPORT_DIMS == 4096, 4096
GL_AUX_BUFFERS == 1
GL_RGBA_MODE == TRUE
GL_INDEX_MODE == FALSE
GL_DOUBLEBUFFER == TRUE
GL_STEREO == FALSE
GL_RED_BITS == 8
GL_GREEN_BITS == 8
GL_BLUE_BITS == 8
GL_ALPHA_BITS == 0
GL_INDEX_BITS == 0
GL_DEPTH_BITS == 24
GL_STENCIL_BITS == 0
GL_ACCUM_RED_BITS == 16
GL_ACCUM_GREEN_BITS == 16
GL_ACCUM_BLUE_BITS == 16
GL_ACCUM_ALPHA_BITS == 16

GL_MAX_LIGHTS == 8
GL_MAX_CLIP_PLANES == 6
GL_MAX_TEXTURE_SIZE == 4096

GL_MAX_PIXEL_MAP_TABLE == 65536
GL_MAX_LIST_NESTING == 64
GL_MAX_EVAL_ORDER == 8

GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT == 16.000000
==============================================================
Success!
INFO: Initializing the SDL_ttf font handler version 2.0.9... Success!
INFO: net_initialize: Networking not enabled.
INFO: Initializing SDL_Image version 1.2.10... Success!
INFO: Intializing SDL Audio... Success!
INFO: Initializing SDL_mixer audio services version 1.2.8... Success!
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/damp.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/dumped.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/lanalee.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/twunk.obj).
INFO: game_initialize_imports() - copying from mp_players/diannissa.obj to /import/temp0000.obj
INFO: Initializing module linking... Success!
INFO: Resetting module data
INFO: Loading module "mp_modules/zippy.mod"
DEBUG: Object is missing a skin (mp_objects/frostblast.obj)!
INFO: export_all_players() - Exporting all player characters.
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0000.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0001.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/0.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0005.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/2.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0004.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/3.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0003.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/4.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/damp.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/dumped.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/lanalee.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/twunk.obj).
INFO: Resetting module data
INFO: Initializing module linking... Success!
INFO: Resetting module data
INFO: Loading module "mp_modules/zippy.mod"
DEBUG: Object is missing a skin (mp_objects/frostblast.obj)!
INFO: export_all_players() - Exporting all player characters.
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0000.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0001.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/0.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0005.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/2.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0004.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/3.obj).
INFO: export_one_character() - Okay, I intend to export a character now.
INFO: export_one_character() - Exporting one object from (/home/neptunium/.egoboo-2.x/import/temp0003.obj) to (/home/neptunium/.egoboo-2.x/players/diannissa.obj/4.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/damp.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/dumped.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/lanalee.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/twunk.obj).
INFO: Resetting module data
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/damp.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/diannissa.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/dumped.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/lanalee.obj).
INFO: loadplayer_import_one() - Importing one object from (/home/neptunium/.egoboo-2.x/players/twunk.obj).
INFO: memory_cleanUp() - Attempting to clean up loaded things in memory... INFO: net_shutDown: Turning off networking.
Success!
INFO: Exiting Egoboo 2.8.0b the good way...
...
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Okay, got that setup.txt issue fixed as well.

Ready for a new release then?
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

I need some feedback on the physics. The mounting needs to be fixed, and it is impossible to control mounts at this time... :(
Locked