modpack-installer icon indicating copy to clipboard operation
modpack-installer copied to clipboard

404 error trying to download Forge

Open nhansendev opened this issue 3 years ago • 1 comments

It looks like the auto-generated URL format doesn't work for this specific version of Forge (MC 1.7.10).

Manually navigated to get this working link: https://maven.minecraftforge.net/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-installer.jar

Auto-generated, non-working link (404 error): https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.4.1614/forge-1.7.10-10.13.4.1614-installer.jar

The modpack causing this issue is here.

I was able to successfully install a different modpack with a different version of Forge.

nhansendev avatar Jul 20 '22 02:07 nhansendev

Hmm, that's interesting. Since there may be more versions that do this, I'll have to add in some additional logic to try the alternate URL if the first one fails.

Also, I should add a link to LexManos's Patreon since this code bypasses the adfly links...

cdbbnnyCode avatar Jul 20 '22 03:07 cdbbnnyCode

Fixed in 7691391

cdbbnnyCode avatar Feb 07 '23 14:02 cdbbnnyCode