#[SOLVED] Patch for the Lunar base mission seem ineffective

43 messages · Page 1 of 1 (latest)

golden latch
#

Grateful. Hello, first try on this discord and thanks you in advance for the help I may receive! Baron
I'm here because I've done a patch for npc/miner.npctype and radiomessages/missions.radiomessages.patch
Explicative. For the first one(miner.npctype), it's a list of patch command like this:
{"op": "replace", "path": "/scriptConfig/dialog/converse/default/default/0", "value": "xxxx"},
For the seconde file, i modified the lunarbase sail's dialogs using such command:
{"op": "replace", "path": "/lunarbase01/text", "value": "xxxx"},

Confused. All seem correct for me, i checked the synthax here https://helmet.kafuka.org/sbmods/json/ and all look fine
But, when playing the lunarbase mission, the new dialogs does not appear in any way Glitch PerfectlyGenericEmoji : i tried to reset the storage/universe and even tried to get from 0 the mission with a new player, thinking that maybe the mission will stay permanently with the dialogs defined at the time she's obtained in the sail, it don't work either

Concerned. Does someone have an idea of what is causing this, or maybe have experienced this before? It would be useful for me as i would like to fix this issue quickly to continue my modding of the lunarbase missions as soon as possible. SBsnail
Big thanks Fennix

uncut ivy
#

show full patches

golden latch
#

Thanks you for your quick reply. Here the missions.radiomessages

#

miner.npctype

uncut ivy
#

are they in the right location

#

btw it's probably better to replace the entire array instead of each value like this (this wont fix your problem it's just a better patch)

golden latch
#

Yes it's seem to be in the right places: missions.radiomessages.patch is in radiomessages and miner.npctype.patch is in npcs/mission

#

You're right about the typo, i should have done this way so it would've been more lisible

uncut ivy
#

idk why its not working then lol

#

post starbound.log i guess

golden latch
#

it is strange cause i got it working for the protetorate intro npc's and protectorate intro sail radio messages so it's strange

#

i go get a log, brb

#

i delete my previous universe just in case

uncut ivy
#

none of the data is stored anywhere permanetly dont worry about the universe stuff

#
[01:29:53.724] [Error] Could not apply patch from file /npcs/outpost/outpostfloranfan.npctype.patch in source: ..\mods\Support réplicatif Morak.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) Index 1 out of range in pathApply("/items/override/1/0/chest/0")

[01:29:53.736] [Error] Could not apply patch from file /npcs/mission/miner.npctype.patch in source: ..\mods\Support réplicatif Morak.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'outOfReach' in pathApply("/scriptConfig/dialog/outOfReach/default/default/0")

[01:29:56.018] [Error] Could not apply patch from file /radiomessages/missions.radiomessages.patch in source: ..\mods\Support réplicatif Morak.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'lunarbase08b' in pathApply("/lunarbase08b/text")
golden latch
#

ok, so my theory about the mission being loaded with the old dialogues before patching is lapsed

#

it's not applied, but don't know why

#

it not recognized such things as 'lunarbase08b' it say

uncut ivy
#

theres no lunarbase08b in vanilla

#

it goes up to lunarbase08a

golden latch
#

ok

#

yes i figured it out just right now too

#

sh*t ot was a dumb mistake of mine

#

it*

uncut ivy
golden latch
#

i try it again with this change

#

brb

#

no more error for the concerned patch, it should work now i'll try

#

sail is working (radiomessages)

#

miners doesn't seem to work...

#

i must figure out why miners still don't work, but at least you helped me figure out for one part of the problem, thanks you Fennix ! It should be a dumb mistake too, like the lunarbase08b case, so i'll investigate on my side

uncut ivy
#

outOfReach doesnt exist its cantReach. but the patch i sent already fixed that scunus

golden latch
#

Yes that's it, it should work now. Damn, that two dumb mistake i could figued out without bothering you 😕 ... thanks you a lot, I can continue my lunarbase patch tommorow with your help

#

miners is working now

uncut ivy
golden latch
#

I will mark this post as solved, and it was solved quick i would'nt have hoped better help for this 👌

#

Thanks you again Baron !

#

[SOLVED] Patch for the Lunar base mission seem ineffective