Digebiti.oxp (Development Thread)

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

Moderators: winston, another_commander

User avatar
Cholmondely
Archivist
Archivist
Posts: 5339
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Digebiti.oxp (WIP)

Post by Cholmondely »

montana05 wrote: Fri Apr 29, 2022 11:00 am
Cholmondely wrote: Fri Apr 29, 2022 10:26 am
montana05 wrote: Fri Apr 29, 2022 9:08 am


Did you define the script as a world-script ?
No, I didn't. But the other scripts I've bunged in that config folder in the path worked fine, as does Phkb's PAD add-on script.js
Sorry, my bad. As soon as you drop the script in a config folder, it becomes automatically a world-script. The past days just too hot to think straight without an aircon. :roll:
It's starting to warm up over here - we had several lovely days, but are now in a chillier snap. Spring! The bluebells are out!

Edited to add: Whilst my programming skills are rather naff, Massively Locked might be adding some of this into the new version of "Life in the Frontier" just for Digebiti


Image
Last edited by Cholmondely on Mon Dec 12, 2022 11:18 am, edited 1 time in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Old Murgh
Wiki Wizard
Wiki Wizard
Posts: 640
Joined: Sat Dec 04, 2021 11:01 pm

Re: bluebells

Post by Old Murgh »

Cholmondely wrote: Fri Apr 29, 2022 11:17 am
Spring! The bluebells are out!
Image
That’s extremely lovely.
I was young, I was naïve. [EliteWiki] Jonny Cuba made me do it!
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4829
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Digebiti.oxp (WIP)

Post by phkb »

Put a debug line into the script file to see if it’s being hit. Like this

Code: Select all

 "use strict";
this.name           = "digebiti_noslaves";
this.author         = "Phkb";
this.copyright      = "(C) 2022 Phkb";
this.licence        = "CC-NC-by-SA 4.0";
this.description    = "Removes slaves for sale in Digebiti";
this.version        = "1.0";

this.updateLocalCommodityDefinition = function(goodDefinition, station, systemID) {
    log(this.name, "got here");
    if (goodDefinition.key == "slaves" && station && station.isMainStation) {
        goodDefinition.quantity = 0;
        log(this.name, "adjusting quantity of slaves");
    }
    return goodDefinition;
}
Also, this code may not impact on a market that is already defined. Try jumping out to a nearby system, then jumping back in to check whether it’s working.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5339
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Digebiti.oxp (WIP)

Post by Cholmondely »

There were 17 got here's, but still oodles of slaves on sale at Digebiti, both going and coming.

Latest Log:

Code: Select all

Opening log for Oolite development version 1.91.0-220208 (x86-64 test release) under Mac OS X Version 10.15.3 (Build 19D2064) at 2022-05-09 22:19:43 +0000.
Machine type: MacBookAir9,1, 8192 MiB memory, 2 (4 logical) x x86 (family 0x38435547) @ 1100 MHz.
Build options: OpenAL, new planets, JavaScript console support, Debug plug-in 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.

23:19:44.470 [dataCache.rebuild.pathsChanged] +[ResourceManager checkCacheUpToDateForPaths:] (ResourceManager.m:1156): Cache is stale (search paths have changed). Rebuilding from scratch.
23:19:44.773 [joystick.error.init] -[OOMacJoystickManager init] (OOMacJoystickManager.m:80): Cannot open HID manager; joystick support will not function.
23:19:44.773 [rendering.opengl.version] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:221): OpenGL renderer version: 2.1.0 ("2.1 INTEL-14.4.26"). Vendor: "Intel Inc.". Renderer: "Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP".
23:19:44.773 [rendering.opengl.extensions] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:222): OpenGL extensions (128):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_APPLE_object_purgeable, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_APPLE_vertex_array_range, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ATI_texture_mirror_once, GL_APPLE_float_pixels, GL_EXT_framebuffer_multisample, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
23:19:44.837 [rendering.opengl.shader.support] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:256): Shaders are supported.
23:19:44.895 [dataCache.rebuild.pathsChanged] +[ResourceManager checkCacheUpToDateForPaths:] (ResourceManager.m:1156): Cache is stale (search paths have changed). Rebuilding from scratch.
23:19:44.898 [searchPaths.dumpAll] +[ResourceManager logPaths] (ResourceManager.m:2240): Resource paths: 
    /var/folders/6s/ysb64pns7r3472gl73j4zsnc0000gn/T/AppTranslocation/866E74D7-1089-42E8-915E-57AC39F03412/d/Oolite 1.91.app/Contents/Resources
    ~/Library/Application Support/Oolite/Managed AddOns
    ~/Library/Application Support/Oolite/AddOns
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Thargoid.Planetfall.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.spara.market_observer.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Svengali.Library.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/FontDangerousSquare.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.LogEvents.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.spara.market_inquirer.oxp
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Svengali.BGS.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Svengali.GNN.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.ramirez.Feudal_States.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Svengali.Pagroove.BGSSoundset.oxz
    ~/Library/Application Support/Oolite/AddOns/oolite.oxp.cholmondely.Hints.0.094 everything.oxp
23:19:44.994 [shipData.load.begin] +[OOShipRegistry(Singleton) allocWithZone:] (OOShipRegistry.m:1698): Loading ship data.
23:19:46.612 [startup.complete] -[GameController applicationDidFinishLaunching:] (GameController.m:269): ========== Loading complete in 2.05 seconds. ==========
23:19:51.772 [shipData.load.begin] +[OOShipRegistry(Singleton) allocWithZone:] (OOShipRegistry.m:1698): Loading ship data.
23:19:52.432 [oxp-standards.deprecated] OOStandardsInternal (OODebugStandards.m:92): Script /Users/accountname/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Thargoid.Planetfall.oxz/Scripts/planetFall_worldScript.js does not "use strict";
23:19:52.610 [oxp-standards.deprecated] OOStandardsInternal (OODebugStandards.m:92): Script /Users/accountname/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Svengali.Pagroove.BGSSoundset.oxz/Config/script.js does not "use strict";
23:19:52.614 [script.load.world.listAll] +[ResourceManager loadScripts] (ResourceManager.m:2132): Loaded 48 world scripts:
    BGS 2.5.3
    BGS-PAGsoundsetv2 2.3
    Education_GNN.js 0.9.0
    feudal-challenge.js 9.1
    feudal-mission.js 9.1
    feudal-planetfall.js 3.1
    feudal-promotion.js 6.1
    feudal-ranks.js 5.1
    feudal-tournament.js 10.1
    GNN 1.2
    GNN_PhraseGen 1.2
    GNN_Words 1.2
    Hints_Station_Bar.js 0.0.93
    Lib_2DCollision 1.7.1
    Lib_Animator 1.7.1
    Lib_BinSearch 1.7.1
    Lib_Config 1.7.1
    Lib_Crypt 1.7.1
    Lib_Cubecode 1.7.1
    Lib_EntityStrength 1.7.1
    Lib_GUI 1.7.1
    Lib_Main 1.7.1
    Lib_MissionCoord 1.7.1
    Lib_Music 1.7.1
    Lib_PAD 1.7.1
    Lib_PAD_Events 1.7.1
    Lib_Starmap 1.7.1
    logevents 1.4
    market_inquirer 1.14.1
    market_observer3 3.7
    mo-traders_rating3 3.7
    Oolite Equipment Control 1.91
    Oolite Ship Library 1.91
    oolite-cloaking-device 1.91
    oolite-constrictor-hunt 1.91
    oolite-contracts-cargo 1.91
    oolite-contracts-helpers 1.91
    oolite-contracts-parcels 1.91
    oolite-contracts-passengers 1.91
    oolite-libPriorityAI 1.91
    oolite-nova 1.91
    oolite-populator 1.91
    oolite-primable-equipment-register 1.91
    oolite-registership 1.91
    oolite-thargoid-plans 1.91
    oolite-trumbles 1.91
    oolite-tutorial 1.91
    PlanetFall 1.51
23:19:52.627 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_FUEL_SCOOPS
23:19:52.627 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_ESCAPE_POD
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_SHIELD_BOOSTER
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_TARGET_MEMORY
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_PLANETFALL
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_INTEGRATED_TARGETING_SYSTEM
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_ADVANCED_COMPASS
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_MARKET_INQUIRER_MFD
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_CLOAKING_DEVICE
23:19:52.635 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_FUEL_SCOOPS
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_DOCK_COMP
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_SCANNER_SHOW_MISSILE_TARGET
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_ESCAPE_POD
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_FUEL_INJECTION
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_CARGO_BAY
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_NAVAL_SHIELD_BOOSTER
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_HEAT_SHIELD
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_ADVANCED_NAVIGATIONAL_ARRAY
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_GAL_DRIVE
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_NAVAL_ENERGY_UNIT
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_WORMHOLE_SCANNER
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_ECM
23:19:52.636 [LogEvents] GlobalLog (OOJSGlobal.m:266): ship got EQ_MULTI_TARGET
23:19:53.867 [LogEvents] GlobalLog (OOJSGlobal.m:266): Populators:
 {"oolite-thargoid-scouts":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-hunters-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-pirate-independent-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-pirate-independent-route2":{"priority":40,"location":"LANE_PS","groupCount":0},
  "oolite-pirate-independent-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-route1-asteroids":{"groupCount":0,"deterministic":1,"priority":20,"location":"LANE_WP","locationSeed":51728},
  "oolite-police-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-interceptors-witchpoint":{"priority":40,"location":"WITCHPOINT","groupCount":0},
  "oolite-pirate-medium-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-couriers-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-interceptors-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-medium-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-light-remote":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-freighters-docking":{"priority":40,"location":"STATION_AEGIS","groupCount":0},
  "oolite-freighters":{"priority":40,"location":"LANE_WP","groupCount":2},
  "oolite-hunters-medium-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-couriers-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-route2-asteroids":{"groupCount":2,"deterministic":1,"priority":20,"location":"LANE_PS","locationSeed":82715},
  "oolite-hunters-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-smugglers":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-heavy-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-light-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-offlane-hermit":{"groupCount":1,"deterministic":1,"priority":99,"location":"PLANET_ORBIT_HIGH","locationSeed":71258},
  "oolite-hunters-triangle":{"priority":40,"location":"LANE_WPS","groupCount":1},
  "oolite-pirate-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-police-triangle":{"priority":40,"location":"LANE_WPS","groupCount":1},
  "oolite-police-stationpatrol":{"location":"STATION_AEGIS","priority":40},
  "oolite-hunters-heavy-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-hunters-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-thargoid-strike":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-heavy-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-nav-buoy":{"deterministic":1,"coordinates":[-29962.3203125,32725.83984375,302050.25],"priority":5,"location":"COORDINATES"},
  "oolite-assassins":{"priority":40,"location":"WITCHPOINT","groupCount":0},
  "oolite-witch-buoy":{"deterministic":1,"priority":10,"location":"COORDINATES","coordinates":[0,0,0]},
  "oolite-pirate-light-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0}}
23:19:53.869 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_LOAD to GUI_SCREEN_STATUS
23:19:53.888 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_LOAD to GUI_SCREEN_STATUS
23:19:53.888 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:19:54.081 [LogEvents] GlobalLog (OOJSGlobal.m:266): Navigation Buoy 16518 spawned at 10 km
23:19:54.081 [LogEvents] GlobalLog (OOJSGlobal.m:266): GalCop Viper 29296 spawned at 43 km
23:19:54.081 [LogEvents] GlobalLog (OOJSGlobal.m:266): Python 7915 spawned at 106 km
23:19:54.081 [LogEvents] GlobalLog (OOJSGlobal.m:266): Coriolis Station 11690 spawned at 0 km
23:19:54.081 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 25907 spawned at 164 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 858 spawned at 195 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 7223 spawned at 199 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 21694 spawned at 261 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 4991 spawned at 264 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 10693 spawned at 267 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 31563 spawned at 272 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Rock Hermit 18546 spawned at 273 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 1191 spawned at 276 km
23:19:54.082 [LogEvents] GlobalLog (OOJSGlobal.m:266): Asteroid 12790 spawned at 279 km
23:19:59.322 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_STATUS to GUI_SCREEN_INTERFACES
23:19:59.351 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_INTERFACES
23:20:01.616 [script.javaScript.warning.ooliteDefined] ReportJSError (OOJavaScriptEngine.m:204): ----- JavaScript warning (Hints_Station_Bar.js 0.0.93): Unknown expansion key [hints_bar_gossip] in string.
23:20:01.631 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
23:20:01.632 [strings.expand.warning.unknownExpansion] ReportWarningForUnknownKey (OOStringExpander.m:911): ----- WARNING: Unknown expansion key [hints_bar_gossip] in string.
23:20:01.632 [strings.expand.warning.unbalancedClosingBracket] Expand (OOStringExpander.m:306): ----- WARNING: Unbalanced ] in string.
23:20:01.632 [strings.expand.warning.unknownExpansion] ReportWarningForUnknownKey (OOStringExpander.m:911): ----- WARNING: Unknown expansion key [hints_bar_gossip] in string.
23:20:02.354 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:02.359 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:02.375 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen ended
23:20:02.375 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:20:02.816 [script.javaScript.warning.ooliteDefined] ReportJSError (OOJavaScriptEngine.m:204): ----- JavaScript warning (Hints_Station_Bar.js 0.0.93): Unknown expansion key [hints_bar_gossip] in string.
23:20:02.817 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
23:20:02.817 [strings.expand.warning.unknownExpansion] ReportWarningForUnknownKey (OOStringExpander.m:911): ----- WARNING: Unknown expansion key [hints_bar_gossip] in string.
23:20:02.817 [strings.expand.warning.unbalancedClosingBracket] Expand (OOStringExpander.m:306): ----- WARNING: Unbalanced ] in string.
23:20:02.817 [strings.expand.warning.unknownExpansion] ReportWarningForUnknownKey (OOStringExpander.m:911): ----- WARNING: Unknown expansion key [hints_bar_gossip] in string.
23:20:02.818 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission choice was reset
23:20:03.219 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:03.224 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:03.236 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen ended
23:20:03.236 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:20:19.873 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
23:20:19.874 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission choice was reset
23:20:21.008 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:21.013 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:21.031 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen ended
23:20:21.031 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:20:24.179 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
23:20:24.183 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission choice was reset
23:20:34.506 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:34.512 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:34.525 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen ended
23:20:34.525 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:20:37.524 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
23:20:47.321 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:47.326 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
23:20:47.342 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen ended
23:20:47.342 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:20:55.232 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_INTERFACES to GUI_SCREEN_MARKET
23:20:55.277 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MARKET
23:21:00.132 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MARKET to GUI_SCREEN_SHORT_RANGE_CHART
23:21:00.150 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MARKET to GUI_SCREEN_SHORT_RANGE_CHART
23:21:06.803 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_SHORT_RANGE_CHART to GUI_SCREEN_MAIN
23:21:06.858 [LogEvents] GlobalLog (OOJSGlobal.m:266): will launch from Coriolis Station 11690 flying Cobra Mark III 29612
23:21:06.886 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted lost target in mode COMPASS_MODE_PLANET
23:21:06.891 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 0 to 2
23:21:08.241 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Geerra undefined in mode COMPASS_MODE_PLANET
23:21:09.332 [LogEvents] GlobalLog (OOJSGlobal.m:266): launched from Coriolis Station 11690
23:21:17.482 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MAIN to GUI_SCREEN_MARKET
23:21:17.489 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MAIN to GUI_SCREEN_MARKET
23:21:29.366 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MARKET to GUI_SCREEN_MAIN
23:21:29.369 [LogEvents] GlobalLog (OOJSGlobal.m:266): VIEW_FORWARD
23:21:29.980 [LogEvents] GlobalLog (OOJSGlobal.m:266): will dock to Coriolis Station 11690
23:21:30.020 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 2 to 1
23:21:32.517 [LogEvents] GlobalLog (OOJSGlobal.m:266): docked to Coriolis Station 11690
23:21:32.521 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MAIN to GUI_SCREEN_STATUS
23:21:32.532 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MAIN to GUI_SCREEN_STATUS
23:21:32.563 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:21:32.575 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 1 to 0
23:21:33.066 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_STATUS to GUI_SCREEN_MARKET
23:21:33.086 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_MARKET
23:21:35.401 [LogEvents] GlobalLog (OOJSGlobal.m:266): sold 15 Machinery for 62 credits
23:21:36.580 [LogEvents] GlobalLog (OOJSGlobal.m:266): sold 20 Computers for 95.7 credits
23:21:43.065 [LogEvents] GlobalLog (OOJSGlobal.m:266): bought 7 Gem-Stones for 17.5 credits
23:21:50.165 [LogEvents] GlobalLog (OOJSGlobal.m:266): bought 35 Furs for 61.1 credits
23:22:01.350 [LogEvents] GlobalLog (OOJSGlobal.m:266): AUTO_SAVE
23:22:01.392 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MARKET to GUI_SCREEN_STATUS
23:22:01.395 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MARKET to GUI_SCREEN_STATUS
23:22:01.395 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_MAIN
23:22:01.432 [LogEvents] GlobalLog (OOJSGlobal.m:266): will launch from Coriolis Station 11690 flying Cobra Mark III 29612
23:22:01.453 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted lost target in mode COMPASS_MODE_PLANET
23:22:01.459 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 0 to 2
23:22:03.878 [LogEvents] GlobalLog (OOJSGlobal.m:266): launched from Coriolis Station 11690
23:22:13.064 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MAIN to GUI_SCREEN_MARKET
23:22:13.071 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MAIN to GUI_SCREEN_MARKET
23:22:15.249 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MARKET to GUI_SCREEN_SYSTEM_DATA
23:22:15.299 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MARKET to GUI_SCREEN_SYSTEM_DATA
23:22:18.769 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_SYSTEM_DATA to GUI_SCREEN_SHORT_RANGE_CHART
23:22:18.770 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_SYSTEM_DATA to GUI_SCREEN_SHORT_RANGE_CHART
23:22:19.919 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_SHORT_RANGE_CHART to GUI_SCREEN_STATUS
23:22:19.943 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_SHORT_RANGE_CHART to GUI_SCREEN_STATUS
23:22:22.364 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_STATUS to GUI_SCREEN_SYSTEM_DATA
23:22:22.375 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_SYSTEM_DATA
23:22:23.063 [LogEvents] GlobalLog (OOJSGlobal.m:266): info system will change from 96 to 77
23:22:23.069 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_SYSTEM_DATA to GUI_SCREEN_SYSTEM_DATA
23:22:23.070 [LogEvents] GlobalLog (OOJSGlobal.m:266): info system changed from 96 to 77
23:22:28.598 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_SYSTEM_DATA to GUI_SCREEN_MAIN
23:22:28.599 [LogEvents] GlobalLog (OOJSGlobal.m:266): VIEW_FORWARD
23:22:31.931 [LogEvents] GlobalLog (OOJSGlobal.m:266): started 15 seconds standard jump countdown
23:22:46.914 [LogEvents] GlobalLog (OOJSGlobal.m:266): will enter witchspace  to system 96 due to standard jump
23:22:46.914 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted in mode COMPASS_MODE_PLANET
23:22:46.915 [LogEvents] GlobalLog (OOJSGlobal.m:266): exited from the vicinity of [Planet position: (0, 0, 321640) radius: 29240 m]
23:22:46.916 [LogEvents] GlobalLog (OOJSGlobal.m:266): info system will change from 77 to 96
23:22:46.916 [LogEvents] GlobalLog (OOJSGlobal.m:266): info system changed from 77 to 96
23:22:46.918 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.919 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.920 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:46.921 [digebiti_noslaves] GlobalLog (OOJSGlobal.m:266): got here
23:22:47.525 [LogEvents] GlobalLog (OOJSGlobal.m:266): Populators:
 {"oolite-thargoid-scouts":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-hunters-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-pirate-independent-route1":{"priority":40,"location":"LANE_WP","groupCount":5},
  "oolite-pirate-independent-route2":{"priority":40,"location":"LANE_PS","groupCount":1},
  "oolite-pirate-independent-route3":{"priority":40,"location":"LANE_WS","groupCount":1},
  "oolite-route1-asteroids":{"groupCount":0,"deterministic":1,"priority":20,"location":"LANE_WP","locationSeed":51728},
  "oolite-police-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-interceptors-witchpoint":{"priority":40,"location":"WITCHPOINT","groupCount":0},
  "oolite-pirate-medium-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-couriers-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-interceptors-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-medium-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-light-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-freighters-docking":{"priority":40,"location":"STATION_AEGIS","groupCount":0},
  "oolite-freighters":{"priority":40,"location":"LANE_WP","groupCount":4},
  "oolite-hunters-medium-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-couriers-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-route2-asteroids":{"groupCount":2,"deterministic":1,"priority":20,"location":"LANE_PS","locationSeed":82715},
  "oolite-hunters-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-smugglers":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-heavy-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-light-route1":{"priority":40,"location":"LANE_WP","groupCount":2},
  "oolite-offlane-hermit":{"groupCount":1,"deterministic":1,"priority":99,"location":"PLANET_ORBIT_HIGH","locationSeed":71258},
  "oolite-hunters-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-police-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "feudal_main":{"deterministic":1,"location":"COORDINATES","coordinates":[89393.546875,-44819.5703125,0]},
  "oolite-police-stationpatrol":{"location":"STATION_AEGIS","priority":40},
  "oolite-hunters-heavy-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-hunters-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-thargoid-strike":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-heavy-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-nav-buoy":{"deterministic":1,"coordinates":[89753.0234375,-66825.109375,724133.375],"priority":5,"location":"COORDINATES"},
  "oolite-assassins":{"priority":40,"location":"WITCHPOINT","groupCount":0},
  "oolite-witch-buoy":{"deterministic":1,"priority":10,"location":"COORDINATES","coordinates":[0,0,0]},
  "oolite-pirate-light-triangle":{"priority":40,"location":"LANE_WPS","groupCount":1}}
23:22:47.525 [LogEvents] GlobalLog (OOJSGlobal.m:266): will exit witchspace
23:22:47.647 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 2 to 1
23:22:47.647 [LogEvents] GlobalLog (OOJSGlobal.m:266): Coriolis Station 25652 spawned at 723 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Cobra Mark III 15011 spawned at 91 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Cobra Mark III 29626 spawned at 88 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Krait 14451 spawned at 42 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Cobra Mark I 14590 spawned at 42 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Krait 12187 spawned at 42 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Krait 5333 spawned at 43 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Gecko 7440 spawned at 46 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Moray Star Boat 14115 spawned at 49 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Moray Medical Boat 28513 spawned at 23 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Witchpoint Beacon 14613 spawned at 12 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Tournament Buoy 1333 spawned at 87 km
23:22:47.757 [LogEvents] GlobalLog (OOJSGlobal.m:266): Royal Hunting Lodge 29730 spawned at 95 km
23:22:48.852 [LogEvents] GlobalLog (OOJSGlobal.m:266): new day 2086859
23:22:49.947 [LogEvents] GlobalLog (OOJSGlobal.m:266): exited from witchspace
23:22:49.952 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Digebiti undefined in mode COMPASS_MODE_PLANET
23:22:49.972 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 1 to 2
23:23:01.838 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Star undefined in mode COMPASS_MODE_SUN
23:23:03.302 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Navigation Buoy 28617 in mode COMPASS_MODE_BEACONS
23:23:05.157 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Witchpoint Beacon 14613 in mode COMPASS_MODE_BEACONS
23:23:06.072 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Tournament Buoy 1333 in mode COMPASS_MODE_BEACONS
23:23:08.042 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 2 to 1
23:23:14.656 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Digebiti undefined in mode COMPASS_MODE_PLANET
23:23:15.641 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Star undefined in mode COMPASS_MODE_SUN
23:23:16.321 [LogEvents] GlobalLog (OOJSGlobal.m:266): compass targeted Navigation Buoy 28617 in mode COMPASS_MODE_BEACONS
23:24:13.858 [LogEvents] GlobalLog (OOJSGlobal.m:266): entered to the vicinity of [Planet position: (0, 0, 751320) radius: 62610 m]
23:24:13.860 [LogEvents] GlobalLog (OOJSGlobal.m:266): got message from lost target : Digebiti Planetary Control - for planetfall please approach and request landing clearance.
23:24:18.343 [LogEvents] GlobalLog (OOJSGlobal.m:266): entered to the aegis of Coriolis Station 25652
23:24:20.658 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 1 to 2
23:24:22.658 [LogEvents] GlobalLog (OOJSGlobal.m:266): will dock to Coriolis Station 25652
23:24:22.708 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 2 to 1
23:24:25.205 [LogEvents] GlobalLog (OOJSGlobal.m:266): docked to Coriolis Station 25652
23:24:25.209 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_MAIN to GUI_SCREEN_STATUS
23:24:25.240 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MAIN to GUI_SCREEN_STATUS
23:24:25.274 [LogEvents] GlobalLog (OOJSGlobal.m:266): mission screen opportunity
23:24:25.288 [LogEvents] GlobalLog (OOJSGlobal.m:266): alert condition changed from 1 to 0
23:24:25.796 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen will change from GUI_SCREEN_STATUS to GUI_SCREEN_MARKET
23:24:25.829 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_MARKET
23:24:28.753 [LogEvents] GlobalLog (OOJSGlobal.m:266): sold 35 Furs for 77.5 credits
23:24:33.988 [LogEvents] GlobalLog (OOJSGlobal.m:266): bought 5 Gem-Stones for 17.6 credits
23:24:44.903 [LogEvents] GlobalLog (OOJSGlobal.m:266): bought 29 Computers for 72.9 credits
23:25:19.048 [LogEvents] GlobalLog (OOJSGlobal.m:266): gui screen changed from GUI_SCREEN_MARKET to GUI_SCREEN_OPTIONS
23:25:26.501 [LogEvents] GlobalLog (OOJSGlobal.m:266): Moray Medical Boat 2338 spawned at 1 km
23:25:27.795 [shipData.load.begin] +[OOShipRegistry(Singleton) allocWithZone:] (OOShipRegistry.m:1698): Loading ship data.
23:25:30.768 [exit.context] -[OoliteApp terminate:] (OoliteApp.m:68): Exiting: Exit Game selected on start screen.

Closing log at 2022-05-09 22:25:30 +0000.

Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4829
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Digebiti.oxp (WIP)

Post by phkb »

Cholmondely wrote: Mon May 09, 2022 10:28 pm
There were 17 got here's, but still oodles of slaves on sale at Digebiti, both going and coming.
OK, that tells us that that (a) the code is working (ie, no syntax errors or compile failures) and (b) it is not getting past the "if" clauses to get rid of all slaves.

So, that means one or more clauses are failing. My assumption was that this would fire after system population, but based on the entries in the log, the main station hasn't been created yet, so the "station" object is not set.

Change the code to this:

Code: Select all

 "use strict";
this.name           = "digebiti_noslaves";
this.author         = "Phkb";
this.copyright      = "(C) 2022 Phkb";
this.licence        = "CC-NC-by-SA 4.0";
this.description    = "Removes slaves for sale in Digebiti";
this.version        = "1.0";

this.updateLocalCommodityDefinition = function(goodDefinition, station, systemID) {
    log(this.name, "got here");
    if (goodDefinition.key == "slaves") {
        goodDefinition.quantity = 0;
        log(this.name, "adjusting quantity of slaves");
    }
    return goodDefinition;
}
Given that this script is only attached to the Digebiti system, we can ignore the station parameter. Once again, you'll need to jump out and back to Digebiti for this to come into play.
User avatar
cbr
---- E L I T E ----
---- E L I T E ----
Posts: 1418
Joined: Thu Aug 27, 2015 4:24 pm

Re: Digebiti.oxp (Development Thread)

Post by cbr »

Image

:evil: :D
User avatar
Cholmondely
Archivist
Archivist
Posts: 5339
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Digebiti.oxp (Development Thread)

Post by Cholmondely »

cbr wrote: Fri Jun 03, 2022 11:45 am
Image

:evil: :D
Supercallifragilisticsexpiallidocious! Thanking you greatly....
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply