Skidamek / AutoModpack

Enjoy a seamless modpack installation process and effortless updates with a user-friendly solution that simplifies management, making your gaming experience a breeze.
https://modrinth.com/mod/automodpack
GNU Lesser General Public License v3.0
91 stars 29 forks source link

AutoModpack Stuck at launching games #164

Closed JulesMellot closed 9 months ago

JulesMellot commented 10 months ago

Bug description

Hi guys, For a few days now, I've been testing the mod. And I have to say that I love it, but I have a problem with it. I can't launch the game anymore. I started on the Mojang launcher, then on GDLauncher, and then on Prism.

So, I've been trying to figure out where the bug might be coming from, but I'm stuck at two points :/

1st point, when the launcher starts the game, the logs state: [21:13:37] [main/INFO]: Checking if AutoModpack is up-to-date... [21:13:37] [main/INFO]: Didn't find any updates for AutoModpack! You are on the server version: 3.4.4 [21:13:37] [main/INFO]: Modpack hash is different than server modpack hash [21:13:37] [main/WARN]: Modpack update found

The second point occurs when it gets stuck and displays: [21:13:37] [main/INFO]: Finished fetching urls in 327ms [21:13:37] [main/INFO]: In queue left 2 files to download (2kb)

Between the two points, it does check that all the mods are already installed and in the correct version. Since nothing has changed, it goes through all of them. like that :

[21:13:37] [main/INFO]: Skipping already downloaded file: /mods/tech_enhanced-1.0.3.jar

Steps to reproduce

  1. Install the mod on Client side and Server side
  2. Launch the game, go to server to download mod
  3. Restart client
  4. I can connect to server
  5. The next day, game won't launch

Expected behavior

No response

Actual behavior

No response

Relevant logs

all the log (from Prism): https://pastebin.com/MhHX5QUN

Minecraft & Mod Loader versions

1.20.1

Minecraft launcher

Vanilla, GDLauncher, Prism

Operating system

Windows 11

AutoModpack version

3.4.4

Other information

No response

Check list

JulesMellot commented 10 months ago

Hi ! I think the issue is with the hash thing. I ran multiple minecraft session with differents laucnher. First day : no problem. Second day all the launcher say : Modpack hash is different than server modpack hash. Then try to download everything then stuck.

My server restart everynight. I shutdown the rcon and test tommorrow is something change

EscapeAltDelete commented 10 months ago

Having the same issue. Only way for me to fix it is to stop the server, start the client then start the server again.

JulesMellot commented 10 months ago

I found the issue. This is from the server side. Set "generateModpackOnStart" to false on the server.

JulesMellot commented 10 months ago

And delete automodpack directory in the minecraft folder. Then Restart and go to server

Skidamek commented 10 months ago

If you are on fabric, automodpack 3.4.3 shouldn't have this issue, i am working on it

Skidamek commented 9 months ago

fixed in 3.5.0