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.
Hey - I think you should point to the link mentioned in this post http://community.playstarbound.com/...anging-json-merging.81014/page-2#post-2085791 Direct link: http://json-schema-validator.herokuapp.com/jsonpatch.jsp It will help a lot of people test patching and learn how to set it up.
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...
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" } ]} ]
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" } } ]
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.
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?
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
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
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!
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..
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 ],
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