August 19 - The day when all your mods died.

Discussion in 'Dev Blog' started by OmnipotentEntity, Aug 20, 2014.

  1. MewMan

    MewMan Phantasmal Quasar

    I want to ask, How does one separate the tiers in this new system? Like Tier 1 and then Tier 2, the coding seems MUCH more simple but I just can't for the life of me figure out the tiering system now.

    -edit- I recently read through the comments and am still rather confused on just what Im doing, I've been trying to switch around a few codes to see if Im doing it just right but i dunno.
     
    Last edited: Aug 24, 2014
  2. ja450n

    ja450n Phantasmal Quasar

    are you asking how to add items to specific tiers?
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

  4. MewMan

    MewMan Phantasmal Quasar

    Pretty much, I am kinda wanting to update my mod before the actual update releases "Which I should probably wait until I can figure it out but still" but I'm being stubborn and trying to learn now.
    If you want I can share some of the code im trying to change, Just so you can see.

    I have a bit of code that actually was validated by the online patching thing I wrote, but something tells me It's just not exactly right...
     
  5. ja450n

    ja450n Phantasmal Quasar

    If you're wanting to add stuff to specific tiers, go one page back in this thread to the post i linked to, Kawa was kind enough to help me and provide a couple of example options

    -- edit --

    Using some values from one of your mods, here's an example of adding items to Tier2

    Code:
    [
    { "op": "add",
        "path": "/defaultBlueprints/tier2",
        "value" : [
          { "item" : "redstarsword+2" },
          { "item" : "yellowstarsword+2" },
          { "item" : "bluestarsword+2" },
          { "item" : "pinkstarsword+2" },
          { "item" : "purplestarsword+2" },
          { "item" : "rainbowstarsword+2" },
          { "item" : "greenstarsword+2" },
          { "item" : "legionstarsword+2" },
          { "item" : "greenstardagger+2" },
          { "item" : "legionstardagger+2" },
          { "item" : "redstardagger+2" },
          { "item" : "pinkstardagger+2" },
          { "item" : "purplestardagger+2" },
          { "item" : "yellowstardagger+2" },
          { "item" : "rainbowstardagger+2" },
          { "item" : "bluestardagger+2" },
          { "item" : "bluestartana+2" },
          { "item" : "redstartana+2" },
          { "item" : "greenstartana+2" },
          { "item" : "yellowstartana+2" },
          { "item" : "pinkstartana+2" },
          { "item" : "purplestartana+2" },
          { "item" : "legionstartana+2" },
          { "item" : "rainbowstartana+2" },
          { "item" : "bluestaraxe+2" }
        ]}
    ]
    
     
    Last edited: Aug 24, 2014
  6. MewMan

    MewMan Phantasmal Quasar

    Hmm, So you need to add tiers before adding items to tiers? Maybe Im just reading this whole thing wrong >-< Knowing me that's the case.

    Let's say one of my weapons from my mod I've been working on would it look like this?
    Code:
    [
      { "op": "add", "path": "/starweaponspack/items/swords/Starswords/bluestarswords/-", "value" : { "item" : "bluestarsword" } }
    ]
     
  7. ja450n

    ja450n Phantasmal Quasar

    right, if you look at the default player.config there is no "tier2" object, so you have to create it

    i think we posted at the same time, check the last post from me, i edited it to provided an example of one of the ways kawa mentioned using items from one of your mods.
     
  8. MewMan

    MewMan Phantasmal Quasar

    AHH I see now, Thank you that makes a ton more sense now, And after I get done with this I guess I just name it player.config.patch right?
     
  9. ja450n

    ja450n Phantasmal Quasar

    yep!

    any place you'd previously use a _merge needs to be the name of the file you're wanting to patch, plus the ".patch" extension
     
  10. MewMan

    MewMan Phantasmal Quasar

    One last question, Is it possible for me to try these patches in the current version?
     
  11. ja450n

    ja450n Phantasmal Quasar

    the new patching system is currently only in nightly[DOUBLEPOST=1408855939][/DOUBLEPOST]
    If you're trying to change what it shows when you're holding the item, you'll need to patch /items/materials/apexshipdetails.matitem
     
    Last edited: Aug 24, 2014
    Broconut likes this.
  12. GrekkaTarq

    GrekkaTarq Aquatic Astronaut

    Thankies :)
     
  13. Stormo

    Stormo Scruffy Nerf-Herder

    The only thing I have a problem with is killing starcheat! Sure you could spawn stuff but I used it to change the colour of my name and edit my description to what I like. I f you could make something like that it would be great! Just take all the spawning stuff out!
     
  14. Kawa

    Kawa Tiy's Beard

    How is this "killing" Starcheat?
     
  15. Ehksidian

    Ehksidian Spaceman Spiff

    Pretty certain Starcheat is going to work, since it's an external program.
     
  16. Scival

    Scival Oxygen Tank

    Starcheat? Yeah, it needs fixing.
    Seriously needs fixing.
    Whit all the systems changed around and stuff, spawning items doesnt work whit the nightlies. xD
    Well, so my friend said. I dont have access to them myself, so..
     
  17. Kawa

    Kawa Tiy's Beard

    I've tried it myself recently. It's not just spawning items that's broken right now, it's that the player's inventory seems to have changed format. Here's a conversion from binary to text of one relevant part, for comparison:
    Stable
    Code:
    "equipment": [
        null,
        {
            "count": 1,
            "data": {
                "directives": "?replace;ffca8a=d29ce7;e0975c=a451c4;a85636=6a2284;6f2919=320c40"
            },
            "name": "felintier1chest"
        },
        {
            "count": 1,
            "data": {
                "directives": "?replace;ffca8a=d29ce7;e0975c=a451c4;a85636=6a2284;6f2919=320c40"
            },
            "name": "felintier1pants"
        },
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null
    ],
    Nightly
    Code:
    "equipment" : [
        null,
        {
            "__id" : "Item",
            "__content" : {
                "parameters" : {
                    "directives" : "?replace;ffca8a=d29ce7;e0975c=a451c4;a85636=6a2284;6f2919=320c40"
                },
                "name" : "felintier1chest",
                "count" : 1
            },
            "__version" : 2
        },
        {
            "__id" : "Item",
            "__content" : {
                "parameters" : {
                    "directives" : "?replace;ffca8a=d29ce7;e0975c=a451c4;a85636=6a2284;6f2919=320c40"
                },
                "name" : "felintier1pants",
                "count" : 1
            },
            "__version" : 2
        },
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null
    ],
     
  18. demanrisu

    demanrisu The Original Agaran Menace NPC

    Can you elaborate on this?
     
  19. Scival

    Scival Oxygen Tank

    Because i dont want to delete my universe file whit my singleplayer base just to update so..
     
  20. C0bra5

    C0bra5 Oxygen Tank

    i'm trying to get my races patched so that i can start to work on the ships but it allways crash when i'm trying to open the ai station
    here is the crash log:

    Code:
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Created initial window 1000x600
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Initializing SDL Window
    Info: Re-created window 1920x1017
    Info: Renderer initialized
    Info: Done loading Star::Root.
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: Renderer destroyed
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Acquiring universe lock file
    Info: UniverseServer: Loading world db for world 39319989:-20284178:-14549613:9:8
    Info: UniverseServer: client connection made from local
    Info: UniverseServer: Sending Handshake Challenge
    Info: UniverseClient: Sending Handshake Repsonse
    Info: UniverseServer: Client 'Soulful Hue' <1> (Fifo <0x12bac410>) connected
    Info: UniverseServer: Loading ship world received from client <User: Soulful Hue>
    Warn: Recovering SimpleDatabase at device: <unnamed temp file>
    Warn: Recovery finished
    Info: Renderer initialized
    Error: Exception caught in client main-loop: (MapException) Key 'pegasus' not found in Map::get()
      MapException::MapException(string)
      AiInterface::setCommandList(StringList)
      AiInterface::populateTopLevel()
      AiInterface::displayed()
      PaneManager::displayPane(PaneLayer, shared_ptr<Pane>, function<void (shared_ptr<Pane>)>)
      RegisteredPaneManager<MainInterfacePanes>::displayRegisteredPane(MainInterfacePanes)
      MainInterface::handleInteractAction(InteractAction)
      ClientApplication::updateRunning()
      ClientApplication::update()
      StarApplicationBase::run()
      _SDL_main
      _console_main
    
    Info: UniverseClient: Client disconnecting...
    Info: Client received world stop packet, leaving: Removed
    Info: UniverseServer: Client 'Soulful Hue' <1> (Fifo <0x12bac410>) disconnected
    Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    Info: Renderer destroyed
    Info: Application quitting!
    Info: Client shutdown gracefully
    Info: Shutting down Star::Root
    this is the patch i'm using:
    name of the file: ai.config.patch
    Code:
    [
      {
        "op": "add",
        "path": "/species/pony",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      },
      {
        "op": "add",
        "path": "/species/ponex",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      },
      {
        "op": "add",
        "path": "/species/unicorn",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      },
      {
        "op": "add",
        "path": "/species/pegasus",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      },
      {
        "op": "add",
        "path": "/species/alicorn",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      },
      {
        "op": "add",
        "path": "/species/changeling",
        "value": {
          "aiFrames": "hylotlAi.png",
          "staticFrames": "staticHylotl.png",
          "openSpeech": {
            "0": [
              {
                "animation": "unique",
                "text": "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier": 0.5
              }
            ],
            "1": [
              {
                "animation": "talk",
                "text": "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier": 1
              }
            ],
            "2": [
              {
                "animation": "talk",
                "text": "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier": 1
              }
            ]
          }
        }
      }
    ]
    if some one can help me to understand what is wrong with my patch this thing please tell me what i'm doing wrong
    thank you.

    EDIT nvm i just needed to make a patch for every .aicommand files
     
    Last edited: Aug 24, 2014

Share This Page