PhoenicisOrg / scripts

Phoenicis scripts
GNU Lesser General Public License v3.0
64 stars 49 forks source link

League of Legends download does not work #1101

Open ElMango28 opened 5 years ago

ElMango28 commented 5 years ago

org.phoenicis.tools.http.DownloadException: Download of https://riotgamespatcher-a.akamaihd.net/ShellInstaller/EUW/LeagueofLegends_EUW_Installer_2016_11_10.exe has failed at phoenicis.tools@5.0-alpha-2/org.phoenicis.tools.http.Downloader.saveConnectionToStream(Downloader.java:241) at phoenicis.tools@5.0-alpha-2/org.phoenicis.tools.http.Downloader.get(Downloader.java:196) at phoenicis.tools@5.0-alpha-2/org.phoenicis.tools.http.Downloader.get(Downloader.java:93) at phoenicis.tools@5.0-alpha-2/org.phoenicis.tools.http.Downloader.get(Downloader.java:74) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$333$2585$^eval$cu1$restOf.get([utils, functions, net, download]:124) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$322$1783$^eval$cu1$restOf.get([utils, functions, net, resource]:101) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$305$827A$^eval$cu1$restOf.run#L:22(:94) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$294$553$^eval$cu1$restOf.go([engines, wine, quick_script, installerscript]:30) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$271$562$^eval.run(:17) at jdk.nashorn.javaadapters.org_phoenicis_scriptsInstaller.run(Unknown Source) at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$270$^eval$cu1$restOf.:program(:124) at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655) at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527) at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456) at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413) at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409) at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162) at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) at phoenicis.scripts@5.0-alpha-2/org.phoenicis.scripts.nashorn.NashornEngine.eval(NashornEngine.java:50) at phoenicis.scripts@5.0-alpha-2/org.phoenicis.scripts.nashorn.NashornScriptInterpreter.runScript(NashornScriptInterpreter.java:35) at phoenicis.scripts@5.0-alpha-2/org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$runScript$0(BackgroundScriptInterpreter.java:35) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://riotgamespatcher-a.akamaihd.net/ShellInstaller/EUW/LeagueofLegends_EUW_Installer_2016_11_10.exe at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1913) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245) at phoenicis.tools@5.0-alpha-2/org.phoenicis.tools.http.Downloader.saveConnectionToStream(Downloader.java:214) ... 24 more Capture d’écran de 2019-08-23 20-29-57

plata commented 5 years ago

Looks to me like the download link is not correct anymore. I will transfer the issue to scripts.

plata commented 5 years ago

Does this one work: https://riotgamespatcher-a.akamaihd.net/releases/live/installer/deploy/League%20of%20Legends%20installer%20EUW.exe?

ImperatorS79 commented 5 years ago

This was all the point of #797. But I cannot test which verbs does the game needs since I do not have the game.

plata commented 5 years ago

Me neither. @ElMango28 could you try #797?

madoar commented 5 years ago

It won't work. According to WineHQ we will need a patched version of wine to make League work. We currently don't have this patched version as far as I know.

Ignore the above it seems like this was addressed in #797.

madoar commented 5 years ago

797 appears to be out of sync

ElMango28 commented 5 years ago

i don't know what to do.. i'm so lost x(

Zemogiter commented 5 years ago

@ElMango28 please try #1109 the new script finally worked for me and I was able to download and install the game

ImperatorS79 commented 5 years ago

@ElMango28 You should also use latest phoenicis from github.