Howdy, my server has been repeatedly crashing throwing the error above, is there a way to delete ships with specific numerical IDs?
You can teleport a random ship to you, and then maybe use another command to get its id and then if it’s the right one delete it, if not disassemble it for a bit and teleport the next ship
how do I teleport a random ship? And if I do teleport it how do I delete it before the server crashes?
Actually I think the better way for you might be to delete the ship from the ships.dat
I’ll take a look and see if I can figure it out, thanks!
Just do those steps, find the ship with that id, remove it, then do the steps backwards
It’ll look a lot nicer if you put it into https://jsonformatter.org
You can then see that there’s some data, and then a “ships” list (square brackets) full of ship dictionary’s (curly brackets) and each ship has an id value. You can search for your troublesome id and then delete the curly brackets group it’s in
So for example:
ships: [
{
“id”: good,
“etc”: “data”
},
{
“id”: bad,
“etc”: “data”
},
{
“id”: good2,
“etc”: “data”
}
]
Would become:
ships: [
{
“id”: good,
“etc”: “data”
},
{
“id”: good2,
“etc”: “data”
}
]
But before you put the file back into the world I would recommend making a backup, just in case you screw something up you don’t want to delete all your ship data
I think the issue might be that a ship is in the process of being made, or perhaps two at the same time. And those ships want the same ID. There’s no ID 697 in the known ships so that’s my only theory
Yeah we have tons of other ships assembled, but there’s no ship with the id 697 in the ship data file
I’m not entirely sure if there’s anything different, as far as I know nobody assembled a ship for this. My theory is maybe some wanderlite from clockwork was being shipified in the middle of a server crash or restart and both want to be on the same ID?
I think VS has just gotten really confused aboutt a ships ID for somer reason
Bump because it happens too often that somebody loads the chunk and crashes the server :3dsad:
Could you disassemble everything you care about, and then delete anything left?
This conversation is on Discord · Reply there