SeedcrackerX icon indicating copy to clipboard operation
SeedcrackerX copied to clipboard

Error when leaving server

Open end-user opened this issue 3 years ago • 6 comments
trafficstars

I get this error when I close a connection [08:24:59] [Render thread/INFO]: [STDERR]: java.io.IOException: Invalid file path [08:24:59] [Render thread/INFO]: [STDERR]: at java.base/java.io.File.createNewFile(File.java:1041) [08:24:59] [Render thread/INFO]: [STDERR]: at kaptainwutax.seedcrackerX.config.StructureSave.saveStructures(StructureSave.java:30) [08:24:59] [Render thread/INFO]: [STDERR]: at net.minecraft.class_638.handler$bid000$disconnect(class_638.java:3123) [08:24:59] [Render thread/INFO]: [STDERR]: at net.minecraft.class_638.method_8525(class_638.java) ...

Am I missing a config setting or have something set wrong?

end-user avatar Jun 20 '22 12:06 end-user

Are you using a custom file path for your minecraft instance or a custom launcher?

19MisterX98 avatar Jun 24 '22 07:06 19MisterX98

Yes - using MultiMC

end-user avatar Jun 24 '22 11:06 end-user

Multimc is fine, maybe your worldname contains invalid characters for a file path. the world name is in this case the server domain. Im not sure if those even support chars that arent supported by filepaths

19MisterX98 avatar Jun 27 '22 04:06 19MisterX98

Correct, I see that there are files with world names with .txt when they're single-player, and servernames with an underscore and IP (but no extension). Almost all these files are empty though.

end-user avatar Jun 29 '22 01:06 end-user

Did this happen once, only for one server, randomly or all the time?

19MisterX98 avatar Jun 29 '22 10:06 19MisterX98

Yes, it appears to happen for all servers, everytime, but not in single player.

end-user avatar Jun 29 '22 11:06 end-user