Avorion

Avorion

View Stats:
Lera Aug 16, 2023 @ 12:32pm
❓ Delete a ship with a command - How?
Is there a way to delete a ship via a command?
I had a weird bug happening in a sector where my own alliance randomly showed up with like 8 ships named "Craft 0" "Craft 1" and so on and they keep jumping in and out of the system with no time for me to actually get in one and sell it to make it be gone.

It's been happening for two days now, they're constantly jumping in and out of the system, they have no captain and can't take orders, I can't sell them, I can't stop them, it's annoying as hell. Please tell me how I can manually wipe a ship or a sector, if possible even with file deleting.
Last edited by Lera; Aug 16, 2023 @ 1:28pm
< >
Showing 1-5 of 5 comments
Druark Aug 18, 2023 @ 4:52am 
You could use the debug menu on the ship, this adds it as an interaction to the ship. You open it and there will be an option to kill the ship. Just don't accidentally add it to yourself or you'll blow up your own ship instead. There may be an option to just delete the ship in there too, I can't recall precisely as there is quite a few options.

Worst case, speculating here but you might be able to just delete the sector file once you know they're in it? Obviously backup your galaxy before trying that.

They're saved in: %Appdata%\Avorion\galaxies
Last edited by Druark; Aug 18, 2023 @ 4:52am
Lera Aug 19, 2023 @ 11:28pm 
Originally posted by Druark:
You could use the debug menu on the ship, this adds it as an interaction to the ship. You open it and there will be an option to kill the ship. Just don't accidentally add it to yourself or you'll blow up your own ship instead. There may be an option to just delete the ship in there too, I can't recall precisely as there is quite a few options.

Worst case, speculating here but you might be able to just delete the sector file once you know they're in it? Obviously backup your galaxy before trying that.

They're saved in: %Appdata%\Avorion\galaxies

The issue is I can't even do that because the ship goes in and out of the sector too fast to even interact with it. How do I delete a sector file? I think the ships would still be teleporting in and out even if the sector is deleted. Can I delete ships via files?
Lera Aug 21, 2023 @ 9:39pm 
Anyone?
KnifeHeart Aug 21, 2023 @ 10:53pm 
If you go to %appdata%/Avorion/galaxies/yourgalaxy/sectors there should be a "file" that is labeled say... 151_-423 - this would be the sector file for 151:-423. You just need to find the file for the sector in question and delete that.
KnifeHeart Aug 21, 2023 @ 10:55pm 
There's almost certainly a way to delete a craft in less than 5 seconds with a command but I am not sure how to do it offhand. Just post here again if that doesn't solve your problem and I will try to figure it out.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Aug 16, 2023 @ 12:32pm
Posts: 5