Plugin not submitting

Plug-in related stuff can be discussed here.

Moderators: Plugin Moderators, Scenario Moderators

User avatar
kavgrkxz
Settler
Posts: 3
Joined: 21 Jun 2024, 13:13

Plugin Creator

Platform

Plugin not submitting

#1

Post by kavgrkxz » 06 Jul 2024, 11:46

Does anyone know what is wrong with my plugin? It just says:
Error while reading your plugin: 4: Syntax error in "/sample_dsc.json"
when the game loaded and functioned normally and the json is just "sample_dsc.json", no slash
runways.zip
(256.75 KiB) Downloaded 308 times
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Plugin not submitting

#2

Post by Lobby » 06 Jul 2024, 12:45

There's a superfluous comma in line 5888:
image.png
A useful tool to debug issues like this one: https://jsonlint.com/
It works in the game because different JSON parsers handle invalid JSON differently.
User avatar
kavgrkxz
Settler
Posts: 3
Joined: 21 Jun 2024, 13:13

Plugin Creator

Platform

Re: Plugin not submitting

#3

Post by kavgrkxz » 08 Jul 2024, 09:13

it finally works now thanks!
Post Reply Previous topicNext topic

Return to “Plug-In Discussion”