Page 1 of 1

[RELEASE] SafetyCatch OXP v1.3

Posted: Thu Dec 26, 2013 1:59 pm
by Norby
If you ever dropped a Q-Bomb accidentally when wanted to launch a missile then install [wiki]SafetyCatch[/wiki] equipment.

This feature is requested in this topic.

Re: [RELEASE] SafetyCatch OXP v1.0

Posted: Thu Dec 26, 2013 8:53 pm
by Smivs
The Darwin Award people won't like this :D

Re: [RELEASE] SafetyCatch OXP v1.1

Posted: Fri Dec 27, 2013 2:42 pm
by Norby
Cost of Mine Safety Catch equipment is raised to 20Cr in [EliteWiki] v1.1 following this comment.

Re: [RELEASE] SafetyCatch OXP v1.1

Posted: Tue Dec 31, 2013 2:16 am
by Norby
ffutures wrote:
Finally used this in anger today - fighting three Thargoids, two fugitives and a load of Thargoid fighter robots in a dense asteroid belt, they thought they had me outgunned but insisted on following me when I ran. Got the lot! And I suspect would have fired the thing prematurely if it hadn't had the safety catch.
Thank you for the report of a perfect usage. :)

Re: [RELEASE] SafetyCatch OXP v1.1

Posted: Thu Jan 02, 2014 9:44 pm
by ffutures
Norby wrote:
ffutures wrote:
Finally used this in anger today - fighting three Thargoids, two fugitives and a load of Thargoid fighter robots in a dense asteroid belt, they thought they had me outgunned but insisted on following me when I ran. Got the lot! And I suspect would have fired the thing prematurely if it hadn't had the safety catch.
Thank you for the report of a perfect usage. :)
Unfortunately it just threw a BIG problem. I was firing off missiles, didn't want to use the mine (too many friendly ships around) so didn't take the safety catch off. Accidentally pressed the missile fire button after using the last missile, and the program froze solid - the only way I got out was control-alt-del, nothing else worked.

log below - hope it helps

Opening log for Oolite version 1.77.1 (x86-32) under Windows 6.1.7601 Service Pack 1 64-bit at 2014-01-02 21:24:15 +0000.
4 processors detected.
Build options: spoken messages, mass/fuel pricing.

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

21:24:16.626 [display.mode.list.native]: Windows native resolution detected: 1680 x 1050
21:24:17.595 [joystick.init]: Number of joysticks detected: 1
21:24:17.601 [rendering.opengl.version]: OpenGL renderer version: 4.2.0 ("4.2.0 - Build 10.18.10.3304"). Vendor: "Intel". Renderer: "Intel(R) HD Graphics 4600".
21:24:17.601 [rendering.opengl.extensions]: OpenGL extensions (163):
GL_ARB_framebuffer_sRGB, GL_ARB_transform_feedback_instanced, GL_ARB_depth_texture, GL_ARB_texture_env_add, GL_ARB_internalformat_query2, GL_ARB_draw_instanced, GL_ARB_half_float_vertex, GL_EXT_texture3D, GL_EXT_compiled_vertex_array, GL_ARB_gpu_shader_fp64, GL_EXT_texture_shared_exponent, GL_ARB_framebuffer_object, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_ARB_gpu_shader5, GL_EXT_rescale_normal, GL_ARB_texture_rgb10_a2ui, GL_ARB_transpose_matrix, GL_ARB_texture_cube_map_array, GL_ARB_texture_compression_rgtc, GL_ARB_multisample, GL_ARB_half_float_pixel, GL_EXT_stencil_two_side, GL_ARB_texture_border_clamp, GL_ARB_texture_non_power_of_two, GL_ATI_separate_stencil, GL_ARB_shading_language_packing, GL_EXT_bgra, GL_ARB_sync, GL_ARB_compatibility, GL_ARB_sampler_objects, GL_SUN_multi_draw_arrays, GL_EXT_clip_volume_hint, GL_ARB_map_buffer_range, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_image_load_store, GL_ARB_vertex_program, GL_ARB_get_program_binary, GL_ARB_base_instance, GL_INTEL_performance_queries, GL_ARB_texture_float, GL_ARB_draw_buffers_blend, GL_ARB_texture_compression_bptc, GL_ARB_fragment_coord_conventions, GL_EXT_stencil_wrap, GL_EXT_texture_swizzle, GL_ARB_shader_precision, GL_ARB_uniform_buffer_object, GL_NV_primitive_restart, GL_EXT_framebuffer_blit, GL_ARB_vertex_array_bgra, GL_ARB_texture_gather, GL_ARB_texture_compression, GL_KHR_debug, GL_ARB_vertex_array_object, GL_EXT_blend_color, GL_ARB_texture_query_lod, GL_EXT_blend_minmax, GL_EXT_texture_integer, GL_ARB_texture_swizzle, GL_ARB_compute_shader, GL_EXT_gpu_shader4, GL_ARB_sample_shading, GL_ARB_shader_bit_encoding, GL_EXT_transform_feedback, GL_EXT_texture_compression_s3tc, GL_ARB_tessellation_shader, GL_ARB_occlusion_query2, GL_ARB_debug_output, GL_ARB_timer_query, GL_ARB_depth_clamp, GL_ARB_point_sprite, GL_EXT_abgr, GL_ARB_vertex_buffer_object, GL_NV_blend_square, GL_ARB_instanced_arrays, GL_EXT_framebuffer_multisample, GL_NV_conditional_render, GL_ARB_multitexture, GL_ARB_seamless_cube_map, GL_ARB_copy_buffer, GL_EXT_texture_storage, GL_ARB_draw_elements_base_vertex, GL_ARB_geometry_shader4, GL_ARB_transform_feedback2, GL_ARB_multi_draw_indirect, GL_ARB_transform_feedback3, GL_ARB_viewport_array, GL_ARB_shadow, GL_EXT_blend_subtract, GL_ARB_fragment_program_shadow, GL_ARB_internalformat_query, GL_ARB_texture_storage, GL_ARB_window_pos, GL_ARB_texture_multisample, GL_EXT_texture_lod_bias, GL_IBM_texture_mirrored_repeat, GL_EXT_texture_snorm, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_ARB_depth_buffer_float, GL_EXT_texture_sRGB_decode, GL_ARB_shading_language_420pack, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_robustness, GL_ARB_texture_rg, GL_EXT_texture_edge_clamp, GL_EXT_texture_sRGB, GL_ARB_texture_env_combine, GL_WIN_swap_hint, GL_ARB_fragment_program, GL_ARB_explicit_attrib_location, GL_EXT_packed_float, GL_ARB_texture_buffer_object_rgb32, GL_EXT_texture_filter_anisotropic, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_ARB_shader_subroutine, GL_ARB_draw_indirect, GL_EXT_packed_depth_stencil, GL_INTEL_fragment_shader_ordering, GL_ARB_texture_rectangle, GL_ARB_separate_shader_objects, GL_EXT_geometry_shader4, GL_EXT_fog_coord, GL_ARB_ES2_compatibility, GL_SGIS_texture_lod, GL_ARB_texture_buffer_range, GL_3DFX_texture_compression_FXT1, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_ARB_shader_atomic_counters, GL_ARB_shading_language_100, GL_EXT_secondary_color, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_EXT_draw_buffers2, GL_EXT_texture_rectangle, GL_ARB_program_interface_query, GL_ARB_blend_func_extended, GL_ARB_arrays_of_arrays, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_ARB_occlusion_query, GL_INTEL_map_texture, GL_ARB_compressed_texture_pixel_storage, GL_ARB_vertex_attrib_64bit, GL_EXT_framebuffer_object, GL_EXT_packed_pixels, GL_ARB_texture_env_dot3, GL_ARB_map_buffer_alignment, GL_ARB_provoking_vertex, GL_EXT_blend_equation_separate, GL_ARB_color_buffer_float, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_SGIS_texture_edge_clamp, GL_ARB_conservative_depth
21:24:17.608 [rendering.opengl.shader.support]: Shaders are supported.
21:24:17.647 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
Resources
../AddOns
../AddOns/Auto Crosshairs 1.0.4.oxp
../AddOns/BGS-A1.9.oxp
../AddOns/Cabal_Common_Library1.7.oxp
../AddOns/Distant Suns 0.5.1.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 1 version 0.7.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 2 version 0.2.1.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 3 version 0.2.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 4 version 0.2.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 5 version 0.2.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 6 version 0.2.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 7 version 0.2.oxp
../AddOns/Distant Suns 0.5.1.oxp/Distant Suns of Chart 8 version 0.2.oxp
../AddOns/New_Cargoes_1.2.3.oxp
../AddOns/randomshipnames1.4.oxp
../AddOns/SafetyCatch_1.1.oxp
../AddOns/Skilled_NPCs_1.1.oxp
../AddOns/Smivs'Shipset-SD-v4 .2_replace.oxp
../AddOns/Snoopers2.5.oxp
../AddOns/System_Demux_2.oxp
../AddOns/thargoid_wars 4.5.4.oxp
21:24:17.990 [shipData.load.begin]: Loading ship data.
21:24:19.068 [script.load.world.listAll]: Loaded 64 world scripts:
Auto Crosshairs 1.0.4
BGS-M 1.9
BGS-XMapping 1.9
Cabal_Common_Briefing 1.7
Cabal_Common_Comms 1.7
Cabal_Common_Functions 1.7
Cabal_Common_Keyboard 1.7
Cabal_Common_MissionHandling 1.7
Cabal_Common_Music 1.7
Cabal_Common_Overlay 1.7
Cabal_Common_OXPStrength 1.7
Cabal_Common_SpecialMarkets 1.7
CargoTypeExtension 1.2.3
CargoTypeExtension-Auctions 1.1.1
CargoTypeExtension-Base 1.2.3
CargoTypeExtension-DefaultMarket 1.2.3
CargoTypeExtension-Dynamic 1.2.3
CargoTypeExtension-FetchContracts 1.2.3
CargoTypeExtension-OpenContract 1.2.3
CargoTypeExtension-Permits 1.2.3
CargoTypeExtension-Regional 1.2.3
CargoTypeExtension-Scavenger 1.2.3
CargoTypeExtension-Station-Astrofactory 1.2.3
CargoTypeExtension-Station-ConStore 1.2.3
CargoTypeExtension-Station-Galnavy 1.2.3
CargoTypeExtension-Station-GRS 1.2.3
CargoTypeExtension-Station-HoopyCasino 1.2.3
CargoTypeExtension-Station-KiotaBiosphere 1.2.3
CargoTypeExtension-Station-KiotaFactory 1.2.3
CargoTypeExtension-Station-KiotaHabitat 1.2.3
CargoTypeExtension-Station-KiotaRelay 1.2.3
CargoTypeExtension-Station-KiotaResearch 1.2.3
CargoTypeExtension-Station-KiotaSolar 1.2.3
CargoTypeExtension-Station-PlanetFall 1.2.3
CargoTypeExtension-Station-RockHermit 1.2.3
CargoTypeExtension-Station-RRSWaystation 1.2.3
CargoTypeExtension-Station-SalvageGang 1.2.3
CargoTypeExtension-Station-SpaceBar 1.2.3
CargoTypeExtension-Station-SuperHub 1.2.3
CargoTypeExtension-Station-ZGF 1.2.3
CargoTypeExtension-TraderNet 1.2.3
oolite-cloaking-device 1.77.1
oolite-constrictor-hunt 1.77.1
oolite-contracts-cargo 1.77.1
oolite-contracts-helpers 1.77.1
oolite-contracts-parcels 1.77.1
oolite-contracts-passengers 1.77.1
oolite-nova 1.77.1
oolite-thargoid-plans 1.77.1
oolite-trumbles 1.77.1
randomshipnames 1.4
safetycatch 1.1
Skilled NPCs 1.1
snoopers 2.5
Stars 0 0.7
Stars 1 0.2.1
Stars 2 0.2
Stars 3 0.2
Stars 4 0.2
Stars 5 0.2
Stars 6 0.2
Stars 7 0.2
System Demux 2.0
thargoid_wars 4.5.4
21:24:20.006 [startup.complete]: ========== Loading complete in 4.14 seconds. ==========
21:24:25.479 [script.load.world.listAll]: Loaded 64 world scripts:
Auto Crosshairs 1.0.4
BGS-M 1.9
BGS-XMapping 1.9
Cabal_Common_Briefing 1.7
Cabal_Common_Comms 1.7
Cabal_Common_Functions 1.7
Cabal_Common_Keyboard 1.7
Cabal_Common_MissionHandling 1.7
Cabal_Common_Music 1.7
Cabal_Common_Overlay 1.7
Cabal_Common_OXPStrength 1.7
Cabal_Common_SpecialMarkets 1.7
CargoTypeExtension 1.2.3
CargoTypeExtension-Auctions 1.1.1
CargoTypeExtension-Base 1.2.3
CargoTypeExtension-DefaultMarket 1.2.3
CargoTypeExtension-Dynamic 1.2.3
CargoTypeExtension-FetchContracts 1.2.3
CargoTypeExtension-OpenContract 1.2.3
CargoTypeExtension-Permits 1.2.3
CargoTypeExtension-Regional 1.2.3
CargoTypeExtension-Scavenger 1.2.3
CargoTypeExtension-Station-Astrofactory 1.2.3
CargoTypeExtension-Station-ConStore 1.2.3
CargoTypeExtension-Station-Galnavy 1.2.3
CargoTypeExtension-Station-GRS 1.2.3
CargoTypeExtension-Station-HoopyCasino 1.2.3
CargoTypeExtension-Station-KiotaBiosphere 1.2.3
CargoTypeExtension-Station-KiotaFactory 1.2.3
CargoTypeExtension-Station-KiotaHabitat 1.2.3
CargoTypeExtension-Station-KiotaRelay 1.2.3
CargoTypeExtension-Station-KiotaResearch 1.2.3
CargoTypeExtension-Station-KiotaSolar 1.2.3
CargoTypeExtension-Station-PlanetFall 1.2.3
CargoTypeExtension-Station-RockHermit 1.2.3
CargoTypeExtension-Station-RRSWaystation 1.2.3
CargoTypeExtension-Station-SalvageGang 1.2.3
CargoTypeExtension-Station-SpaceBar 1.2.3
CargoTypeExtension-Station-SuperHub 1.2.3
CargoTypeExtension-Station-ZGF 1.2.3
CargoTypeExtension-TraderNet 1.2.3
oolite-cloaking-device 1.77.1
oolite-constrictor-hunt 1.77.1
oolite-contracts-cargo 1.77.1
oolite-contracts-helpers 1.77.1
oolite-contracts-parcels 1.77.1
oolite-contracts-passengers 1.77.1
oolite-nova 1.77.1
oolite-thargoid-plans 1.77.1
oolite-trumbles 1.77.1
randomshipnames 1.4
safetycatch 1.1
Skilled NPCs 1.1
snoopers 2.5
Stars 0 0.7
Stars 1 0.2.1
Stars 2 0.2
Stars 3 0.2
Stars 4 0.2
Stars 5 0.2
Stars 6 0.2
Stars 7 0.2
System Demux 2.0
thargoid_wars 4.5.4
21:29:50.919 [script.load.world.listAll]: Loaded 64 world scripts:
Auto Crosshairs 1.0.4
BGS-M 1.9
BGS-XMapping 1.9
Cabal_Common_Briefing 1.7
Cabal_Common_Comms 1.7
Cabal_Common_Functions 1.7
Cabal_Common_Keyboard 1.7
Cabal_Common_MissionHandling 1.7
Cabal_Common_Music 1.7
Cabal_Common_Overlay 1.7
Cabal_Common_OXPStrength 1.7
Cabal_Common_SpecialMarkets 1.7
CargoTypeExtension 1.2.3
CargoTypeExtension-Auctions 1.1.1
CargoTypeExtension-Base 1.2.3
CargoTypeExtension-DefaultMarket 1.2.3
CargoTypeExtension-Dynamic 1.2.3
CargoTypeExtension-FetchContracts 1.2.3
CargoTypeExtension-OpenContract 1.2.3
CargoTypeExtension-Permits 1.2.3
CargoTypeExtension-Regional 1.2.3
CargoTypeExtension-Scavenger 1.2.3
CargoTypeExtension-Station-Astrofactory 1.2.3
CargoTypeExtension-Station-ConStore 1.2.3
CargoTypeExtension-Station-Galnavy 1.2.3
CargoTypeExtension-Station-GRS 1.2.3
CargoTypeExtension-Station-HoopyCasino 1.2.3
CargoTypeExtension-Station-KiotaBiosphere 1.2.3
CargoTypeExtension-Station-KiotaFactory 1.2.3
CargoTypeExtension-Station-KiotaHabitat 1.2.3
CargoTypeExtension-Station-KiotaRelay 1.2.3
CargoTypeExtension-Station-KiotaResearch 1.2.3
CargoTypeExtension-Station-KiotaSolar 1.2.3
CargoTypeExtension-Station-PlanetFall 1.2.3
CargoTypeExtension-Station-RockHermit 1.2.3
CargoTypeExtension-Station-RRSWaystation 1.2.3
CargoTypeExtension-Station-SalvageGang 1.2.3
CargoTypeExtension-Station-SpaceBar 1.2.3
CargoTypeExtension-Station-SuperHub 1.2.3
CargoTypeExtension-Station-ZGF 1.2.3
CargoTypeExtension-TraderNet 1.2.3
oolite-cloaking-device 1.77.1
oolite-constrictor-hunt 1.77.1
oolite-contracts-cargo 1.77.1
oolite-contracts-helpers 1.77.1
oolite-contracts-parcels 1.77.1
oolite-contracts-passengers 1.77.1
oolite-nova 1.77.1
oolite-thargoid-plans 1.77.1
oolite-trumbles 1.77.1
randomshipnames 1.4
safetycatch 1.1
Skilled NPCs 1.1
snoopers 2.5
Stars 0 0.7
Stars 1 0.2.1
Stars 2 0.2
Stars 3 0.2
Stars 4 0.2
Stars 5 0.2
Stars 6 0.2
Stars 7 0.2
System Demux 2.0
thargoid_wars 4.5.4

Re: [RELEASE] SafetyCatch OXP v1.1

Posted: Thu Jan 02, 2014 11:41 pm
by Norby
Sorry, but if it is the full log then it is clear. Can you repeat the hangup or became once only?

Re: [RELEASE] SafetyCatch OXP v1.1

Posted: Fri Jan 03, 2014 3:50 pm
by ffutures
Just tried it again (this time the mine was the first on the rack), it froze as soon as I pressed the missile fire button.

Re: [RELEASE] SafetyCatch OXP v1.2

Posted: Sat Jan 04, 2014 1:20 am
by Norby
[EliteWiki] Safety Catch v1.2 contain fixes:
* avoid frozen situation at ffutures (we solved it in private),
* defend Q-Mines only by default (workaround of another problem).

If you use custom mines then you can enable the handling of these in safetycatch.js by setting the SafetyCatchQMineOnly variable to false, but this part of the code is caused problems (awarded more mine than bought before) what I can not fix due to I can not reproduce, so be wise with it and report if you get it also.

Re: [RELEASE] SafetyCatch OXP v1.3

Posted: Fri May 15, 2015 2:11 am
by Norby
In v1.3 the activate key can launch a missile so the arm-disarm mines feature transferred to the mode key.
In this way the fast equipment activation key is an answer for this request.

Re: [RELEASE] SafetyCatch OXP v1.3

Posted: Sun Sep 23, 2018 10:43 pm
by Milo
Error report, no gameplay effect noticed. During ship destruction (from impact in this case):

18:40:23.413 [LogEvents]: ship lost EQ_SAFETYCATCH
18:40:23.413 [LogEvents]: ship got EQ_SAFETYCATCH_DAMAGED
18:40:23.414 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (safetycatch 1.3): TypeError: m is undefined
18:40:23.414 [script.javaScript.exception.unexpectedType]: E:\Oolite/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Norby.SafetyCatch.oxz/Scripts/safetycatch.js, line 94.