Cloaking device problem?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Cloaking device problem?

Post by dalek501 »

Hello all,

I think I have a problem with the cloaking device. I'm not exactly sure as I have been away from the game for a year or so (not had time to play it) and when I came back I'd forgotten what I was up to and what I had. I'm currently in Galaxy 5 and I'm sure I *spoiler - did the right thing!* and had got it but doesn't appear in my equipment list anymore and pressing 0 doesn't seem to activate anything.

I have this in my save game:

<key>EQ_CLOAKING_DEVICE</key>
<integer>1</integer>

Having done some searching I believe its supposed to add "damaged" if it had been damaged. I've also installed the cloaking device repair oxp and travelled to a tech level 15 planet, but to no avail!

I'm using the current 1.77 version (which is fantastic!) but I was using 1.76.1 yesterday and I didnt have it then either.

I'm sure I must be doing something silly! Any thoughts please?!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Cloaking device problem?

Post by Commander McLane »

Are you by any chance playing Assassins OXP at the moment? The OXP removes your cloaking device in all mission-related situations and re-awards it at some point later, because the assassination missions would be too easy if you were allowed to cloak.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

No, and it isn't installed either as I haven't made it to G7 as yet. As I mentioned its a year since I last played (due to circumstances) and I can't really recall what I was doing. In the last couple of jumps I have had a message from 'Deposed' indicating the end of the story and that it could be removed. I also seem to be doing something for 'Trident Down' as I am supposed to be heading for Raceedat. But that is in G4 and I'm now in G5. So I'm assuming I was doing two missions at the same time and one of them forced my to jump a Galaxy.

I assume that the bit of code I pasted in the first post proves that I have got one though? I'm convinced I had it and I don't recall it ever being damaged. I have to admit I can't recall what happens when you cloak. IE. Does it tell you you are cloaked? Or make a sound? Certainly nothing seems to happen when I press 0.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Cloaking device problem?

Post by another_commander »

If you remove all OXPs and load the savegame with the cloaking device, does it then appear on the status screen?
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

No it doesn't. So it's not one of the OXPs?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Cloaking device problem?

Post by another_commander »

Please upload the savegame somewhere so that we can have a look at it. Also, please start up Oolite with Shift pressed and post the resulting Latest.log here.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

Latest log:

Opening log for Oolite version 1.77 (x86-32) under Windows 5.1.2600 Service Pack 2 64-bit at 2013-01-08 13:35:32 +0000.
8 processors detected.
Build options: spoken messages, mass/fuel pricing.

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

13:35:32.597 [dataCache.notFound]: No data cache found, starting from scratch.
13:35:33.257 [display.mode.list.native]: Windows native resolution detected: 1920 x 1080
13:35:33.598 [joystick.init]: Number of joysticks detected: 0
13:35:33.674 [rendering.opengl.version]: OpenGL renderer version: 4.2.0 ("4.2.0"). Vendor: "NVIDIA Corporation". Renderer: "GeForce GT 425M/PCIe/SSE2".
13:35:33.675 [rendering.opengl.extensions]: OpenGL extensions (273):
GL_ARB_draw_instanced, GL_NV_texture_lod_clamp, GL_NV_float_buffer, GL_NV_vertex_attrib_integer_64bit, GL_ARB_occlusion_query, GL_EXT_texture_env_add, GL_ARB_texture_storage, 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_OES_depth24, 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_ARB_compressed_texture_pixel_storage, 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_OES_packed_depth_stencil, 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_EXT_texture_compression_dxt1, GL_ARB_shader_atomic_counters, GL_NV_texture_multisample, GL_NV_primitive_restart, GL_EXT_framebuffer_object, GL_EXT_texture_sRGB, GL_ARB_conservative_depth, GL_ARB_get_program_binary, GL_NV_shader_atomic_float, GL_ARB_multitexture, GL_NV_half_float, GL_NV_copy_image, GL_NV_path_rendering, GL_OES_depth32, 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_OES_read_format, 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_shading_language_420pack, GL_ARB_shader_subroutine, GL_OES_point_size_array, GL_EXT_texture_format_BGRA8888, GL_OES_compressed_paletted_texture, GL_EXT_geometry_shader4, GL_EXT_direct_state_access, GL_EXT_compiled_vertex_array, GL_NV_parameter_buffer_object2, GL_ARB_shader_image_load_store, GL_NV_vertex_array_range2, GL_ARB_shading_language_include, GL_EXT_texture_storage, 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_OES_texture_float, 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_OES_get_program_binary, GL_NV_texture_expand_normal, GL_EXT_texture_type_2_10_10_10_REV, 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_base_instance, GL_EXT_import_sync_object, GL_ARB_shading_language_packing, GL_ARB_fragment_program_shadow, GL_NV_gpu_program4, GL_NV_fragdepth, GL_EXT_texture_buffer_object, GL_OES_standard_derivatives, GL_NV_vertex_program2_option, GL_NV_gpu_program5, GL_ARB_map_buffer_range, GL_ARB_fragment_program, GL_ARB_copy_buffer, GL_OES_point_sprite, GL_NV_blend_minmax, 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_OES_texture_3D, 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_ARB_internalformat_query, 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_EXT_texture_sRGB_decode, 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_OES_texture_half_float_linear, GL_ARB_draw_elements_base_vertex, GL_ARB_fragment_coord_conventions, GL_OES_texture_half_float, GL_ARB_separate_shader_objects, GL_SGIX_shadow, GL_ARB_texture_cube_map, GL_NV_ES1_1_compatibility, GL_EXT_transform_feedback2, GL_NV_alpha_test, GL_OES_vertex_array_object, 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_OES_depth_texture, 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_NV_fbo_color_attachments, 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_OES_mapbuffer, GL_ARB_shader_precision, GL_ARB_gpu_shader5, GL_OES_rgb8_rgba8, GL_ARB_depth_clamp, GL_ARB_transpose_matrix, GL_NV_parameter_buffer_object, GL_ARB_vertex_buffer_object, GL_ARB_draw_indirect, GL_AMD_multi_draw_indirect, GL_EXT_pixel_buffer_object, GL_EXT_vertex_attrib_64bit, GL_ARB_transform_feedback_instanced, GL_OES_texture_npot, GL_NVX_conditional_render, GL_ARB_texture_env_combine, GL_OES_vertex_half_float, GL_ARB_shader_bit_encoding, GL_EXT_timer_query, GL_EXT_gpu_program_parameters, GL_ARB_shader_texture_lod, GL_ARB_uniform_buffer_object, GL_ARB_multisample, GL_EXT_texture_env_dot3, GL_OES_texture_float_linear, GL_NV_shader_atomic_counters, GL_EXT_shadow_funcs, GL_EXT_texture_lod, GL_ARB_depth_buffer_float, GL_NV_pixel_data_range, GL_ARB_map_buffer_alignment, GL_ARB_gpu_shader_fp64, GL_EXT_stencil_wrap, GL_OES_fbo_render_mipmap, GL_EXT_point_parameters, GL_OES_element_index_uint, GL_NV_texture_barrier, GL_NV_gpu_program_fp64, GL_NV_complex_primitives
13:35:33.690 [rendering.opengl.shader.support]: Shaders are supported.
13:35:33.692 [dataCache.notFound]: No data cache found, starting from scratch.
13:35:33.693 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
Resources
../AddOns
13:35:34.356 [shipData.load.begin]: Loading ship data.
13:35:34.778 [script.load.world.listAll]: Loaded 9 world scripts:
oolite-cloaking-device 1.77
oolite-constrictor-hunt 1.77
oolite-contracts-cargo 1.77
oolite-contracts-helpers 1.77
oolite-contracts-parcels 1.77
oolite-contracts-passengers 1.77
oolite-nova 1.77
oolite-thargoid-plans 1.77
oolite-trumbles 1.77
13:35:36.551 [startup.complete]: ========== Loading complete in 3.95 seconds. ==========
13:35:57.907 [exit.context]: Exiting: SDL_QUIT event received.
13:35:57.917 [gnustep]: 2013-01-08 13:35:57.916 oolite[10096] Defaults path 'C:\Program Files (x86)/Oolite/oolite.app/GNUstep/Defaults' did not exist - created it

13:35:57.932 [gnustep]: 2013-01-08 13:35:57.932 oolite[10096] Creating empty user defaults database

13:35:57.961 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2013-01-08 13:35:57 +0000.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

Edited by another_commander: Please avoid posting huge text files directly on the forum; it makes reading threads extremely difficult.

Save game:
http://pastebin.com/QyvU4MT2
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Cloaking device problem?

Post by another_commander »

I do not have the Gallifreyan Supercobra OXP and cannot find it anywhere, so I just changed the ship in the savefile to a standard Cobra MkIII. After doing that, the savegame was loaded successfully and the Cloaking Device is there (and it works). At this point, I imagine it must be an issue specific to the OXP ship you are using.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

Sorry about the large post!

The Gallifreyan Supercobra is an OXP specific to me. Its an edited version of the normal Supercobra using Griff's textures etc. Would there be a specific file from it you would need to see to see if there is some form of conflict?

Odd that it worked prior to my extended break?
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Cloaking device problem?

Post by Eric Walch »

dalek501 wrote:
The Gallifreyan Supercobra is an OXP specific to me.

Odd that it worked prior to my extended break?
1.77 follows the rules for incompatible equipment a bit better that before. With 1.76 you could define equipment as being incompatible, but add it manually to the save game, or even by script. 1.77 already excludes incompatible equipment on loading the game.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

Well I'm doubly confused now!

I have 2 save files one set earlier in time than the other. Both save files have this text:

<key>ship_desc</key>
<string>galsupercobra-player</string>
<key>ship_kills</key>
<integer>3631</integer>
<key>ship_name</key>
<string>Gallifreyan Supercobra</string>
<key>ship_trade_in_factor</key>
<integer>90</integer>
<key>shipyard_record</key>
<dict>
<key>b1392d-f532e6</key>
<string>galsupercobra-player</string>


The only difference between the two being the amount of kills and the trade-in factor.

Yet, the earlier file works with the cloak (the same one pasted in the pastebin link above) and the later one doesn't. Both seem to refer to my supercobra oxp.

At this point would it make more sense for me to dump the Supercobra OXP idea, go back to a cobra, and just edit the player cobra stats to match the Supercobra so I keeo the basic same ship I have?
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Re: Cloaking device problem?

Post by dalek501 »

Ok I've done a little tampering.

I noticed that the newer save file was omitting the code for the cloak. Once added back in it worked fine even with my Supercobra OXP. Sooooooo.... does that mean that when I upgraded to 1.76.1 it was removed. I only did that upgrade a few days ago, then yesterday did the upgrade to 1.77. The save file I stupidly posted above was created in 1.75 I think which would explain why it was there.

What happened was Windows was hiding my latest save file under "compatibility files" so I posted the wrong older one here. Obviously the latest one it had been removed.
Post Reply