Starbound

Starbound

Planet Search
Oмεяυıп 10. aug. 2024 kl. 18:03
Mod Support Error
I am trying to add internal support for this mod, but I keep getting a particular error.
If I include both MPI and this mod in my race mod's metadata, the error below occurs. If I only include MPI, there is no error, but then my Planet Search changes don't apply... If I just include Planet Search, the error below happens once more.

It is only happening with this one particular mod, as I'm working on an update and doing internal patches and support.
For my other race mods, which have no changes yet, there are no errors. So I know it is somehow my race mod and it's relating dungeons...?

This error happens when I try to view a planet's stats in the navigation menu - specifically when this specific race mod's dungeons are located on said planet. Everything freezes in place, and then I have to close it.

https://pastebin.com/5QumKMsd

https://pastebin.com/6s5Bv7yY
Sidst redigeret af Oмεяυıп; 10. aug. 2024 kl. 19:07
< >
Viser 1-2 af 2 kommentarer
hippopotomonstrosesquipedalian  [udvikler] 10. aug. 2024 kl. 21:22 
That's an error with More Planet Info expecting "icon" to exist for everything in "displayDungeons". Planet Search supports using "icon" instead of "ps_icon" so the easiest way to fix it would be to have your patch like this:
{"op": "test", "path": "/displayDungeons"}, {"op": "add", "path": "/displayDungeons/denelaun_greentribeforest", "value": { "ps_name": "De'nelaun ^green;Green Tribe^reset;", "description": "De'nelaun life signs detected. Likely a \"^green;Green Tribe^reset;\".", "icon": "/interface/cockpit/dungeons/denelaungreentribe.png" }
Or if you'd rather only have "ps_name" exist if Planet Search is installed then you could instead change the latter half of your patch to be like this:
{"op": "test", "path": "/displayDungeons/apexbase/ps_name"}, { "op": "add", "path": "/displayDungeons/denelaun_greentribeforest/ps_name", "value": "De'nelaun ^green;Green Tribe^reset;" }

Hope this helps! :steamthumbsup:
Oмεяυıп 10. aug. 2024 kl. 23:59 
Oprindeligt skrevet af floyd:
That's an error with More Planet Info expecting "icon" to exist for everything in "displayDungeons". Planet Search supports using "icon" instead of "ps_icon" so the easiest way to fix it would be to have your patch like this:
{"op": "test", "path": "/displayDungeons"}, {"op": "add", "path": "/displayDungeons/denelaun_greentribeforest", "value": { "ps_name": "De'nelaun ^green;Green Tribe^reset;", "description": "De'nelaun life signs detected. Likely a \"^green;Green Tribe^reset;\".", "icon": "/interface/cockpit/dungeons/denelaungreentribe.png" }
Or if you'd rather only have "ps_name" exist if Planet Search is installed then you could instead change the latter half of your patch to be like this:
{"op": "test", "path": "/displayDungeons/apexbase/ps_name"}, { "op": "add", "path": "/displayDungeons/denelaun_greentribeforest/ps_name", "value": "De'nelaun ^green;Green Tribe^reset;" }

Hope this helps! :steamthumbsup:
Thanks so much, man!
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50