The Oolite Extended Project - Fork, no oxp

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Drew, can you try it with detailed planets set to off? Can you also see if there is any stderr.txt left in the oolite.app folder after a crash and post its contents, in case it is bigger than 0 bytes? Would it be possible to also see a log after a restart with Shift held down?
Last edited by another_commander on Sun Sep 27, 2009 10:55 am, edited 1 time in total.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Quick question, what ship are you flying?

One thing I've noticed is if a player ship has a script associated with it (script = "<whatever>.js"; key in shipdata.plist) then that causes a desktop moment immediately on launching. Not normally a problem, unless the player ship is made with a like_ship to an NPC ship with such a script, when things could go wibble.

It's under discussion with A_C at the moment about the cause/fix for this unusual glitch, but it may be of note here?
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Tried with textured planets off - still crashes.

No stderr text is generated.

I'll see if I can pick up a new log file...

Ship was the original Cobra Mk3 you get as 'Jameson'.

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Thargoid wrote:

One thing I've noticed is if a player ship has a script associated with it (script = "<whatever>.js"; key in shipdata.plist) then that causes a desktop moment immediately on launching. Not normally a problem, unless the player ship is made with a like_ship to an NPC ship with such a script, when things could go wibble.

It's under discussion with A_C at the moment about the cause/fix for this unusual glitch, but it may be of note here?
I think that this could be a very vaild reason for the problems we are seeing. For what is worth, I just commited a fix for this type of crash to both trunk and maintenance and I have already run a few tests which indicate that scripts can now be defined in shipdata and run also for the player ship.
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 »

Hm, OK; I can't replicate drew's crash at launching from the main station.

I do have strange crashes to desktop under 1.73.4 - no entry in the log, too, no stderr text, but it seems to happen a lot when I enter either the station aegis or the planets jumpdrive block area. There is no drop in FPS before the crash - Oolite uses up perhaps 900MB RAM now on my system after you devs fixed the diverse memoryeaters (flashers, etc.) No idea if that sort of crash of mine could be related to drew's.

Concerning the ship script theory: I had a quick look (you know, the shipdata.plist of OSE is already huge, 145000 lines of code) and I am 99% sure that there are no ship scripts that get like_ship'ped from NPC to player.

But, there are ship scripts that get like_ship'ped the other way around from player ships that are used to define NPCs "in the second row". Could this be the problem? They are OSE navy ships intended for Galactic Navy use, and can appear in most systems.

Concerning fixing ship script crashes, I assume that you have thought of that anyways, but I guess it doesn't hurt if I mention if this gets fixed for shipdata-overrides.plists also?

:?

L
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Here's my log file from the crash after a start with the shift key pressed - happens every time with OSE installed exactly at the same point. Stick with Mr. Jameson and launch from the station - crash.

Another_Commander - the link you provided doesn't appear to be working.. :?

Log file not very revealing I'm afraid.
[log.header]: Opening log for Oolite version 1.73.4 (x86-32 test release) under Windows at 2009-09-27 18:40:04 +0100.
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: 1920 x 1200
[rendering.opengl.version]: OpenGL renderer version: 2.1.2 ("2.1.2")
Vendor: NVIDIA Corporation
Renderer: GeForce 8600M GT/PCI/SSE2
[rendering.opengl.extensions]: OpenGL extensions (146):
GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging 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_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_transpose_matrix 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_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_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_shared_exponent GL_EXT_timer_query GL_EXT_vertex_array 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_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_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 - Oolite Shipyards Extension WiP V0.69.oxp")
[dataCache.rebuild.explicitFlush]: Cache explicitly flushed with shift key. Rebuilding from scratch.
[shipData.load.begin]: Loading ship data...
[shipData.load.shipyard.unknown]: ----- WARNING: the shipyard.plist entry "lestradae3-navycondor" does not have a corresponding shipdata.plist entry, ignoring.
[script.load.world.listAll]: Loaded 591 world scripts: "ams_system" 1.1, "auto ecm system" 1.00, "Behemoth-script01", "bigShips_populator" 1.0.2, "Bounty Scanner" 1.04, "Buy Player Stations" 1.0, "buzzer-wowbagger" 1.0, "casinoship_appearance", "casinoship_revisit", "clipperschedule" 1.1, "Combat Computers" 1.0, "CT_Script" 1.0, "deep_space_pirates" 1.0, "dredger_appearance", "Emergency Energy Unit" 1.2, "ExecutiveFlightSchedule", "free-trade-zone", "frog_show", "Fuel Collector" 0.06, "FuelStation-Setup" 1.21, "hardpirates1", "hardpirates10", "hardpirates11", "hardpirates12", "hardpirates13", "hardpirates14", "hardpirates15", "hardpirates16", "hardpirates17", "hardpirates18", "hardpirates19", "hardpirates2", "hardpirates20", "hardpirates21", "hardpirates22", "hardpirates23", "hardpirates24", "hardpirates3", "hardpirates4", "hardpirates5", "hardpirates6", "hardpirates7", "hardpirates8", "hardpirates9", "hoopy_casino", "hyperradio" 1.16, "INRAPatrols1", "INRAPatrols2", "ixian_ships" 1.1, "misjump_analyser" 0.2, "missile_analyser" 1.1.1, "missionaries", "NavyPatrols1", "NavyPatrols2", "OoBay1", "OoBay2", "oolite-cloaking-device" 1.73.4, "oolite-constrictor-hunt" 1.73.4, "oolite-nova" 1.73.4, "oolite-thargoid-plans" 1.73.4, "oolite-trumbles" 1.73.4, "oreProcessor" 1.53, "OSE Script" 0.1, "OSEhiredGuns_system" 1.0, "pimpmysystem", "Pirate_Coves" 1.2.1, "Reticle_target_sensitive and Galactic Hyperdrive Class 2 functions" 1.0, "rmb-chaff-setup-script.js" 1.0, "rockHermit_Locator" 1.3.1, "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, "TigersTurf" 0.52b, "Transfer Shuttle Script" 0.1, "Welcome Information Script" 0.7
[dataCache.willWrite]: About to write data cache.
[dataCache.write.success]: Wrote data cache.
[bigShips_populator]: 0 big trader(s) added to the Lave system.
[Fuel Collector]: Number of globes is 1
Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
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

player stations

Post by Lestradae »

As I have been getting questions about the proper function of player stations, here a short overview of how it's supposed to work (and how it does work without any hiccups on my system). Makes sense to say so that if something goes wrong, it is actually recognised.

Player stations are supposed to work like this:

1) You see player stations for sale on your equipment screen. They tell you the station's type, the system it will be in, the galactic sector, the income it will presumably generate per witchjump and if there are any legal consequences in owning it :twisted:

2) You click on the line with the station you want to buy. Sometimes, you have to do that more than once, this seems to have to do with the amount of oxps besides OSE you have in. Don't be afraid to click often, you won't get multiple stations that way :P

3) You will see a screen on which there is a little message a la "Your credits have been transferred bla bla and the "X" stations AI is now yours" and a picture of your station should rotate on the screen

4) Out of the "station bought" screen, on your "missions" screen now a line should appear saying "You own an X station in system Y in galactic sector Z. Income per WJ: AAAAA Cr"

5) On the equipment screen, a message will now appear saying "Sell your X station - system Y, galactic sector Z". You can re-sell any station you own for 95% of its buying price.

6) If you do a witchjump, the amount of credits it said in the equipment screen and says on your missions screen should be transferred to your account at arrival. (If you own multiple stations, the sum total of all their incomes should arrive) You will not get additional screen messages or somesuch. Your credits will simply rise the amount.

7) If you fly to a system one of your stations is in, it will really be there. It will show as "P" on the advanced compass. It will be named "My X station". Inside, you will get very special deals (as it is assumed you own the damn thing already, you won't have to pay for any commodities there, and equipment will be at 50% normal price, enabling you to trade with equipment in the case of i.e. a SIRFYard)

Eight) If you want to sell a station you own, simply click on the selling option on your equipment screen. This one is not random and you will always get it when you own a station. A screen similar to the buying screen will be opened where you see your ex-station rotating and a message that you sold it. 95% of the buy price are put back onto your credits balance.

9) The message on your mission screen "You own station XYZ" will be gone after that.

Have fun (and report back to me if any of the above does not work as stated above on your system)

L
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Re: player stations

Post by Screet »

Lestradae wrote:
As I have been getting questions about the proper function of player stations, here a short overview of how it's supposed to work (and how it does work without any hiccups on my system).
For my part, I bought the station and it did show up on the equipment screen instead of the mission screen. I also do not remember that spinning station.

I changed my savefile by removing the station equipment and giving the credits back, then bought it anew and everything works now.

Might be that during my tests I missed a rebuild cache once after re-enabling the scripts, thus the proper processing of the bought station was not happening and wasn't being done later one when the scripts were running again.

Screet
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 »

Good to know that it works now!

Screet, you mentioned the possible problem if a player station stays yours when buying a new ship. I would say it should, as the pseudo equipment is removed after buying the station and a mission variable is saved in the savegame that says "these stations are player-owned".

As everything is derived from these mission variables, theoretically your stations should stay your stations however often you change ship.

If it pleases you, would you test if that works, Screet? I am also very interested if the player stations are always where they should be when you actually go there and also give you everything free or super-cheap in the case of equipment, as intended ...

:D

L
pmw57
---- E L I T E ----
---- E L I T E ----
Posts: 389
Joined: Sat Sep 26, 2009 2:14 pm
Location: Christchurch, New Zealand

Post by pmw57 »

I've just gone through my archived OXPs weeding out the ones used by OSE, and as well have taken out what I think are all of the existing in-game OXPs that would conflict.

Here's an idea. Is there some way that the player can be notified when a known OXP is used that would conflict with OSE?

I'm thinking of one of the following:
[*]for OSE to check if an OXP already exists and provides a warning
[*]for OSE to register with the game its interest in a certain area, so that anything else that sets up in the same area gets notified to the player

For either of these situations, it would be excellent if the player can be notified about a possible conflict.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

It's not always possible to detect the presence of another OXP. Newer ones that use JS scripts can be checked for, but older ones that use legacy are more difficult. And of course those which don't use scripts at all will be even more difficult, if not impossible without all sorts of messy things like trying to spawn ships and catching errors.

And using mission variables etc is not reliable, as these persist in save game files after OXPs are uninstalled.
pmw57
---- E L I T E ----
---- E L I T E ----
Posts: 389
Joined: Sat Sep 26, 2009 2:14 pm
Location: Christchurch, New Zealand

Post by pmw57 »

Thargoid wrote:
It's not always possible to detect the presence of another OXP. Newer ones that use JS scripts can be checked for, but older ones that use legacy are more difficult. And of course those which don't use scripts at all will be even more difficult, if not impossible without all sorts of messy things like trying to spawn ships and catching errors.

And using mission variables etc is not reliable, as these persist in save game files after OXPs are uninstalled.
My intention is to let the game know that you (the OXP) is interested in a certain area. If that area is already taken then the game can let the player know, or place a log entry of some kind.

If something else takes that area then the same kind of player notification/log entry can occur.

That way nothing gets added to save games, and some kind of unique signatures that another OXP creates can be watched for if it will conflict with yours.

I wouldn't see this as a feature to be implemented immediately, but it could be one to consider as the opportunity for OXP conflicts grows.

Edit: managing namespaces, queueing and so forth, are interesting aspects of OO design. Especially when allowing others to play in the same sandpit.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Thargoid wrote:
It's not always possible to detect the presence of another OXP. Newer ones that use JS scripts can be checked for, but older ones that use legacy are more difficult.
Legacy scripts can not be checked by version at all. Only excluding by name would be wrong as an update of that oxp could have fixed the incompatibility.
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 guys!
Eric Walch wrote:
Only excluding by name would be wrong as an update of that oxp could have fixed the incompatibility.
pmw57 wrote:
I've just gone through my archived OXPs weeding out the ones used by OSE, and as well have taken out what I think are all of the existing in-game OXPs that would conflict.
Well, you don't need to weed out any but those listed.

The listed oxps aren't incompatible because there is something at all wrong with them or because there are any incompatibilities as such, but because they have already been included into the OSE WiP, they are already in there - and you would have a double-install of them if they were used together with OSE! :D

Any other oxps in existence are, as far as I know, compatible with OSE V0.69. All of them. So no need to take anything else out because of it.

Hope I cleared this up 8)

L
pmw57
---- E L I T E ----
---- E L I T E ----
Posts: 389
Joined: Sat Sep 26, 2009 2:14 pm
Location: Christchurch, New Zealand

Re: ..

Post by pmw57 »

Lestradae wrote:
The listed oxps aren't incompatible because there is something at all wrong with them or because there are any incompatibilities as such, but because they have already been included into the OSE WiP, they are already in there - and you would have a double-install of them if they were used together with OSE! :D

Any other oxps in existence are, as far as I know, compatible with OSE V0.69. All of them. So no need to take anything else out because of it.

Hope I cleared this up 8)
Yes thanks, that's nice and clear. It's just such a long list is all.

I can see that some way to help automate that part of the install would be useful For example, something like a setup.bat file for windows that checks for known conflicting OXP folders and asks your permission to delete them.

I could come up with that for windows machines if you would make good use of it.
A trumble a day keeps the doctor away, and the tax man;
even the Grim Reaper keeps his distance.
-- Paul Wilkins
Post Reply