Page 2 of 5

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 11:58 am
by cim
JazHaz wrote:
Here are my answers to the questions above, in order.:
Thanks for testing. I'll have a look at your suggestion in '3' - should be possible to do something like that with the contract list (and there'll be some useful side benefits for mission screen writers, too)
JazHaz wrote:
4) The map and text provided would be sufficient, but only if BGS was supported. In the test the BGS background that shows the routes doesn't work. See this screengrab.
Just to check, your Advanced Navigational Array is installed and working? That looks like the view without one. With one, it should look like this screenshot.
JazHaz wrote:
5) I'm not sure what the changes are.
With the Advanced Nav Array active, the distance and time to destination readouts have been compacted a bit, to fit on a single line below the chart, so that there's more room for the contract description and options. See above screenshot.
Disembodied wrote:
A purely cosmetic request this one: would it be possible to convert long travel times (say, more than 48 hours) into "days + hours"
Possible, yes. I decided not to initially, since the ANA readout for journey time is in hours, and I think it makes it easier to compare the two if they're in the same units.

I could make the ANA readout use days+hours, but then it probably wouldn't fit on one line, which makes using the LRC as a mission screen backdrop much harder (it already takes up 16).

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 12:01 pm
by Cody
cim wrote:
I could make the ANA readout use days+hours
Please don't... I prefer it as is.

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 12:03 pm
by Disembodied
cim wrote:
Disembodied wrote:
A purely cosmetic request this one: would it be possible to convert long travel times (say, more than 48 hours) into "days + hours"
Possible, yes. I decided not to initially, since the ANA readout for journey time is in hours, and I think it makes it easier to compare the two if they're in the same units.

I could make the ANA readout use days+hours, but then it probably wouldn't fit on one line, which makes using the LRC as a mission screen backdrop much harder (it already takes up 16).
Fair enough - I'm happy for it to remain as it is. I should just try to get better at dividing numbers in my head, anyway!

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 12:17 pm
by JazHaz
cim wrote:
JazHaz wrote:
4) The map and text provided would be sufficient, but only if BGS was supported. In the test the BGS background that shows the routes doesn't work. See this screengrab.
Just to check, your Advanced Navigational Array is installed and working? That looks like the view without one. With one, it should look like this screenshot.
Ah, of course. I just tested with a Jameson.
cim wrote:
JazHaz wrote:
5) I'm not sure what the changes are.
With the Advanced Nav Array active, the distance and time to destination readouts have been compacted a bit, to fit on a single line below the chart, so that there's more room for the contract description and options. See above screenshot.
Yes, that looks fine to me.

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 5:34 pm
by Rese249er
cim wrote:
Strange. I can't get it to do anything odd here. Do you mean a gap in the route, where the yellow path had a break in it, or some other sort of gap.

It's using exactly the same drawing routines as holding down '^' on the long range chart does, so it should just work... (which may mean you can duplicate it by manually drawing routes to that area, perhaps, or it may be a consequence of using it as a mission screen backdrop)
Actually, it was a break in the blue line.

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 7:09 pm
by cim
Rese249er wrote:
Actually, it was a break in the blue line.
I checked them, too. :( How big a break - just one system, or a whole set? Where was the break on the route - near the end in the SW corner, or somewhere else?

Re: Alternative Contracts Interface

Posted: Sat Sep 08, 2012 7:24 pm
by Rese249er
Just a gap between two systems, only affecting the route drawn. The actual route was still obvious, but I figured you'd wanna know about the gap.

Re: Alternative Contracts Interface

Posted: Sun Sep 09, 2012 9:42 am
by cim
Another update, mainly from JazHaz's suggestions. Again, needs a cutting-edge nightly build.
Image
and a couple of screenshots for people who don't want to mess around with potentially unstable builds
Image

Rese249er: I've still not been able to duplicate the gap problem here. If it happens again, can you make a note of the exact systems involved?

Re: Alternative Contracts Interface

Posted: Sun Sep 30, 2012 11:28 pm
by Tricky
I'm getting this in the debug console when I force a misjump into interstellar space...

Code: Select all

Exception: TypeError: system.mainStation is null
    Active script: oolite-contracts-parcels 1.77
    oolite-contracts-parcels.js, line 193:

system.mainStation.setInterface("oolite-contracts-parcels",null);
Using revision 5387 of the trunk.

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 6:40 am
by cim
I thought I fixed that in r5345. Could you make sure the OXP cache is clear and confirm it still happens then, please?

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 7:23 am
by JensAyton
cim wrote:
I thought I fixed that in r5345. Could you make sure the OXP cache is clear and confirm it still happens then, please?
Tip: when changing built-in data files and scripts, bump kFormatVersionValue in OOCacheManager.m to force a rebuild. Mind you, I did in r5363, so it should be impossible for the cache to carry over from pre-r5345 to r5387.

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 12:26 pm
by Tricky
Still happens with r5390.

I have "always-flush-cache" = YES; set in .GNUstepDefaults

Code: Select all

Opening log for Oolite development version 1.77.0.5390 (x86-32 test release) under Windows at 2012-10-01 13:21:48 +0100.
2 processors detected.
Build options: spoken messages, mass/fuel pricing, heavy OpenGL error checking, JavaScript console support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

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

13:21:48.299 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch.
13:21:49.875 [display.mode.list]: CREATING MODE LIST
13:21:49.875 [display.mode.list.native]: Windows native resolution detected: 1440 x 900
13:21:49.875 [display.mode.list]: Added res 1280 x 720
13:21:49.875 [display.mode.list]: Added res 1152 x 864
13:21:49.875 [display.mode.list]: Added res 1024 x 768
13:21:49.875 [display.mode.list]: Added res 800 x 600
13:21:49.875 [display.mode.list]: Added res 720 x 576
13:21:49.875 [display.mode.list]: Added res 720 x 480
13:21:49.875 [display.mode.list]: Added res 640 x 480
13:21:49.875 [display.mode.found]: Found mode {Height = 900; RefreshRate = 0; Width = 1440; }
13:21:50.451 [joystick.init]: Number of joysticks detected: 0
13:21:50.451 [rendering.opengl.version]: OpenGL renderer version: 3.2.0 ("3.2.0"). Vendor: "NVIDIA Corporation". Renderer: "GeForce 8600M GS/PCI/SSE2".
13:21:50.452 [rendering.opengl.extensions]: OpenGL extensions (180):
GL_ATI_texture_mirror_once, GL_ARB_framebuffer_sRGB, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_gpu_program4, GL_ARB_depth_texture, GL_ARB_texture_env_add, GL_NV_texture_barrier, GL_EXT_pixel_buffer_object, GL_NV_vertex_array_range, GL_EXT_depth_bounds_test, GL_ARB_draw_instanced, GL_EXT_texture_compression_rgtc, GL_ARB_half_float_vertex, GL_NV_vertex_program2, GL_EXT_texture3D, GL_NV_vertex_program3, GL_EXT_compiled_vertex_array, GL_NV_vertex_program1_1, GL_EXT_texture_shared_exponent, GL_EXT_separate_specular_color, GL_ARB_framebuffer_object, GL_EXT_shadow_funcs, GL_NV_vertex_buffer_unified_memory, GL_NV_copy_image, GL_EXT_texture_cube_map, GL_EXT_rescale_normal, GL_ATI_draw_buffers, GL_ARB_transpose_matrix, GL_EXT_stencil_two_side, GL_ARB_texture_compression_rgtc, GL_ARB_texture_border_clamp, GL_ARB_multisample, GL_ARB_half_float_pixel, GL_NV_fog_distance, GL_ARB_texture_non_power_of_two, GL_EXT_bgra, GL_ARB_sync, GL_EXT_texture_env_dot3, GL_EXT_direct_state_access, GL_NV_light_max_exponent, GL_EXT_provoking_vertex, GL_ARB_compatibility, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_ARB_map_buffer_range, GL_SGIX_depth_texture, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_vertex_program, GL_NV_framebuffer_multisample_coverage, GL_KTX_buffer_region, GL_EXT_framebuffer_sRGB, GL_NV_texture_env_combine4, GL_ARB_texture_float, GL_ARB_imaging, GL_NV_register_combiners, GL_ARB_fragment_coord_conventions, GL_NV_multisample_filter_hint, GL_EXT_stencil_wrap, GL_EXT_bindable_uniform, GL_EXT_texture_swizzle, GL_NV_primitive_restart, GL_EXT_framebuffer_blit, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_NV_packed_depth_stencil, GL_NV_multisample_coverage, GL_ARB_texture_compression, GL_EXT_blend_color, GL_ARB_vertex_array_object, GL_EXT_blend_minmax, GL_NV_register_combiners2, GL_EXT_texture_integer, GL_EXT_gpu_shader4, GL_SUN_slice_accum, GL_EXT_texture_lod, GL_EXT_texture_compression_s3tc, GL_ARB_point_sprite, GL_ARB_depth_clamp, GL_NV_parameter_buffer_object, GL_NV_texture_shader, GL_NV_depth_clamp, GL_EXT_vertex_array, GL_EXT_abgr, GL_NV_transform_feedback, GL_NV_blend_square, GL_ARB_vertex_buffer_object, GL_EXT_framebuffer_multisample, GL_NV_texture_rectangle, GL_NV_conditional_render, GL_ARB_multitexture, GL_EXT_vertex_array_bgra, GL_ARB_seamless_cube_map, GL_ARB_copy_buffer, GL_NV_depth_buffer_float, GL_ARB_draw_elements_base_vertex, GL_ARB_geometry_shader4, GL_ARB_shadow, GL_EXT_draw_instanced, GL_EXT_blend_subtract, GL_EXT_separate_shader_objects, GL_ARB_fragment_program_shadow, GL_NV_fragment_program_option, GL_ARB_window_pos, GL_NV_fence, GL_IBM_texture_mirrored_repeat, GL_EXT_texture_lod_bias, GL_ARB_texture_multisample, WGL_EXT_swap_control, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_NV_fragment_program2, GL_ARB_depth_buffer_float, GL_NV_float_buffer, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_ARB_texture_rg, GL_EXT_texture_sRGB, GL_ARB_texture_env_combine, GL_WIN_swap_hint, GL_ARB_fragment_program, GL_EXT_packed_float, GL_SGIX_shadow, GL_EXT_texture_filter_anisotropic, GL_NV_vertex_program2_option, GL_NV_vertex_array_range2, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_EXT_texture_buffer_object, GL_NV_pixel_data_range, GL_EXT_packed_depth_stencil, GL_ARB_texture_rectangle, GL_NVX_gpu_memory_info, GL_EXT_geometry_shader4, GL_EXT_fog_coord, GL_NV_half_float, GL_NV_geometry_shader4, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_NV_parameter_buffer_object2, GL_ARB_fragment_shader, GL_ARB_shading_language_100, GL_EXT_secondary_color, GL_NV_occlusion_query, GL_EXT_point_parameters, GL_EXT_Cg_shader, GL_NV_vertex_program, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_NV_copy_depth_to_color, GL_EXT_draw_buffers2, GL_NVX_conditional_render, GL_NV_texture_compression_vtc, GL_NV_explicit_multisample, GL_EXT_blend_func_separate, GL_NV_fragment_program, GL_ARB_texture_cube_map, GL_ARB_texture_buffer_object, GL_EXT_texture_array, GL_S3_s3tc, GL_NV_point_sprite, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXTX_framebuffer_mixed_formats, GL_EXT_packed_pixels, GL_EXT_framebuffer_object, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_EXT_texture_compression_latc, GL_ARB_provoking_vertex, GL_EXT_blend_equation_separate, GL_NV_texture_expand_normal, GL_ATI_texture_float, GL_ARB_color_buffer_float, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_NV_shader_buffer_load
13:21:50.462 [rendering.opengl.shader.support]: Shaders are supported.
13:21:50.533 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with always-flush-cache preference. Rebuilding from scratch.
13:21:50.534 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
    Resources
    ../AddOns
    ../AddOns/Basic-debug.oxp
    ../AddOns/Cabal_Common_Library1.6.1_r95.oxp
    ../AddOns/Griff.oxp
    ../AddOns/Griff.oxp/Griff_Shipset_Replace_v1.34.oxp
    ../AddOns/Griff.oxp/Griff_Shipset_Resources_v1.2.25.oxp
    ../AddOns/OXPCongig2.2.2.oxp
    ../AddOns/Tricky.oxp
    ../AddOns/Tricky.oxp/jaguar_company_2.0.oxp
13:21:50.692 [shipData.load.begin]: Loading ship data.
13:21:51.478 [script.load.world.listAll]: Loaded 18 world scripts:
    Cabal_Common_Briefing 1.6.1
    Cabal_Common_Comms 1.6.1
    Cabal_Common_Functions 1.6.1
    Cabal_Common_Keyboard 1.6.1
    Cabal_Common_MissionHandling 1.6.1
    Cabal_Common_Music 1.6.1
    Cabal_Common_OXPStrength 1.6.1
    Cabal_Common_SpecialMarkets 1.6.1
    Jaguar Company 2.0
    Jaguar Company Attackers 1.0
    oolite-cloaking-device 1.77
    oolite-constrictor-hunt 1.77
    oolite-contracts-parcels 1.77
    oolite-nova 1.77
    oolite-thargoid-plans 1.77
    oolite-trumbles 1.77
    OXPConfig 2.2.2
    Test 1.0
13:22:00.074 [script.load.world.listAll]: Loaded 18 world scripts:
    Cabal_Common_Briefing 1.6.1
    Cabal_Common_Comms 1.6.1
    Cabal_Common_Functions 1.6.1
    Cabal_Common_Keyboard 1.6.1
    Cabal_Common_MissionHandling 1.6.1
    Cabal_Common_Music 1.6.1
    Cabal_Common_OXPStrength 1.6.1
    Cabal_Common_SpecialMarkets 1.6.1
    Jaguar Company 2.0
    Jaguar Company Attackers 1.0
    oolite-cloaking-device 1.77
    oolite-constrictor-hunt 1.77
    oolite-contracts-parcels 1.77
    oolite-nova 1.77
    oolite-thargoid-plans 1.77
    oolite-trumbles 1.77
    OXPConfig 2.2.2
    Test 1.0
13:22:02.294 [loading.complete]: ========== Loading complete. ==========
13:22:02.718 [debugTCP.connected]: Connected to debug console "DebugConsole" at ebspso.dnsalias.org.
13:22:08.933 [Jaguar Company]: Adding Jaguar Company to the Isinor space lane.
13:22:08.979 [jaguar_company_asteroid.js]: Moving Asteroid to (38967.6, 161305, 16905)
* Safe distance: 15000
* Old distance: 11443.624542014019
* Distance moved: 4218.842478756859
* New distance: 15662.469435275152
13:22:13.700 [ai.takeAction]: Jaguar Company Base 207 to take action pauseAI: 5.0
13:22:13.700 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $launchShip
  13:22:14.949 [script.javaScript.timeLimit]: ***** ERROR: Script "jaguar_company_patrol.js" ran for 1.24871 seconds and has been terminated.
  13:22:14.949 [script.javaScript.stackTrace]:  0 (jaguar_company_patrol.js:614) <anonymous function>
  13:22:14.949 [script.javaScript.stackTrace]:     this: [Script "jaguar_company_patrol.js" version (nil)]
  13:22:14.950 [script.javaScript.stackTrace]:  1 (jaguar_company_patrol.js:615) <not a function frame>
  13:22:14.950 [script.javaScript.stackTrace]:     this: [Script "jaguar_company_patrol.js" version (nil)]
  13:22:14.950 [script.javaScript.stackTrace]:     $scanForCascadeWeapon: function
  13:22:14.950 [script.javaScript.stackTrace]:     $performJaguarCompanyAttackTarget: function
  13:22:14.950 [script.javaScript.stackTrace]:     $checkJaguarCompanyRegroup: function
  13:22:14.950 [script.javaScript.stackTrace]:     $checkJaguarCompanyAverageDistance: function
  13:22:14.950 [script.javaScript.stackTrace]:     $checkJaguarCompanyClosestDistance: function
  13:22:14.950 [script.javaScript.stackTrace]:     $scanForJaguarCompany: function
  13:22:14.951 [script.javaScript.stackTrace]:     $scanForAttackers: function
  13:22:14.951 [script.javaScript.stackTrace]:     $finishedRoute: function
  13:22:14.951 [script.javaScript.stackTrace]:     $checkRoute: function
  13:22:14.951 [script.javaScript.stackTrace]:     $setCoordsToJaguarCompanyBase: function
  13:22:14.951 [script.javaScript.stackTrace]:     $setCoordsToWitchpoint: function
  13:22:14.951 [script.javaScript.stackTrace]:     $setCoordsToMainPlanet: function
  13:22:14.951 [script.javaScript.stackTrace]:     $setCoordsToEntity: function
  13:22:14.951 [script.javaScript.stackTrace]:     $queryAverageDistance: function
  13:22:14.952 [script.javaScript.stackTrace]:     $addFuel: function
  13:22:14.952 [script.javaScript.stackTrace]:     $setUp: function
  13:22:14.952 [script.javaScript.stackTrace]:     shipTargetDestroyed: function
  13:22:14.952 [script.javaScript.stackTrace]:     shipTakingDamage: function
  13:22:14.952 [script.javaScript.stackTrace]:     shipAttackedWithMissile: function
  13:22:14.952 [script.javaScript.stackTrace]:     shipBeingAttacked: function
  13:22:14.952 [script.javaScript.stackTrace]:     entityDestroyed: function
  13:22:14.952 [script.javaScript.stackTrace]:     shipDied: function
  13:22:14.953 [script.javaScript.stackTrace]:     shipFiredMissile: function
  13:22:14.953 [script.javaScript.stackTrace]:     shipSpawned: function
  13:22:14.953 [script.javaScript.stackTrace]:     version: "1.7"
  13:22:14.953 [script.javaScript.stackTrace]:     description: "Ship script for the Jaguar Company Patrol ships."
  13:22:14.954 [script.javaScript.stackTrace]:     license: "CC BY-NC-SA 3.0"
  13:22:14.954 [script.javaScript.stackTrace]:     copyright: "© 2012 Tricky"
  13:22:14.954 [script.javaScript.stackTrace]:     author: "Tricky"
  13:22:14.954 [script.javaScript.stackTrace]:     name: "jaguar_company_patrol.js"
  13:22:14.954 [script.javaScript.stackTrace]:     ship: [Ship "Jaguar Company" position: (0, 0, 0) scanClass: CLASS_NOT_SET status: STATUS_IN_FLIGHT] [read-only]
  13:22:14.954 [script.javaScript.load.failed]: ***** Error loading JavaScript script ../AddOns/Tricky.oxp/jaguar_company_2.0.oxp/Scripts/jaguar_company_patrol.js -- could not run script
13:22:14.955 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $scanForAttackers
  13:22:14.956 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 207 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:19.780 [ai.takeAction]: Jaguar Company Base 207 to take action pauseAI: 5.0
13:22:19.780 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $launchShip
13:22:19.802 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $scanForAttackers
  13:22:19.802 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 207 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:24.788 [ai.takeAction]: Jaguar Company Base 207 to take action pauseAI: 5.0
13:22:24.788 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $launchShip
13:22:24.810 [ai.takeAction]: Jaguar Company Base 207 to take action sendScriptMessage: $scanForAttackers
  13:22:24.810 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 207 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:29.612 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 207 in state 'IDLE' receives message 'PLAYER WITCHSPACE'. Context: global message, stack depth: 0
13:22:30.162 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (oolite-contracts-parcels 1.77): TypeError: system.mainStation is null
13:22:30.247 [Jaguar Company]: Adding Jaguar Company to the Interstellar space lane.
13:22:30.379 [jaguar_company_asteroid.js]: Moving Asteroid to (-58968.4, 1740.5, 47715.4)
* Safe distance: 15000
* Old distance: 4889.824606337257
* Distance moved: 11033.518482647352
* New distance: 15923.344254648444
13:22:35.072 [ai.takeAction]: Jaguar Company Base 251 to take action pauseAI: 5.0
13:22:35.072 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $launchShip
13:22:35.205 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $scanForAttackers
  13:22:35.206 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 251 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:40.080 [ai.takeAction]: Jaguar Company Base 251 to take action pauseAI: 5.0
13:22:40.080 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $launchShip
13:22:40.105 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $scanForAttackers
  13:22:40.105 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 251 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:45.088 [ai.takeAction]: Jaguar Company Base 251 to take action pauseAI: 5.0
13:22:45.088 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $launchShip
13:22:45.114 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $scanForAttackers
  13:22:45.114 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 251 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:50.096 [ai.takeAction]: Jaguar Company Base 251 to take action pauseAI: 5.0
13:22:50.096 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $launchShip
13:22:50.121 [ai.takeAction]: Jaguar Company Base 251 to take action sendScriptMessage: $scanForAttackers
  13:22:50.121 [ai.message.receive]: AI jaguar_company_baseAI.plist for Jaguar Company Base 251 in state 'IDLE' receives message 'ATTACKERS_NOT_FOUND'. Context: JavaScript reactToAIMessage(), stack depth: 1
13:22:56.480 [exit.context]: Exiting: Exit Game selected on options screen.
13:22:56.490 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2012-10-01 13:22:56 +0100.

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 12:51 pm
by Tricky
And no, my OXP doesn't change the outcome. I've tried it without spawning anything.

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 5:01 pm
by cim

Code: Select all

Exception: TypeError: system.mainStation is null
    Active script: oolite-contracts-parcels 1.77
    oolite-contracts-parcels.js, line 193:

system.mainStation.setInterface("oolite-contracts-parcels",null);
The thing is, line 193 in the current code is just '{' which can not plausibly give that error.

In r5334, it's "system.mainStation.setInterface("oolite-contracts-parcels",null);" which obviously can.

Is it possible that you have an old copy of the script still in your folder despite having installed r5390?
What happens if you type worldScripts["oolite-contracts-parcels"].shipWillExitWitchspace in the debug console?

Re: Alternative Contracts Interface

Posted: Mon Oct 01, 2012 5:55 pm
by Tricky
Hang on, you might have a point there. I do try to keep on top of what needs to be copied over from the Resources directory. Will check when I get back home.