Modding Help Mod error

Discussion in 'Starbound Modding' started by PlatinumFrog, Feb 17, 2016.

  1. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    I've seen custom categories in other mods. I think the game takes the tag in the .recipe file and checks for matches that then show up in the menu for the crafting table that has that tag. I don't know for sure though.
     
  2. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    The starbound.log says my player.config.patch has a parsing error at 5:2 but I don't see anything wrong with it and neither does JsonLint. Here is the code:
    Code:
    [
    {
    "op": "add",
    "path": "/defaultBlueprints/tier1/-",
    "value": { "item" : "pipetable" }
    }
    ]
     
  3. lazarus78

    lazarus78 The Waste of Time

    Seems fine to me. Is that your only player.config? What about other mods?
     
  4. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    well my other mods worked before I added my own mod, so it has to be this starbound.config. There also might be a player.config.patch in another mod I have that is adding "pipetable" to the same directory.
     
  5. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    What does this error mean?: Error loading object '/objects/something.object': (JsonException) No such key in Json::get("image")
     
  6. lazarus78

    lazarus78 The Waste of Time

    "JsonException" = JSON syntax error. Meaning there is a typo somewhere.
     
  7. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

  8. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    I don't see a syntax error, do you see one?:
    Code:
    {
      "objectName" : "something",
      "printable" : false,
      "rarity" : "Common",
      "description" : "I can craft somthing with this table",
      "shortDescription" : "^green;Some Thing^white;",
      "subtitle" : "Make something!",
      "race" : "generic",
      "category" : "Crafting",
      "price" : 75,
    
      "apexDescription" : "A table for making Something!",
      "avianDescription" : "A table for making something!",
      "floranDescription" : "A table for making something!",
      "glitchDescription" : "A table for making something!",
      "humanDescription" : "A table for making something!",
      "hylotlDescription" : "A table for making something!",
      "novakidDescription" : "A table for making something!",
    
      "inventoryIcon" : "somethingicon.png",
      "orientations" : [
        {
          "duelImage" : "something.png",
          "flipImages" : true,
          "imagePosition" : [-8, 0],
      
          "frames" : 1,
          "animationCycle" : 1.0,
    
          "spaceScan" : 0.1,
          "anchors" : ["bottom"]
        }
      ]
    }
     
  9. lazarus78

    lazarus78 The Waste of Time

    Probably in another file. That one looks fine. Notice the error says No such key in Json::get("image")

     
  10. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    Are you sure? It's pointing to the directory of that file. I'll check the other files though...
     
  11. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    Also, my .png files are named correctly, if that is what your hint is pointing me to. :)
     
  12. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    Here is my .frames file and my player.config.patch file. I need a second pair of eyes...
    something.frames:
    Code:
    {
        "frameGrid" : {
        "size" : [32, 16],
        "dimensions" : [1, 1],
        "names" : [
          [ "default" ]
        ]
      }
    }
    
    player.config.patch:
    Code:
    [
    {
    "op": "add",
    "path": "/defaultBlueprints/tier1/-",
    "value": { "item" : "somthing" }
    }
    ]
    
     
  13. lazarus78

    lazarus78 The Waste of Time

    You know you can edit posts, right?

    The issue is probably with another file. Find a file that uses "image" somewhere.
     
  14. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

    The only file that uses "image" is my .object file.

    EDIT: Well that's silly! The error didn't have anything to do with syntax, I just misspelt "dual" in "dualImage", lol
     
    Last edited: Mar 18, 2016
  15. lazarus78

    lazarus78 The Waste of Time

    That is a typo, which is a syntax error. And it dealt with "image".

    Just goes to show how even the smallest things can break everything.
     
  16. PlatinumFrog

    PlatinumFrog Scruffy Nerf-Herder

Share This Page