#cannot join a dedicated server because of two entities sharing the same id (?)
1 messages · Page 1 of 1 (latest)
its a physics entity
not stored with normal entities
(the name is misleading, its not an entity at all)
anyway uh
to delete it your going to need to open up ships.dat
which is rather tricky
where can i find it?
yeah
alr
How to read ships.dat
Open it in any nbt viewer (aka https://www.brandonfowler.me/nbtreader/ )
Data is just bytes
Copy it, paste into a file, and open as text
It's just a serialized json
Ascii encoding
It’ll then 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”
}
]
Then do all the steps to open the file in reverse
(serialize the json, then turn the ascii string into bytes, then put it back in the ships.dat)
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
no worries
i would love that
weird
wait
the server console spams about there being entities generated
like in the thousands
maybe it really doesnt exist in the folder
given how its id is 1941 we can assume its a random piece of wanderlite
hmm
this might be a dumb question but is it possible to tell how much data does a ship carry?
because there are only 2 constructs actually made using VS and the other 2000 apparently is just wanderlite ore
im dumb nvm
what about date of creation?
since there is no particular ship with this id we could just delete anything above a certain threshold
alright
i think im going to have an aneurysm because i wanted to try to get the server to crash and it didnt
i tried removing clockwork earlier but it didnt work at first
i guess booting it up twice since deleting the mod fixes the issue itself
5 hours of troubleshooting clockwork breaking the game
i dont ever want to see that god forsaken ore ever again
it kinda didnt
the server shat the bed as soon as i tried to boot it up without it so i added it back
ah that makes sense
tried joining again but it still kicked me and died
but now it realized "ah, i forgot there is no wanderlite around. my bad g"
they are not stored at all
this will be the 3rd server with vs i did in which everything broke except for interactive somehow
anyways did you solve this?
6 gabogotrillion wanderlite ore entities!
afaik only 2 addons make phys entities, and that's vmod and trackwork
vmod is creative only, so do you have trackwork?
it literally calls "createPhysicsEntity" in stacktrace
removing clockwork fixed it in an instant two instants
🤔


