Outdated

Discussion in 'Starbound Modding' started by The | Suit, Jan 29, 2014.

Thread Status:
Not open for further replies.
  1. Kiroxxigg

    Kiroxxigg Intergalactic Tourist

    You sir are my hero, i've been wondering for the last few weeks how to unpack these files. /bow "I am not worthy."
     
  2. Desolator

    Desolator Pangalactic Porcupine

    i've just finished the first (of many) version of my mod. i've added the item, its icon, its .object (or in my current case .sword) file and also its crafting recipe. the problem is, when i load up starbound, ( as in start launcher the start the program) the items dont show. am i missing something here? (ive been using your previous guide, the one you sent me) if you can, thanks!

    EDIT: Also, someone seriously needs to sticky this thread. I bow to you in reverence my good sir
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

    Post your starbound.log onto pastebin and we will see what is wrong.
    Or you can start with my other post
    http://community.playstarbound.com/...d-errors-fixing-most-problems-yourself.69198/
     
  4. xchronox0

    xchronox0 Space Spelunker

    Should be

     
  5. The | Suit

    The | Suit Agent S. Forum Moderator

    :p thanks - also if you tell the page number also next time. That would make things faster
     
    Last edited: Feb 11, 2014
  6. xchronox0

    xchronox0 Space Spelunker

    I'll keep that in mind.
     
  7. Desolator

    Desolator Pangalactic Porcupine

  8. The | Suit

    The | Suit Agent S. Forum Moderator

  9. Desolator

    Desolator Pangalactic Porcupine

  10. The | Suit

    The | Suit Agent S. Forum Moderator

    First place to start is here
    http://community.playstarbound.com/...d-errors-fixing-most-problems-yourself.69198/

    Next lets look at the errors.
    Code:
    Error: Could not load /recipies/survivaltier1axe.recipe asset, attempting to use default.
    AssetException: Could not read variant asset /recipies/survivaltier1axe.recipe
    caused by: JsonParsingException: Cannot parse json file: /recipies/survivaltier1axe.recipe
    caused by: JsonParsingException: Error parsing json: unexpected character parsing word at 4:3
    That means in the 4th line there is a letter which is not UTF-8 format. Its a good idea to rewrite that line by hand. No copy and pasting. Copying code directly from the book will result in an error since it doesn't use a standard UTF-8 Font.

    Code:
    Error: Could not load /recipies/survivaltier3axe.recipe asset, attempting to use default.
    AssetException: Could not read variant asset /recipies/survivaltier3axe.recipe
    caused by: JsonParsingException: Cannot parse json file: /recipies/survivaltier3axe.recipe
    caused by: JsonParsingException: Error parsing json: bad array, should be ',' or ']' at 4:2
    There is a mistake in the 4th line 2nd space. You will need to look on the 4th line and 3rd line. You are either missing a comma or bracket.

    Also can you edit the post with all that code. And just put it in a spoiler tag or or remove it.
     
  11. Desolator

    Desolator Pangalactic Porcupine

    i'll write down the recipie for the tier 1 axe
    {
    "input" : [
    { "item" : "ironbar", "count" : 3 },
    ],
    "output" : { "item" : "survivaltier1axe", "count" : 1 },
    "groups" : [ "anvil", "weapons", "all" ]
    }

    and the tier 3 axe
    {
    "input" : [
    { "item" : "copperbar", "count" : 10 }
    { "item" : "steelbar", "count" : 5 }
    ],
    "output" : { "item" : "survivaltier3axe", "count" : 1 },
    "groups" : [ "anvil", "weapons", "all" ]
    }
     
  12. The | Suit

    The | Suit Agent S. Forum Moderator

    You can use the [ code] tags its the symbol which looks like a piece of paper with < > inside of it.

    Code:
    {
    "input" : [
    { "item" : "ironbar", "count" : 3 }, <--
    ],
    "output" : { "item" : "survivaltier1axe", "count" : 1 },
    "groups" : [ "anvil", "weapons", "all" ]
    }
    That coma is not necessary. There is no dataset after that. So it is the "Last line" of the data set "input"
     
  13. Desolator

    Desolator Pangalactic Porcupine

    what about the other one? also how do you do spoilers/code etc.
     
  14. The | Suit

    The | Suit Agent S. Forum Moderator

    In the Tier 3 axe
    Code:
    {
    "input" : [
    { "item" : "copperbar", "count" : 10 } <--
    { "item" : "steelbar", "count" : 5 }
    ],
    "output" : { "item" : "survivaltier3axe", "count" : 1 },
    "groups" : [ "anvil", "weapons", "all" ]
    }
    You are actually missing the comma. There ia a data set after copperbar which is steer bar. Hence that line requires a comma.

    Just press edit on the previous post.
    Don't use code tag on that one. It is just 2 big and messy. Just delete it since you pasted the pastbin link anyway.

    To put it in code tags - cut out the code
    press the code tag button paper with < > and paste the code into the new window
     
  15. Desolator

    Desolator Pangalactic Porcupine

    what about these other ones
    tier 2
    Code:
    {
      "input" : [
        { "item" : "ironbar", "count" : 5 }
      ],
      "output" : { "item" : "survivaltier2axe", "count" : 1 },
      "groups" : [ "anvil", "weapons", "all" ]
    }
    
    tier 4
    Code:
    {
      "input" : [
        { "item" : "steelbar", "count" : 5 }
      ],
      "output" : { "item" : "survivaltier4axe", "count" : 1 },
      "groups" : [ "anvil", "weapons", "all" ]
    }
    
    EDIT: forgot tier 5

    tier 5
    Code:
    {
      "input" : [
        { "item" : "durasteelbar", "count" : 5 }
      ],
      "output" : { "item" : "survivaltier5axe", "count" : 1 },
      "groups" : [ "metalworkstation", "weapons", "all" ]
    }
    
     
  16. The | Suit

    The | Suit Agent S. Forum Moderator

    Syntax wise they are all fine.
    One easy way to check Syntax as Lonestar Mentioned in the Starbound.log thread is to use this site
    http://json.parser.online.fr/

    That will check for syntax mistakes.
    But it won't obviously find reference mistakes. That will still require starbound.log
     
  17. Desolator

    Desolator Pangalactic Porcupine

    ok. no words can describe how grateful i am! :speechless::speechless::speechless::speechless::speechless::speechless::speechless::speechless::speechless::speechless::speechless::)
     
    The | Suit likes this.
  18. Desolator

    Desolator Pangalactic Porcupine

    hmm, still cant find the weapons, checked the starbound.log and everything seems fine, can craft. something that im doing wrong?
     
  19. The | Suit

    The | Suit Agent S. Forum Moderator

    Only weapons in Tier 1 are shown.
    If you add them in Tier 2 3 4 5 those tiers have to be unlocked again.
    Also keep in mind the player.config to add those blueprints to the appropriate tiers
     
  20. Desolator

    Desolator Pangalactic Porcupine

    how do i do that (sorry, this is my first mod and im an absolute noob at it)
     
Thread Status:
Not open for further replies.

Share This Page