Starbound

Starbound

Planet Search
Oмεяυıп 2024 年 8 月 10 日 下午 6: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
最后由 Oмεяυıп 编辑于; 2024 年 8 月 10 日 下午 7:07
< >
正在显示第 1 - 2 条,共 2 条留言
hippopotomonstrosesquipedalian  [开发者] 2024 年 8 月 10 日 下午 9: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мεяυıп 2024 年 8 月 10 日 下午 11:59 
引用自 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!
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50