AutoReconnect

AutoReconnect

109k Downloads

1.19.4 support

TechPro424 opened this issue ยท 11 comments

commented

Being worked on in #46

commented

Can we get support for 1.19.3? autoreconnect-3.0.0-beta cannot generate a .json configuration file.

AutoReconnect could not load the config java.nio.file.NoSuchFileException: C:\Users\starr\AppData\Roaming\.minecraft\config\autoreconnect.json at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236) at java.base/java.nio.file.Files.newByteChannel(Files.java:380) at java.base/java.nio.file.Files.newByteChannel(Files.java:432) at java.base/java.nio.file.Files.readAllBytes(Files.java:3288) at java.base/java.nio.file.Files.readString(Files.java:3366) at java.base/java.nio.file.Files.readString(Files.java:3325) at autoreconnect.config.AutoReconnectConfig.load(AutoReconnectConfig.java:39) at autoreconnect.AutoReconnect.onInitializeClient(AutoReconnect.java:34) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53) at net.minecraft.class_310.<init>(class_310.java:465) at net.minecraft.client.main.Main.method_44604(Main.java:205) at net.minecraft.client.main.Main.main(Main.java:51) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

commented

@James-P-Bennett The messages you posted are completely normal. When the mod cannot load the config file it logs a message together with the exception it got while trying to open it. In this case the config file didn't exist. As soon as you make changes to the default configuration and click save, a configuration file should be saved to the config folder.

commented

Closing this issue, as I am focusing on the 1.20 update right now (and 1.20.1 next if there's anything to be done)
If there's need for a version for 1.19.3/4 feel free to reopen (which should be possible, otherwise open a new issue)

commented

Can this please be reopened? a lot of servers are not moving to 1.20.X and are staying on 1.19.4.

commented

Would an unofficial version be enough?
You can find a build of the update made by TechPro here: #46 (comment)
I didn't end up merging it, as by the time I got to look into it 1.20 had already released, so I merged another PR for 1.20 instead and worked on releasing a version for 1.20.
I did look into TechPros update tho and tested it and it works fine.

commented

For sure would work

commented

Would an unofficial version be enough?
You can find a build of the update made by TechPro here: #46 (comment)
I didn't end up merging it, as by the time I got to look into it 1.20 had already released, so I merged another PR for 1.20 instead and worked on releasing a version for 1.20.
I did look into TechPros update tho and tested it and it works fine.

Only thing I cannot get to work with his version is the auto join message.

commented

Works fine for me, both messages and commands, in both singleplayer and multiplayer, only couldn't test it in realms.
What are you trying to reconnect to? How is the config set up? Did it use to work with older versions the way your config is set up?

commented

Works fine for me, both messages and commands, in both singleplayer and multiplayer, only couldn't test it in realms. What are you trying to reconnect to? How is the config set up? Did it use to work with older versions the way your config is set up?

Instead of explaining I just took a screenshot of my setup. I have it on a 10 second delay after joining the server but it does not do anything after I join, I sat there for a whole 2 minutes just in case. It should be typing /oneblock upon joining, or do I have it set wrong? Here is the screenshot btw. https://i.imgur.com/tLWDGuA.png

Also, I never really had too much of a use for this in the last few versions so haven't used it. But I seem to remember it working like this. I could be wrong and remembering it wrong though.

commented

If Bosscraft.net is the name you gave that server when adding it to the multiplayer screen I don't see a reason why it shouldn't work.
Anything suspicious in the logs?
Can you test on other servers and see if it works?

commented

If Bosscraft.net is the name you gave that server when adding it to the multiplayer screen I don't see a reason why it shouldn't work. Anything suspicious in the logs? Can you test on other servers and see if it works?

Ahhh, I see what I did wrong here... User error on my part. I put .com in the name and not .net... I feel incredibly stupid right now wasting your time. Sorry about that.