Probable trunk bug: "requires_cargo_space"

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Probable trunk bug: "requires_cargo_space"

Post by Lestradae »

I just noticed that equipment just bought, then saved the game, exited, reloaded the game and savegame vanished!

Could do this repeatably. Can provide a testcase savegame, but warning, you need newest OSE beta test version not even downloadable yet.

The log has the following to say when I bought the equipment:
[log.header]: Opening log for Oolite version 1.73 (x86-32 test release) under Windows at 2009-08-29 22:48:51 +0200.
2 processors detected.
Oolite Options: [Procedural Planets] [Docking Clearance] [Wormhole Scanner] [Target Incoming Missiles]

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

[joystickHandler.init]: Number of joysticks detected: 0
[display.mode.list.native]: Windows native resolution detected: 1280 x 800
[rendering.opengl.version]: OpenGL renderer version: 3.0.0 ("3.0.0")
Vendor: NVIDIA Corporation
Renderer: GeForce 8600M GT/PCI/SSE2
[rendering.opengl.extensions]: OpenGL extensions (162):
GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_framebuffer_object GL_ARB_geometry_shader4 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_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object 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_texture_rg GL_ARB_transpose_matrix 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_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float 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_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc 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_integer 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_texture_shared_exponent 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_buffer_float GL_NV_conditional_render GL_NV_depth_clamp GL_NV_explicit_multisample 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_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object 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_transform_feedback 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_NV_vertex_buffer_unified_memory GL_NV_shader_buffer_load 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
[searchPaths.dumpAll]: ---> OXP search paths:
(Resources, ../AddOns, "../AddOns/A - OSE Main Data WiP V0.68.00.oxp", "../AddOns/A - OSE OpenStep V0.68.00.oxp", "../AddOns/A - OSE Ship New Pricing and Variants Upgrade V0.68.00.oxp", ../AddOns/Anarchies2.2.oxp, "../AddOns/Aquatics 2.1.oxp", ../AddOns/Assassins.oxp, "../AddOns/BehemothSpacewar 1.2.1.oxp", ../AddOns/Blackjacksbullion.oxp, ../AddOns/buoyRepair1.02.1.oxp, "../AddOns/Cargo_wrecks_teaser 1.4.oxp", "../AddOns/Dictators v1.3.oxp", "../AddOns/Dredgers 2.2.2.oxp", "../AddOns/Freaky Thargoids 3.1.oxp", "../AddOns/Galactic_Navy 5.2.2.oxp", ../AddOns/genship.oxp, ../AddOns/griff_coriolis_normalmapped.oxp, ../AddOns/interstellar_help.oxp, "../AddOns/Lave Academy 1.02b.oxp", "../AddOns/military Fiasco 2.4.1.oxp", "../AddOns/Oo-Haul.oxp", ../AddOns/piratetraps.oxp, "../AddOns/PlanetFall 1.2.oxp", "../AddOns/PlanetFall Link - Black Monks 1.0.oxp", "../AddOns/PlanetFall Link - hOopy Casino 1.0.oxp", "../AddOns/PlanetFall Mission - Oo-Haul 1.0.0.oxp", "../AddOns/Planetfall Mission - Taxi 1.0.1.oxp", "../AddOns/Pods 1.03.oxp", "../AddOns/Pods-UPS 1.02.oxp", ../AddOns/RandomHits1.3.5.oxp, "../AddOns/SecondWave 1.1.oxp", ../AddOns/Shady_blackmonks.oxp, ../AddOns/System_Redux.oxp, ../AddOns/Taxi_Galactica.oxp, "../AddOns/Thargoid Carrier Upgraded.oxp", "../AddOns/thargoid_wars 4.3.oxp", "../AddOns/Thargorn_Threat 1.3.1.oxp", ../AddOns/tori.oxp, ../AddOns/transhab.oxp, "../AddOns/Transports 2.48.oxp", ../AddOns/tugs.oxp, "../AddOns/UPS-courier v1.5.6.oxp", ../AddOns/Vector1.1.oxp, "../AddOns/weeviloid2-PC.oxp", ../AddOns/YOUR_AD_HERE.oxp, ../AddOns/YOUR_AD_HERE_set_A.oxp, ../AddOns/YOUR_AD_HERE_set_B.oxp, ../AddOns/YOUR_AD_HERE_set_C.oxp, ../AddOns/YOUR_AD_HERE_set_D.oxp, ../AddOns/YOUR_AD_HERE_set_E.oxp, ../AddOns/YOUR_AD_HERE_set_F.oxp, ../AddOns/YOUR_AD_HERE_Z.oxp, "../AddOns/Z - DebugReport.oxp", "../AddOns/Z - Personal Settings.oxp")
[dataCache.upToDate]: Data cache is up to date.
[script.debug.syntax.badComparison]: ***** SCRIPT ERROR: in assassins, unknown comparison operator 'less', will return NO.
[script.debug.syntax.badComparison]: ***** SCRIPT ERROR: in assassins, unknown comparison operator 'less', will return NO.
[jstest.loaded]: Script loaded.
[script.load.world.listAll]: Loaded 630 world scripts: "ams_system" 1.00, "Anarchies" 2.2, "aquatics_equipment" 1.1, "aquatics_populator" 1.0, "assassins", "auto ecm system" 1.00, "Behemoth-script01", "behemoth-spacewar" 1.2.1, "bigShips_populator" 1.0, "black_monks", "bolts", "Bounty Scanner" 1.04, "buoyRepair" 1.02, "Buy Player Stations" 1.0, "buzzer-wowbagger" 1.0, "Cargo_Wreck_Teaser", "casinoship_appearance", "casinoship_revisit", "clipperschedule" 1.1, "Combat Computers" 1.0, "CT_Script" 1.0, "deep_space_dredger" 2.2.2, "deep_space_pirates" 1.0, "dictatorship_population", "dredger_appearance", "Emergency Energy Unit" 1.2, "ExecutiveFlightSchedule", "free-trade-zone", "frog_show", "Fuel Collector" 0.06, "FuelStation-Setup" 1.12, "GalNavy" Build 0139, "generation-ship-script01", "hardpirates1", "hardpirates10", "hardpirates11", "hardpirates12", "hardpirates13", "hardpirates14", "hardpirates15", "hardpirates16", "hardpirates17", "hardpirates18", "hardpirates19", "hardpirates2", "hardpirates20", "hardpirates21", "hardpirates22", "hardpirates23", "hardpirates24", "hardpirates3", "hardpirates4", "hardpirates5", "hardpirates6", "hardpirates7", "hardpirates8", "hardpirates9", "hofd" GalNavy Build 118 / HOFD Build 55, "hoopy_casino", "hyperradio" 1.14, "INRAPatrols1", "INRAPatrols2", "interstellar_help" 2.0, "ixian_ships" 1.1, "JavaScript-test" 2.1, "LaveAcademy" 1.0.2b, "military_fiasco" 2.4.1, "misjump_analyser" 0.1, "missile_analyser" 1.1.1, "mission_taxi", "missionaries", "NavyPatrols1", "NavyPatrols2", "OO-Haul Escort" 1.60, "OoBay1", "OoBay2", "oolite-cloaking-device" 1.73, "oolite-constrictor-hunt" 1.73, "oolite-nova" 1.73, "oolite-thargoid-plans" 1.73, "oolite-trumbles" 1.73, "oreProcessor" 1.53, "OSE Script" 0.1, "OSEhiredGuns_system" 1.0, "Pi-Forty-Two Con stores" , "Pirate_Coves" 1.1, "PlanetFall" 1.2, "PlanetFall_Oohaul" 1.0.0, "PlanetFall_Taxi" 1.0.1, "PoliceTrap", "Random_Hits", "Reticle_target_sensitive and Galactic Hyperdrive Class 2 functions" 1.0, "rmb-chaff-setup-script.js" 1.0, "rockHermit_Locator" 1.3, "SalezaPatrol", "Sell Player Stations" 1.0, "sell_equipment" 1.1, "SIRFYardStations1", "SIRFYardStations2", "Stations_owned_income_AAA", "Stations_owned_income_AAB", "Stations_owned_income_AAC", "Stations_owned_income_AAD", "Stations_owned_income_AAE", "Stations_owned_income_AAF", "Stations_owned_income_AAG", "Stations_owned_income_AAH", "Stations_owned_income_ABA", "Stations_owned_income_ABB", "Stations_owned_income_ABC", "Stations_owned_income_ABD", "Stations_owned_income_ABE", "Stations_owned_income_ABF", "Stations_owned_income_ABG", "Stations_owned_income_ABH", "Stations_owned_income_BAA", "Stations_owned_income_BAB", "Stations_owned_income_BAC", "Stations_owned_income_BAD", "Stations_owned_income_BAE", "Stations_owned_income_BAF", "Stations_owned_income_BAG", "Stations_owned_income_BAH", "Stations_owned_income_BBA", "Stations_owned_income_BBB", "Stations_owned_income_BBC", "Stations_owned_income_BBD", "Stations_owned_income_BBE", "Stations_owned_income_BBF", "Stations_owned_income_BBG", "Stations_owned_income_BBH", "Stations_owned_income_CAA", "Stations_owned_income_CAB", "Stations_owned_income_CAC", "Stations_owned_income_CAD", "Stations_owned_income_CAE", "Stations_owned_income_CAF", "Stations_owned_income_CAG", "Stations_owned_income_CAH", "Stations_owned_income_CBA", "Stations_owned_income_CBB", "Stations_owned_income_CBC", "Stations_owned_income_CBD", "Stations_owned_income_CBE", "Stations_owned_income_CBF", "Stations_owned_income_CBG", "Stations_owned_income_CBH", "Stations_owned_income_DAA", "Stations_owned_income_DAB", "Stations_owned_income_DAC", "Stations_owned_income_DAD", "Stations_owned_income_DAE", "Stations_owned_income_DAF", "Stations_owned_income_DAG", "Stations_owned_income_DAH", "Stations_owned_income_DBA", "Stations_owned_income_DBB", "Stations_owned_income_DBC", "Stations_owned_income_DBD", "Stations_owned_income_DBE", "Stations_owned_income_DBF", "Stations_owned_income_DBG", "Stations_owned_income_DBH", "Stations_owned_income_EAA", "Stations_owned_income_EAB", "Stations_owned_income_EAC", "Stations_owned_income_EAD", "Stations_owned_income_EAE", "Stations_owned_income_EAF", "Stations_owned_income_EAG", "Stations_owned_income_EAH", "Stations_owned_income_EBA", "Stations_owned_income_EBB", "Stations_owned_income_EBC", "Stations_owned_income_EBD", "Stations_owned_income_EBE", "Stations_owned_income_EBF", "Stations_owned_income_EBG", "Stations_owned_income_EBH", "Stations_owned_income_FAA", "Stations_owned_income_FAB", "Stations_owned_income_FAC", "Stations_owned_income_FAD", "Stations_owned_income_FAE", "Stations_owned_income_FAF", "Stations_owned_income_FAG", "Stations_owned_income_FAH", "Stations_owned_income_FBA", "Stations_owned_income_FBB", "Stations_owned_income_FBC", "Stations_owned_income_FBD", "Stations_owned_income_FBE", "Stations_owned_income_FBF", "Stations_owned_income_FBG", "Stations_owned_income_FBH", "Stations_owned_income_GAA", "Stations_owned_income_GAB", "Stations_owned_income_GAC", "Stations_owned_income_GAD", "Stations_owned_income_GAE", "Stations_owned_income_GAF", "Stations_owned_income_GAG", "Stations_owned_income_GAH", "Stations_owned_income_GBA", "Stations_owned_income_GBB", "Stations_owned_income_GBC", "Stations_owned_income_GBD", "Stations_owned_income_GBE", "Stations_owned_income_GBF", "Stations_owned_income_GBG", "Stations_owned_income_GBH", "Stations_owned_income_HAA", "Stations_owned_income_HAB", "Stations_owned_income_HAC", "Stations_owned_income_HAD", "Stations_owned_income_HAE", "Stations_owned_income_HAF", "Stations_owned_income_HAG", "Stations_owned_income_HAH", "Stations_owned_income_HBA", "Stations_owned_income_HBB", "Stations_owned_income_HBC", "Stations_owned_income_HBD", "Stations_owned_income_HBE", "Stations_owned_income_HBF", "Stations_owned_income_HBG", "Stations_owned_income_HBH", "Stations_owned_income_IAA", "Stations_owned_income_IAB", "Stations_owned_income_IAC", "Stations_owned_income_IAD", "Stations_owned_income_IAE", "Stations_owned_income_IAF", "Stations_owned_income_IAG", "Stations_owned_income_IAH", "Stations_owned_income_IBA", "Stations_owned_income_IBB", "Stations_owned_income_IBC", "Stations_owned_income_IBD", "Stations_owned_income_IBE", "Stations_owned_income_IBF", "Stations_owned_income_IBG", "Stations_owned_income_IBH", "Stations_owned_income_JAA", "Stations_owned_income_JAB", "Stations_owned_income_JAC", "Stations_owned_income_JAD", "Stations_owned_income_JAE", "Stations_owned_income_JAF", "Stations_owned_income_JAG", "Stations_owned_income_JAH", "Stations_owned_income_JBA", "Stations_owned_income_JBB", "Stations_owned_income_JBC", "Stations_owned_income_JBD", "Stations_owned_income_JBE", "Stations_owned_income_JBF", "Stations_owned_income_JBG", "Stations_owned_income_JBH", "Stations_owned_income_KAA", "Stations_owned_income_KAB", "Stations_owned_income_KAC", "Stations_owned_income_KAD", "Stations_owned_income_KAE", "Stations_owned_income_KAF", "Stations_owned_income_KAG", "Stations_owned_income_KAH", "Stations_owned_income_KBA", "Stations_owned_income_KBB", "Stations_owned_income_KBC", "Stations_owned_income_KBD", "Stations_owned_income_KBE", "Stations_owned_income_KBF", "Stations_owned_income_KBG", "Stations_owned_income_KBH", "Stations_owned_income_LAA", "Stations_owned_income_LAB", "Stations_owned_income_LAC", "Stations_owned_income_LAD", "Stations_owned_income_LAE", "Stations_owned_income_LAF", "Stations_owned_income_LAG", "Stations_owned_income_LAH", "Stations_owned_income_LBA", "Stations_owned_income_LBB", "Stations_owned_income_LBC", "Stations_owned_income_LBD", "Stations_owned_income_LBE", "Stations_owned_income_LBF", "Stations_owned_income_LBG", "Stations_owned_income_LBH", "Stations_owned_legal_CAA", "Stations_owned_legal_CAB", "Stations_owned_legal_CAC", "Stations_owned_legal_CAD", "Stations_owned_legal_CAE", "Stations_owned_legal_CAF", "Stations_owned_legal_CAG", "Stations_owned_legal_CAH", "Stations_owned_legal_CBA", "Stations_owned_legal_CBB", "Stations_owned_legal_CBC", "Stations_owned_legal_CBD", "Stations_owned_legal_CBE", "Stations_owned_legal_CBF", "Stations_owned_legal_CBG", "Stations_owned_legal_CBH", "Stations_owned_legal_DAA", "Stations_owned_legal_DAB", "Stations_owned_legal_DAC", "Stations_owned_legal_DAD", "Stations_owned_legal_DAE", "Stations_owned_legal_DAF", "Stations_owned_legal_DAG", "Stations_owned_legal_DAH", "Stations_owned_legal_DBA", "Stations_owned_legal_DBB", "Stations_owned_legal_DBC", "Stations_owned_legal_DBD", "Stations_owned_legal_DBE", "Stations_owned_legal_DBF", "Stations_owned_legal_DBG", "Stations_owned_legal_DBH", "Stations_owned_legal_FAA", "Stations_owned_legal_FAB", "Stations_owned_legal_FAC", "Stations_owned_legal_FAD", "Stations_owned_legal_FAE", "Stations_owned_legal_FAF", "Stations_owned_legal_FAG", "Stations_owned_legal_FAH", "Stations_owned_legal_FBA", "Stations_owned_legal_FBB", "Stations_owned_legal_FBC", "Stations_owned_legal_FBD", "Stations_owned_legal_FBE", "Stations_owned_legal_FBF", "Stations_owned_legal_FBG", "Stations_owned_legal_FBH", "Stations_owned_legal_HAA", "Stations_owned_legal_HAB", "Stations_owned_legal_HAC", "Stations_owned_legal_HAD", "Stations_owned_legal_HAE", "Stations_owned_legal_HAF", "Stations_owned_legal_HAG", "Stations_owned_legal_HAH", "Stations_owned_legal_HBA", "Stations_owned_legal_HBB", "Stations_owned_legal_HBC", "Stations_owned_legal_HBD", "Stations_owned_legal_HBE", "Stations_owned_legal_HBF", "Stations_owned_legal_HBG", "Stations_owned_legal_HBH", "Stations_owned_legal_IAA", "Stations_owned_legal_IAB", "Stations_owned_legal_IAC", "Stations_owned_legal_IAD", "Stations_owned_legal_IAE", "Stations_owned_legal_IAF", "Stations_owned_legal_IAG", "Stations_owned_legal_IAH", "Stations_owned_legal_IBA", "Stations_owned_legal_IBB", "Stations_owned_legal_IBC", "Stations_owned_legal_IBD", "Stations_owned_legal_IBE", "Stations_owned_legal_IBF", "Stations_owned_legal_IBG", "Stations_owned_legal_IBH", "Stations_owned_legal_JAA", "Stations_owned_legal_JAB", "Stations_owned_legal_JAC", "Stations_owned_legal_JAD", "Stations_owned_legal_JAE", "Stations_owned_legal_JAF", "Stations_owned_legal_JAG", "Stations_owned_legal_JAH", "Stations_owned_legal_JBA", "Stations_owned_legal_JBB", "Stations_owned_legal_JBC", "Stations_owned_legal_JBD", "Stations_owned_legal_JBE", "Stations_owned_legal_JBF", "Stations_owned_legal_JBG", "Stations_owned_legal_JBH", "Stations_owned_legal_KAA", "Stations_owned_legal_KAB", "Stations_owned_legal_KAC", "Stations_owned_legal_KAD", "Stations_owned_legal_KAE", "Stations_owned_legal_KAF", "Stations_owned_legal_KAG", "Stations_owned_legal_KAH", "Stations_owned_legal_KBA", "Stations_owned_legal_KBB", "Stations_owned_legal_KBC", "Stations_owned_legal_KBD", "Stations_owned_legal_KBE", "Stations_owned_legal_KBF", "Stations_owned_legal_KBG", "Stations_owned_legal_KBH", "Stations_owned_legal_LAA", "Stations_owned_legal_LAB", "Stations_owned_legal_LAC", "Stations_owned_legal_LAD", "Stations_owned_legal_LAE", "Stations_owned_legal_LAF", "Stations_owned_legal_LAG", "Stations_owned_legal_LAH", "Stations_owned_legal_LBA", "Stations_owned_legal_LBB", "Stations_owned_legal_LBC", "Stations_owned_legal_LBD", "Stations_owned_legal_LBE", "Stations_owned_legal_LBF", "Stations_owned_legal_LBG", "Stations_owned_legal_LBH", "Stations_owned_show_AAA", "Stations_owned_show_AAB", "Stations_owned_show_AAC", "Stations_owned_show_AAD", "Stations_owned_show_AAE", "Stations_owned_show_AAF", "Stations_owned_show_AAG", "Stations_owned_show_AAH", "Stations_owned_show_ABA", "Stations_owned_show_ABB", "Stations_owned_show_ABC", "Stations_owned_show_ABD", "Stations_owned_show_ABE", "Stations_owned_show_ABF", "Stations_owned_show_ABG", "Stations_owned_show_ABH", "Stations_owned_show_BAA", "Stations_owned_show_BAB", "Stations_owned_show_BAC", "Stations_owned_show_BAD", "Stations_owned_show_BAE", "Stations_owned_show_BAF", "Stations_owned_show_BAG", "Stations_owned_show_BAH", "Stations_owned_show_BBA", "Stations_owned_show_BBB", "Stations_owned_show_BBC", "Stations_owned_show_BBD", "Stations_owned_show_BBE", "Stations_owned_show_BBF", "Stations_owned_show_BBG", "Stations_owned_show_BBH", "Stations_owned_show_CAA", "Stations_owned_show_CAB", "Stations_owned_show_CAC", "Stations_owned_show_CAD", "Stations_owned_show_CAE", "Stations_owned_show_CAF", "Stations_owned_show_CAG", "Stations_owned_show_CAH", "Stations_owned_show_CBA", "Stations_owned_show_CBB", "Stations_owned_show_CBC", "Stations_owned_show_CBD", "Stations_owned_show_CBE", "Stations_owned_show_CBF", "Stations_owned_show_CBG", "Stations_owned_show_CBH", "Stations_owned_show_DAA", "Stations_owned_show_DAB", "Stations_owned_show_DAC", "Stations_owned_show_DAD", "Stations_owned_show_DAE", "Stations_owned_show_DAF", "Stations_owned_show_DAG", "Stations_owned_show_DAH", "Stations_owned_show_DBA", "Stations_owned_show_DBB", "Stations_owned_show_DBC", "Stations_owned_show_DBD", "Stations_owned_show_DBE", "Stations_owned_show_DBF", "Stations_owned_show_DBG", "Stations_owned_show_DBH", "Stations_owned_show_EAA", "Stations_owned_show_EAB", "Stations_owned_show_EAC", "Stations_owned_show_EAD", "Stations_owned_show_EAE", "Stations_owned_show_EAF", "Stations_owned_show_EAG", "Stations_owned_show_EAH", "Stations_owned_show_EBA", "Stations_owned_show_EBB", "Stations_owned_show_EBC", "Stations_owned_show_EBD", "Stations_owned_show_EBE", "Stations_owned_show_EBF", "Stations_owned_show_EBG", "Stations_owned_show_EBH", "Stations_owned_show_FAA", "Stations_owned_show_FAB", "Stations_owned_show_FAC", "Stations_owned_show_FAD", "Stations_owned_show_FAE", "Stations_owned_show_FAF", "Stations_owned_show_FAG", "Stations_owned_show_FAH", "Stations_owned_show_FBA", "Stations_owned_show_FBB", "Stations_owned_show_FBC", "Stations_owned_show_FBD", "Stations_owned_show_FBE", "Stations_owned_show_FBF", "Stations_owned_show_FBG", "Stations_owned_show_FBH", "Stations_owned_show_GAA", "Stations_owned_show_GAB", "Stations_owned_show_GAC", "Stations_owned_show_GAD", "Stations_owned_show_GAE", "Stations_owned_show_GAF", "Stations_owned_show_GAG", "Stations_owned_show_GAH", "Stations_owned_show_GBA", "Stations_owned_show_GBB", "Stations_owned_show_GBC", "Stations_owned_show_GBD", "Stations_owned_show_GBE", "Stations_owned_show_GBF", "Stations_owned_show_GBG", "Stations_owned_show_GBH", "Stations_owned_show_HAA", "Stations_owned_show_HAB", "Stations_owned_show_HAC", "Stations_owned_show_HAD", "Stations_owned_show_HAE", "Stations_owned_show_HAF", "Stations_owned_show_HAG", "Stations_owned_show_HAH", "Stations_owned_show_HBA", "Stations_owned_show_HBB", "Stations_owned_show_HBC", "Stations_owned_show_HBD", "Stations_owned_show_HBE", "Stations_owned_show_HBF", "Stations_owned_show_HBG", "Stations_owned_show_HBH", "Stations_owned_show_IAA", "Stations_owned_show_IAB", "Stations_owned_show_IAC", "Stations_owned_show_IAD", "Stations_owned_show_IAE", "Stations_owned_show_IAF", "Stations_owned_show_IAG", "Stations_owned_show_IAH", "Stations_owned_show_IBA", "Stations_owned_show_IBB", "Stations_owned_show_IBC", "Stations_owned_show_IBD", "Stations_owned_show_IBE", "Stations_owned_show_IBF", "Stations_owned_show_IBG", "Stations_owned_show_IBH", "Stations_owned_show_JAA", "Stations_owned_show_JAB", "Stations_owned_show_JAC", "Stations_owned_show_JAD", "Stations_owned_show_JAE", "Stations_owned_show_JAF", "Stations_owned_show_JAG", "Stations_owned_show_JAH", "Stations_owned_show_JBA", "Stations_owned_show_JBB", "Stations_owned_show_JBC", "Stations_owned_show_JBD", "Stations_owned_show_JBE", "Stations_owned_show_JBF", "Stations_owned_show_JBG", "Stations_owned_show_JBH", "Stations_owned_show_KAA", "Stations_owned_show_KAB", "Stations_owned_show_KAC", "Stations_owned_show_KAD", "Stations_owned_show_KAE", "Stations_owned_show_KAF", "Stations_owned_show_KAG", "Stations_owned_show_KAH", "Stations_owned_show_KBA", "Stations_owned_show_KBB", "Stations_owned_show_KBC", "Stations_owned_show_KBD", "Stations_owned_show_KBE", "Stations_owned_show_KBF", "Stations_owned_show_KBG", "Stations_owned_show_KBH", "Stations_owned_show_LAA", "Stations_owned_show_LAB", "Stations_owned_show_LAC", "Stations_owned_show_LAD", "Stations_owned_show_LAE", "Stations_owned_show_LAF", "Stations_owned_show_LAG", "Stations_owned_show_LAH", "Stations_owned_show_LBA", "Stations_owned_show_LBB", "Stations_owned_show_LBC", "Stations_owned_show_LBD", "Stations_owned_show_LBE", "Stations_owned_show_LBF", "Stations_owned_show_LBG", "Stations_owned_show_LBH", "supercobra_placement", "Switch reticle_target_sensitive and Galactic Hyperdrive Class 2 functions off" 1.0, "System Redux 1.1 beta" 1.1, "taxi_cab_traffic", "taxi_station_placement", "Test", "thargoid_wars", "Thargorn_Witchspace_Battle" 1.3.1, "TigersTurf" 0.52b, "Transfer Shuttle Script" 0.1, "transportSchedule" 2.46, "tuggerschedule", "ups_container" 1.5.3, "ups_docs" 1.5.3, "ups_parcel" 1.5.3, "ups_slaves" 1.5.3, "ups_sun" 1.5.3, "vector" 1.2, "Welcome Information Script" 0.7
[jstest.startUp]: Script startUp called.
[jstest.oolite.versionString]: Oolite version: 1.73
[dataCache.willWrite]: About to write data cache.
[dataCache.write.success]: Wrote data cache.
[jstest.alert]: Player alert condition changed to docked (clear)
[jstest.reset]: Script reset called.
[playerBoughtEquipment]: Player has bought equipment: EQ_SHUTTLE
[gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2009-08-29 22:49:55 +0200.
You can see that Oolite has registered the bought equipment, it also shows on the equipment screen and works ingame. But then, next time I reload the savegame, the Transfer Shuttle I bought is gone.

And this while in the savegame I even find the entry:
<key>EQ_SHUTTLE</key>
<true/>
:shock:

Happened under trunk I think version 2305.

Any ideas?

:? (again)

L

Even weirder: An older savegame where I bought that same equipment works ... ? But the same entry in the savegame?!?
Last edited by Lestradae on Sat Aug 29, 2009 11:45 pm, edited 2 times in total.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

Traced the vanishing equipment bug further.

The equipment that stays in the savegame and keeps working is from an earlier revision of the trunk. To be sure, I even updated the trunk to the newest version and tested again.

The EQ_SHUTTLE is defined as standard for some ships, and this worked when I tested it first. Now, if I buy one of these ships, the item isn't there. I can buy one, fly around with it, it works, and if I save the game, it is also remarked in the savegame file! But if I reload, the item is gone again from the F5 screen and has also stopped working (I checked even that!).

The older save game has no other entry than the newer ones, but this ship keeps its shuttle!

I didn't change anything about that in OSE, so I have to assume that somewhen after revision 2305 some bug was introduced into the trunk that concerns equipment.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Stupid question, but weren't you going to change the name of the equipment from EQ_SHUTTLE to EQ_LES_SHUTTLE

Maybe there's a snafu related to the changed name on loading the save game..
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

No Kaks, nothing was changed in OSE, including the EQ_SHUTTLE name.

There is even the same entry in the savegames! It's weird.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

So, I am a bit wiser after diverse experiments, and have traced the bug further down. It must be a trunk bug in Oolite (probably introduced rev. ~ 2305-2320).

The line:

Code: Select all

<key>requires_cargo_space</key>
<integer>600</integer>
... in equipment.plist is not working as intended.

It should, according to the wiki and also past experience, make an item only appear when the ship in question has at least 600 tons of cargo capacity. This capacity isn't really used up, but I utilise this line to ensure that only ships beyond a certain size get this equipment.

Whatever "600" i.e. does internally, it translates into a much higher number.

When I let everything as it is, but change that number to a much smaller one everything works as intended again and also the "vanishing equipment" reappears (!) when I load the savegames which didn't show it after reloading the game before.

I experimented with such small condition numbers that the Jameson Cobra III would be able to get the equipment offered, it worked with "6".

The ships with the "disappearing equipment" had cargo bays of 900 and 1000 tons, the one ship where it worked before had 2000 tons (Dredger).

In other words: The number under "requires_cargo_space" is checked with a double or triple amount than intended.

The above should make it possible to find the bug in trunk I suppose.

Good n8

L
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

requires_cargo_space is relative to free space, not capacity.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Hi Ahruman,

feels a bit weird to contradict you on this, but I tested it and no, that's not how it works :(

If I set the "requires_cargo_space" value to 600, the following things happen:

1) Ships which have a lot more than 600 tons of cargo capacity can buy the equipment

2) Ships which have a lot more than 600 tons of cargo capacity but a lot less than 600 tons of free cargo capacity can still buy the equipment

3) Ships which are in the span of 600 - 1200 can't buy the equipment

4) Even if I stuff the equipment onto a ship nevertheless by making it standard in the ship's shipyard.plist or hacking it into the savegame file, ships which are in the span of 600 - 1200 don't show the equipment on the F5 screen and don't use it. If I lower the value to 200 (did that), the equipment suddenly reappears and also does what it should!

5) Ships which's free cargo is lowered far below 600 which have and show the equipment, are saved and reloaded from the savegame keep the equipment shown and it also works - so it does not seem to depend on free cargospace either

Conclusion:

"requires_cargo_space" is relative to capacity, not free space! And in whatever unit the equipment.plist value is supposed to be, its not tons, but in the region of ca. 2-3 tons.

I have provided a test case for you to play around with the numbers and convince yourself:

http://www.box.net/shared/static/e37og0ntx6.zip

... hope the culprit can be found.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Bug is confirmed, will be fixed in 1.73.1.
Post Reply