Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Fix to opening ServerGrid.json


qdogg

Recommended Posts

There seems to be many people getting errors when trying to open their server's servergrid.json with the Island Editor.

 

I suggest you download Notepad++ to open the file with so you can see line numbers. Then, attempt to open the file with the Island Editor. Pay close attention to the error you receive--in particular the lines in which the errors occur. These errors are related to arrays. For some reason, the servergrid.json we are pulling from our servers is using square brackets instead of curly brackets.

 

So, it'll probably say, something like "Failed to parse project json, Message: Cannot deserialize the current JSON array....". Look towards the end of the error message, you should see something like "line 446, position 41". Go to line # specified in the error (in Notepad++). You will see some line of code with square brackets, like this:

 

"spawnerOverrides": [],

 

Change the square brackets to curly brackets, like so:

 

"spawnerOverrides": {},

 

Save the file, attempt to re-open in Island Editor. Check the new error, rinse and repeat until you are eventually able to open the file in Island Editor.

Share this post


Link to post
Share on other sites

Good Find, so far that has been the issue (I used Notepad ++ to find and replace all of them)

 

There is also this one "OverrideShooterGameModeDefaultGameIni": [], <--- replace all with "OverrideShooterGameModeDefaultGameIni": {},

 

And my map opened in editor

Share this post


Link to post
Share on other sites

There are a few more issues than just that as I had to edit an extra 5 lines of code to get mine to open as it seems to be missing

 

MasterSkyLight_OceanTemperate

 

Mine wouldnt open without editing all those lines too.... But got it to open in the end...

 

https://www.survivalservers.com/forum/index.php?/topic/6775-survival-servers-original-json-fixed/

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.