Modding Help Mod doesn't run after converting to Patch format. [FIXED]

Discussion in 'Starbound Modding' started by Little-blade, Oct 26, 2014.

  1. Little-blade

    Little-blade Void-Bound Voyager

    I wrote a little personal mod a while ago to add a bunch of things to my starting treasurepool. I've just got around to updating it for the new patch system and the mod now doesn't run. Starbound itself works without any errors, I'm just not getting the new items in my shiplocker.

    Code below.

    Code:
    [
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["pilothead", 1]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["hunterback", 1]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["novatier3chest", 1]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["novatier3pants", 1]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["bones", 1]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["electriclight", 15]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floransmalltable", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostbed", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["miningchest", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["teapot1", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["teacup1", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["poptopplush", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["prisonlocker1", 3]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["mininghazardsign", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["woodencouch2", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["screenplanet", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranceilingbones2", 4]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["bunkervent", 9]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["prisongraffiti4", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranpainting1", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranpainting2", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranpainting3", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranpainting4", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["floranpainting5", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["lunarbasecrate", 5]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostshippingcontainer", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostfridge", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostservicepanel", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostcabinet", 3]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostmicrowave", 2]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostkeypad", 3]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostcargocrate", 10]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostcargocrateshort", 10]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostairlock", 6]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outposttank", 3]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostsupport", 10]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["hazard", 999]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["outpostplatform", 999]},
    { "op" : "add", "path": "/floranStarterTreasure/0/1/fill/-", "value": ["heavypipe", 200]}
    ]

    What I've done:


    Validated the JSON using the online tool.

    Manually spawned all the items to make sure they're still in the game.

    Checked and double checked my Modinfo file. Everything seems to to spelled correctly.

    Code:
    {
      "name" : "StarterTreasure",
      "version" : "Rampaging Koala 20140618",
      "path" : ".",
      "dependencies" : []
    }
    Deliberately messed up the JSON to see if starbound.log would catch any parse errors - it didn't.

    This seems to imply that starbound isn't actually attempting to read the file.

    I'm including starbound.log but I don't see anything here that points to an error.

    Code:
    Info: Preparing Star::Root...
    Info: Detected mod 'StarterTreasure' at '../mods\StarterTreasure\.'
    Info: Loading Configuration with config file: 'starbound.config'
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Pre-loading Star::Root with 3 assets sources
    Info: Loading Star::Assets from: '../assets/packed.pak'
    Info: Loading Star::Assets from: '../assets/user'
    Info: Loading Star::Assets from: '../mods\StarterTreasure\.'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Rampaging Koala - Update 1' Protocol: 660
    Info: Running from : C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\starbound.exe
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Finishing loading Star::Root...
    Info: Initializing SDL Window
    Info: Created initial window 1000x600
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Initializing SDL Window
    Info: Re-created window 1366x706
    Info: Renderer initialized
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: Done loading Star::Root.
    Info: Renderer destroyed
    Info: Creating default Star::Configuration
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Acquiring universe lock file
    Info: UniverseServer: Loading world db for world 75098548:94615864:-9394976:12:2
    Info: UniverseServer: client connection made from local
    Info: UniverseServer: Sending Handshake Challenge
    Info: UniverseClient: Sending Handshake Repsonse
    Info: UniverseServer: Client 'Waltzfish' <1> (Fifo <0x1bcc9618>) connected
    Info: Creating default Star::Configuration
    Info: Renderer initialized
    Info: UniverseServer: Shutting down world CelestialWorld:75098548:94615864:-9394976:12:2 due to inactivity
     
  2. Little-blade

    Little-blade Void-Bound Voyager

    Turns out I was referencing the wrong file. Starting treasure pools are now defined in "starter" not "default" and have a slightly different format. *facepalm*
     
    The | Suit likes this.

Share This Page