Page 3 of 3

Re: Welcome Mat

Posted: Fri Feb 11, 2011 8:05 pm
by Thargoid
Ahruman wrote:
Zireael wrote:
Welcome Mat 1.10 is reported as uncompatible with the latest nightly.
Yes…

Dear OXP makers: stop using max_version. This is not meant for you.
If you can guarantee complete and full backward compatibility, and that no trunk error will get reported to me as an error in one of my OXPs, then I will ;)

To answer the original question (and the same one posted in others of my threads), all of my OXPs (except the beta of IronHide) will give such an error, as I only code for the release version (as I got so fed up with error reports that only after hours of checking and testing decided to report that they were with trunk).

Re: Welcome Mat

Posted: Fri Feb 11, 2011 8:18 pm
by JensAyton
What you’re looking for is forward compatibility.

Problems with OXPs under trunk fall into three categories:
  • Deliberate compatibility breaks, which in most cases will continue to work in the next release after the warnings start cropping up. I can just about guarantee that there won’t be any more of these between now and MNSR.
  • Actual bugs in your OXP.
  • Actual bugs in Oolite. We need these reports; that’s the entire point of nightlies. If they don’t get fixed in Oolite, that means more work for you later anyway.
That said, when people don’t say what version they’re testing with, you have my official permission to call them rude names. :-)

Re: Welcome Mat

Posted: Sat Feb 12, 2011 10:49 am
by Zireael
Ahruman wrote:
That said, when people don’t say what version they’re testing with, you have my official permission to call them rude names. :-)
Thargoid wrote:
To answer the original question (and the same one posted in others of my threads), all of my OXPs (except the beta of IronHide) will give such an error, as I only code for the release version (as I got so fed up with error reports that only after hours of checking and testing decided to report that they were with trunk).
Solution: Put a sticky in Announcements/Expansion Packs/Testing and Bug saying something to the effect of "DO NOT EXPECT YOUR BUG(S) TO BE SOLVED BY THE AUTHOR IF YOU DO NOT SAY WHAT VERSION OF OOLITE YOU ARE USING & DO NOT EXPECT THE OXP AUTHOR TO SOLVE THE BUG(S) THAT APPEARED WITH THE LATEST NIGHTLY".

And I can agree that omitting such important information can make the OXP author angry...

Re: Welcome Mat

Posted: Sat Feb 12, 2011 10:53 am
by JensAyton
Zireael wrote:
Solution: Put a sticky in Announcements/Expansion Packs/Testing and Bug saying something to the effect of "DO NOT EXPECT YOUR BUG(S) TO BE SOLVED BY THE AUTHOR IF YOU DO NOT SAY WHAT VERSION OF OOLITE YOU ARE USING & DO NOT EXPECT THE OXP AUTHOR TO SOLVE THE BUG(S) THAT APPEARED WITH THE LATEST NIGHTLY".
You actually think people would read it? How charming. :-)

(And it’s not just OXPs, we get occasional bug reports which we know only by context are for 1.65.)

Re: Welcome Mat

Posted: Sat Feb 12, 2011 11:07 am
by Commander McLane
Ahruman wrote:
Zireael wrote:
Solution: Put a sticky in Announcements/Expansion Packs/Testing and Bug saying something to the effect of "DO NOT EXPECT YOUR BUG(S) TO BE SOLVED BY THE AUTHOR IF YOU DO NOT SAY WHAT VERSION OF OOLITE YOU ARE USING & DO NOT EXPECT THE OXP AUTHOR TO SOLVE THE BUG(S) THAT APPEARED WITH THE LATEST NIGHTLY".
You actually think people would read it? How charming. :-)
It's so nice to be young and still have illusions... :D

Re: Welcome Mat

Posted: Sat Feb 12, 2011 12:45 pm
by Zireael
Commander McLane wrote:
Ahruman wrote:
Zireael wrote:
Solution: Put a sticky in Announcements/Expansion Packs/Testing and Bug saying something to the effect of "DO NOT EXPECT YOUR BUG(S) TO BE SOLVED BY THE AUTHOR IF YOU DO NOT SAY WHAT VERSION OF OOLITE YOU ARE USING & DO NOT EXPECT THE OXP AUTHOR TO SOLVE THE BUG(S) THAT APPEARED WITH THE LATEST NIGHTLY".
You actually think people would read it? How charming. :-)
It's so nice to be young and still have illusions... :D
At least it'd give you a reasonable excuse to ignore people who do not say what version they are using...

Re: Welcome Mat

Posted: Sat Feb 12, 2011 8:22 pm
by Critter
Yup, removing Orbits did the trick.

Re: Welcome Mat

Posted: Sun Feb 13, 2011 12:14 pm
by Thargoid
OK, for our esteemed Grand Admiral, and also to begin to be ready for 1.75 - I've just uploaded new versions of my OXPs without the maximum limitation. One or two also have some scripting updates, for example to correct system. to System. where appropriate.

The only ones not done are OoCheat (where I have something to add for 1.75-only) and IronHide (which has the new 2.00 beta available for 1.75 anyway, which will also be 1.75-only). Some of the PF supplemental OXPs, the demo OXPs and bigShips never had the max_version in anyway so need no update.

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:27 pm
by JD
Hi Thargoid. I don't know whether this is the appropriate thread for this comment, but I just installed SecondWave 1.31 and now have an error message in the log file:

Code: Select all

[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0x962e180>{"Mine Sweeper Satellite"} to "minesweeperAI.plist" - could not load file.
My first thought was that this is a Black Monk error, as I've only encountered those satellites around their monasteries, but because it has arisen after installing SecondWave I'm not so sure (I checked the previous log, and the message definitely isn't present there).

This is the full log file:

Code: Select all

[log.header]: Opening log for Oolite version 1.74.2 (x86-32 test release) under Windows at 2011-02-13 14:01:21 +0000.
8 processors detected.
Oolite options: procedural planet textures, docking clearance, wormhole scanner, target incoming missiles, spoken messages, JavaScript console support, OXP verifier, localization tools, debug GraphViz support.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

[joystickHandler.init]: Number of joysticks detected: 1
[display.mode.list.native]: Windows native resolution detected: 1920 x 1080
[dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
[searchPaths.dumpAll]: Unrestricted Mode - Resources paths:
    Resources
    ../AddOns
    ../AddOns/AsteroidStorm 4.01.oxp
    ../AddOns/BGS-I1.3.2.oxp
    ../AddOns/buoyRepair1.02.6.oxp
    ../AddOns/captKev_dodo.oxp
    ../AddOns/CombinedSounds.oxp
    ../AddOns/Commies.oxp
    ../AddOns/Dictators v1.4.oxp
    ../AddOns/Diso.oxp
    ../AddOns/Generation Ships 1.1.oxp
    ../AddOns/globestation2.0.oxp
    ../AddOns/Griff_Debris_sets135_no_normal_map.oxp
    ../AddOns/griff_rock_hermit_fullsize_textures.oxp
    ../AddOns/griff_shipset_all_in_1.oxp
    ../AddOns/Lave.oxp
    ../AddOns/monument.oxp
    ../AddOns/PAGroove_Stations_v1.2.2.oxp
    ../AddOns/Pimp_my_ride-Cobra3.oxp
    ../AddOns/SecondWave 1.31.oxp
    ../AddOns/Shady_blackmonks.oxp
    ../AddOns/tgy_dev.oxp
    ../AddOns/Tianve1.3.oxp
    ../AddOns/Tori2.01.oxp
    ../AddOns/transhab.oxp
    ../AddOns/YOUR_AD_HERE.oxp
    ../AddOns/YOUR_AD_HERE_set_A.oxp
    ../AddOns/YOUR_AD_HERE_set_A416_upd.oxp
    ../AddOns/YOUR_AD_HERE_set_B.oxp
    ../AddOns/YOUR_AD_HERE_set_B416_upd.oxp
    ../AddOns/YOUR_AD_HERE_set_C.oxp
    ../AddOns/YOUR_AD_HERE_set_C416_upd.oxp
    ../AddOns/YOUR_AD_HERE_set_D.oxp
    ../AddOns/YOUR_AD_HERE_set_D416_upd.oxp
    ../AddOns/YOUR_AD_HERE_set_E.oxp
    ../AddOns/YOUR_AD_HERE_set_E416_upd.oxp
    ../AddOns/YOUR_AD_HERE_set_F.oxp
    ../AddOns/YOUR_AD_HERE_set_F416_upd.oxp
    ../AddOns/ZygoRoids v1.1.oxp
[rendering.opengl.version]: OpenGL renderer version: 4.1.0 ("4.1.0")
Vendor: NVIDIA Corporation
Renderer: GeForce GTX 460/PCI/SSE2
[rendering.opengl.extensions]: OpenGL extensions (221):
GL_ARB_draw_instanced, GL_NV_float_buffer, GL_NV_vertex_attrib_integer_64bit, GL_ARB_occlusion_query, GL_EXT_texture_env_add, GL_ARB_texture_env_dot3, GL_ARB_sync, GL_EXTX_framebuffer_mixed_formats, GL_ARB_texture_multisample, GL_NV_texture_env_combine4, GL_ARB_point_parameters, GL_ARB_vertex_array_object, GL_NVX_gpu_memory_info, GL_NV_vertex_buffer_unified_memory, GL_ARB_blend_func_extended, GL_NV_explicit_multisample, GL_EXT_provoking_vertex, GL_NV_texture_shader2, GL_EXT_blend_equation_separate, GL_NV_texture_shader3, GL_ARB_texture_non_power_of_two, GL_ARB_texture_mirrored_repeat, GL_EXT_multi_draw_arrays, GL_NV_fence, GL_ARB_timer_query, GL_ARB_texture_buffer_object, GL_NV_occlusion_query, GL_EXT_abgr, GL_ARB_vertex_program, GL_NV_shader_buffer_load, GL_ATI_texture_float, GL_ARB_draw_buffers_blend, GL_ARB_viewport_array, GL_KTX_buffer_region, GL_ARB_shadow, GL_NV_light_max_exponent, GL_EXT_texture_cube_map, GL_NV_texture_multisample, GL_NV_primitive_restart, GL_EXT_framebuffer_object, GL_EXT_texture_sRGB, GL_ARB_get_program_binary, GL_ARB_multitexture, GL_NV_half_float, GL_NV_copy_image, GL_NV_register_combiners, GL_EXT_texture_compression_rgtc, GL_ARB_shader_objects, GL_EXT_blend_func_separate, GL_EXT_bgra, GL_ARB_pixel_buffer_object, GL_ARB_vertex_attrib_64bit, GL_NV_fragment_program2, GL_EXT_Cg_shader, GL_ARB_draw_buffers, GL_EXT_separate_shader_objects, GL_NV_texgen_reflection, GL_ARB_texture_env_crossbar, GL_ARB_fragment_shader, GL_EXT_texture_swizzle, GL_EXT_fog_coord, GL_EXT_vertex_array_bgra, GL_EXT_framebuffer_blit, GL_NV_copy_depth_to_color, GL_ARB_texture_compression_rgtc, GL_ARB_sample_shading, GL_NV_vertex_program1_1, GL_ARB_seamless_cube_map, GL_WIN_swap_hint, GL_EXT_texture_shared_exponent, GL_ARB_shader_subroutine, GL_EXT_geometry_shader4, GL_EXT_direct_state_access, GL_EXT_compiled_vertex_array, GL_NV_parameter_buffer_object2, GL_NV_vertex_array_range2, GL_EXT_shader_image_load_store, GL_EXT_separate_specular_color, GL_ARB_vertex_type_2_10_10_10_rev, GL_EXT_vertex_array, GL_ARB_shading_language_100, GL_EXT_rescale_normal, GL_ARB_texture_float, GL_EXT_packed_depth_stencil, GL_EXT_bindable_uniform, GL_ARB_texture_swizzle, GL_ARB_half_float_pixel, GL_EXT_texture_compression_s3tc, GL_EXT_draw_instanced, GL_ARB_occlusion_query2, GL_NV_transform_feedback, GL_NV_texture_compression_vtc, GL_ARB_texture_rgb10_a2ui, GL_SGIS_texture_lod, WGL_EXT_swap_control, GL_ARB_geometry_shader4, GL_NV_point_sprite, GL_ARB_framebuffer_object, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_rg, GL_NV_texture_expand_normal, GL_ARB_color_buffer_float, GL_NV_gpu_program4_1, GL_NV_framebuffer_multisample_coverage, GL_EXT_blend_color, GL_NV_packed_depth_stencil, GL_NV_geometry_shader4, GL_NV_texture_rectangle, GL_ARB_vertex_array_bgra, GL_EXT_texture_integer, GL_EXT_texture_array, GL_ARB_fragment_program_shadow, GL_NV_gpu_program4, GL_EXT_texture_buffer_object, GL_NV_vertex_program2_option, GL_NV_gpu_program5, GL_ARB_map_buffer_range, GL_ARB_fragment_program, GL_ARB_copy_buffer, GL_ARB_tessellation_shader, GL_NV_gpu_shader5, GL_S3_s3tc, GL_NV_depth_clamp, GL_EXT_texture_lod_bias, GL_EXT_texture_filter_anisotropic, GL_EXT_draw_buffers2, GL_NV_fragment_program, GL_EXT_secondary_color, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_EXT_framebuffer_multisample, GL_ARB_window_pos, GL_IBM_rasterpos_clip, GL_EXT_texture_env_combine, GL_ARB_vertex_shader, GL_ARB_texture_compression_bptc, GL_SGIS_generate_mipmap, GL_ARB_compatibility, GL_ATI_texture_mirror_once, GL_EXT_packed_float, GL_ARB_texture_border_clamp, GL_ARB_explicit_attrib_location, GL_NV_blend_square, GL_EXT_texture3D, GL_SUN_slice_accum, GL_NV_vertex_array_range, GL_ARB_ES2_compatibility, GL_NV_vertex_program, GL_ARB_texture_query_lod, GL_NV_multisample_filter_hint, GL_EXT_texture_mirror_clamp, GL_ARB_texture_compression, GL_NV_vertex_program2, GL_NV_multisample_coverage, GL_ARB_texture_env_add, GL_ARB_imaging, GL_NV_vertex_program3, GL_ARB_provoking_vertex, GL_EXT_gpu_shader4, GL_ARB_texture_rectangle, GL_EXT_texture_edge_clamp, GL_NV_transform_feedback2, GL_ARB_draw_elements_base_vertex, GL_ARB_fragment_coord_conventions, GL_ARB_separate_shader_objects, GL_SGIX_shadow, GL_ARB_texture_cube_map, GL_EXT_transform_feedback2, GL_EXT_framebuffer_sRGB, GL_NV_fragment_program_option, GL_EXT_texture_compression_latc, GL_ARB_robustness, GL_ARB_point_sprite, GL_ARB_texture_gather, GL_ARB_texture_buffer_object_rgb32, GL_NV_depth_buffer_float, GL_ARB_depth_texture, GL_EXT_texture_object, GL_EXT_depth_bounds_test, GL_NV_fog_distance, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_SGIX_depth_texture, GL_ATI_draw_buffers, GL_ARB_framebuffer_sRGB, GL_EXT_blend_subtract, GL_NV_register_combiners2, GL_EXT_packed_pixels, GL_IBM_texture_mirrored_repeat, GL_NV_texture_shader, GL_EXT_draw_range_elements, GL_ARB_texture_cube_map_array, GL_ARB_sampler_objects, GL_ARB_half_float_vertex, GL_ARB_shader_precision, GL_ARB_gpu_shader5, GL_ARB_depth_clamp, GL_ARB_transpose_matrix, GL_NV_parameter_buffer_object, GL_ARB_vertex_buffer_object, GL_ARB_draw_indirect, GL_EXT_pixel_buffer_object, GL_EXT_vertex_attrib_64bit, GL_NVX_conditional_render, GL_ARB_texture_env_combine, GL_ARB_shader_bit_encoding, GL_EXT_timer_query, GL_EXT_gpu_program_parameters, GL_ARB_uniform_buffer_object, GL_ARB_multisample, GL_EXT_texture_env_dot3, GL_EXT_shadow_funcs, GL_EXT_texture_lod, GL_ARB_depth_buffer_float, GL_NV_pixel_data_range, GL_ARB_gpu_shader_fp64, GL_EXT_stencil_wrap, GL_EXT_point_parameters, GL_NV_texture_barrier, GL_NV_gpu_program_fp64
[rendering.opengl.shader.support]: Shaders are supported.
[rendering.opengl.shader.mode]: Shader mode set to SHADERS_FULL.
[shipData.load.begin]: Loading ship data.
[script.load.world.listAll]: Loaded 14 world scripts:
    AsteroidStorm 4.01
    black_monks
    buoyRepair 1.02.6
    communist_population 2.11
    dictators.js 1.0
    elite_monument
    Generation Ships 1.1
    oolite-cloaking-device 1.74.2
    oolite-constrictor-hunt 1.74.2
    oolite-nova 1.74.2
    oolite-thargoid-plans 1.74.2
    oolite-tianve 1.3
    oolite-trumbles 1.74.2
    Pi-Forty-Two Con stores 4.1.6
[loading.complete]: ========== Loading complete. ==========
[script.load.world.listAll]: Loaded 14 world scripts:
    AsteroidStorm 4.01
    black_monks
    buoyRepair 1.02.6
    communist_population 2.11
    dictators.js 1.0
    elite_monument
    Generation Ships 1.1
    oolite-cloaking-device 1.74.2
    oolite-constrictor-hunt 1.74.2
    oolite-nova 1.74.2
    oolite-thargoid-plans 1.74.2
    oolite-tianve 1.3
    oolite-trumbles 1.74.2
    Pi-Forty-Two Con stores 4.1.6
[ai.load.failed.unknownAI]: Can't switch AI for <ShipEntity 0x962e180>{"Mine Sweeper Satellite"} to "minesweeperAI.plist" - could not load file.
[gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2011-02-13 14:13:19 +0000.
Any ideas, or should I be directing this elsewhere?

Cheers
John

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:42 pm
by Commander McLane
I think the problem is that you may have removed another OXP, perhaps Assassins or Random Hits.

The Black Monks indeed use minesweepers, but the OXP doesn't contain their AI. I guess LittleBear (the OXP author) didn't notice, because in his installation the AI was present in another OXP.

If you haven't removed OXPs recently, then I guess that you always had this error, but only just noticed.

The solution is fairly easy: Copy the file minesweeperAI.plist from either Assassins.oxp or Random Hits.oxp into the AI-folder of Black Monks.oxp.

EDIT: Random Hits.oxp also doesn't contain the minesweeper AI. So it seems that minesweepers never could have worked for a player who didn't have Assassins installed. In other words: it's a classic case of OXP dependency. I wonder if it has been detected before. Or is it resolved in recent versions of Black Monks and Random Hits?

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:51 pm
by JD
Thanks Commander McLane, and apologies to Thargoid.

I guess the error only arises when I encounter a system with a Black Monk monastery in it, so it appears in some logs and not others. Maybe it's time to bite the bullet, install those oxps and try my hand as a hired hitman.

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:55 pm
by Thargoid
No problem. The appropriate thread would have been the one for second wave OXP itself, but that's down a few pages in this forum now.

And in any case, most of the updates I did earlier just removed the max_version from the OXP, to allow it to run fully with 1.75 without modification (as per Ahruman's request). Second Wave had a couple of additional modifications too, but nothing too major.

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:56 pm
by Eric Walch
Commander McLane wrote:
I wonder if it has been detected before. Or is it resolved in recent versions of Black Monks and Random Hits?
At least random Hits has never used the minesweeperAI. I think it was called "randomhitsminesweeper1AI" from the beginning.

Re: Welcome Mat

Posted: Sun Feb 13, 2011 2:56 pm
by Mauiby de Fug
These have definitely been noticed before. It seems to have been resolved in Random Hits. Version 1.4.6 contains randomhitsminesweeper1AI.plist, randomhitsminesweeper2AI.plist, and randomhitsminesweeper3AI.plist, and no reference to minesweeperAi.plist at all. As for Black Monks, there haven't been any recent versions at all, and so there are still many bugs in the released versions.