- Pavelad63
- Messages : 1
Date d'inscription : 29/12/2020
[Résolu] Problème Bootstrap fichier json introuvable
Mar 29 Déc - 21:57
Tutoriel suivi: tutoriel suivi
Code d'erreur: X
Décrivez votre problème: Fichier Json introuvable après avoir mit les fichiers sur mon site via FTP
Je suis tout nouveau dans le développement et pour le moment je ne fais qu'apprendre, donc désolé si l'erreur peut paraitre évidente.
Console
Launcher Main
BootstrapConstants
Code d'erreur: X
Décrivez votre problème: Fichier Json introuvable après avoir mit les fichiers sur mon site via FTP
Je suis tout nouveau dans le développement et pour le moment je ne fais qu'apprendre, donc désolé si l'erreur peut paraitre évidente.
Console
- Code:
java.io.FileNotFoundException: https://technofight.fr/paradox-fight/public/1.12.2.json
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1896)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at fr.trxyy.alternative.alternative_api.updater.GameUpdater.downloadVersion(GameUpdater.java:267)
at fr.trxyy.alternative.alternative_api.updater.GameUpdater.run(GameUpdater.java:144)
at fr.pavelad.serveurcreeper.LauncherPanel$7.run(LauncherPanel.java:354)
Launcher Main
- Code:
public class LauncherMain extends AlternativeBase {
private GameFolder gameFolder = new GameFolder("ParadoxFight");
private LauncherPreferences launcherPreferences = new LauncherPreferences("Launcher Template AlternativeAPI", 950, 800, true);
private GameLinks gameLinks = new GameLinks("https://technofight.fr/paradox-fight/public/", "1.12.2.json");
private GameEngine gameEngine = new GameEngine(this.gameFolder, this.gameLinks, this.launcherPreferences, GameStyle.FORGE_1_8_TO_1_12_2);
private GameConnect gameConnect = new GameConnect("5.135.6.246", "25565");
BootstrapConstants
- Code:
public class BootstrapConstants {
/** ========== DOSSIER D'INSTALLATION ========== **/
public static File WORKING_DIRECTORY = GameUtils.getWorkingDirectory("ParadoxFight");
/** ========== RESOURCE LOCATION ========== **/
public static ResourceLocation RESOURCE_LOCATION = new ResourceLocation();
/** ========== OU SE SITUERA LE LAUNCHER ========== **/
public static File LAUNCHER = new File(WORKING_DIRECTORY, "ParadoxFight.jar");
/** ========== URL DU FICHIER launcher.cfg AVEC LE MD5 ========== **/
public static String MD5_URL = "https://technofight.fr/paradox-fight/bootstrap/ParadoxFight.cfg";
/** ========== URL DU LAUNCHER.JAR ========== **/
public static String LAUNCHER_URL = "https://technofight.fr/paradox-fight/bootstrap/ParadoxFight.jar";
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|