MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Bloquer l'accès au dossier mod

    Planifier Épinglé Verrouillé Déplacé Résolu Anciennes versions
    1.6.4
    29 Messages 5 Publieurs 7.7k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Non mais, c’est pas la question, tu as fait le setup avec un install.bat ou gradlew ?
      Sinon tu peux tenter de faire un System.out.println(Minecraft.getMinecraft().mcDataDir.getPath()); pour voir le chemin de minecraft et comprendre pourquoi il quitte le jeu.

      1 réponse Dernière réponse Répondre Citer 0
      • isadorI Hors-ligne
        isador Moddeurs confirmés Modérateurs
        dernière édition par

        J’ai fait le setup avec le install.bat

        1 réponse Dernière réponse Répondre Citer 0
        • robin4002R Hors-ligne
          robin4002 Moddeurs confirmés Rédacteurs Administrateurs
          dernière édition par

          Étrange, normalement ça devrait fonctionner. Le System.out.println(Minecraft.getMinecraft().mcDataDir.getPath()); te donne quoi ?

          1 réponse Dernière réponse Répondre Citer 0
          • isadorI Hors-ligne
            isador Moddeurs confirmés Modérateurs
            dernière édition par

            Je ne peut pas retourner sur le pc avant mercredi. Je te dit ça mercredi

            1 réponse Dernière réponse Répondre Citer 0
            • isadorI Hors-ligne
              isador Moddeurs confirmés Modérateurs
              dernière édition par

              
              2014-02-19 16:18:17 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
              2014-02-19 16:18:17 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
              2014-02-19 16:18:17 [Avertissement] [Custom Menu] Mod Custom Menu is missing a pack.mcmeta file, things may not work well
              2014-02-19 16:18:17 [Avertissement] [Mineralherb] Mod Mineralherb is missing a pack.mcmeta file, things may not work well
              2014-02-19 16:18:17 [Avertissement] [Portal WoW] Mod Portal WoW is missing a pack.mcmeta file, things may not work well
              2014-02-19 16:18:17 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Custom Menu, FMLFileResourcePack:Mineralherb, FMLFileResourcePack:Portal WoW
              2014-02-19 16:18:18 [Infos] [ForgeModLoader] Registering Forge Packet Handler
              2014-02-19 16:18:18 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
              2014-02-19 16:18:18 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
              
              
              1 réponse Dernière réponse Répondre Citer 0
              • robin4002R Hors-ligne
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                dernière édition par

                Il n’y a rien qui m’intéresse la dedans. Mets le System.out.println avant le code qui vérifie si tu utilise bien le launcher.

                1 réponse Dernière réponse Répondre Citer 0
                • isadorI Hors-ligne
                  isador Moddeurs confirmés Modérateurs
                  dernière édition par

                  comme ca:

                  
                  if(event.getSide().isClient())
                  {
                  System.out.println(Minecraft.getMinecraft().mcDataDir.getPath());
                  if(!Minecraft.getMinecraft().mcDataDir.getPath().equals("."))
                  {
                  
                  // on fait rien car on est sur eclipse
                  }
                  else if(!Minecraft.getMinecraft().mcDataDir.getPath().contains("elementlauncher"))
                  {
                  try
                  {
                  throw(new Exception("Mauvais launcher détecté"));
                  }
                  catch(Exception ex)
                  {
                  System.exit(-1);
                  }
                  }
                  }
                  
                  
                  1 réponse Dernière réponse Répondre Citer 0
                  • robin4002R Hors-ligne
                    robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                    dernière édition par

                    Oui comme ça. La parti du log que tu m’as donné ne me sert à rien, je veux celle ou on voit le résultat du System.out.println

                    1 réponse Dernière réponse Répondre Citer 0
                    • isadorI Hors-ligne
                      isador Moddeurs confirmés Modérateurs
                      dernière édition par

                      tien le log entier (je savais pas quelle partie prendre):

                      
                      févr. 19, 2014 5:49:18 PM net.minecraft.launchwrapper.LogWrapper log
                      Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                      févr. 19, 2014 5:49:18 PM net.minecraft.launchwrapper.LogWrapper log
                      Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                      févr. 19, 2014 5:49:18 PM net.minecraft.launchwrapper.LogWrapper log
                      Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                      2014-02-19 17:49:18 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
                      2014-02-19 17:49:18 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                      2014-02-19 17:49:18 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                      2014-02-19 17:49:18 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
                      2014-02-19 17:49:19 [Infos] [Minecraft-Client] Setting user: Player876
                      2014-02-19 17:49:20 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
                      2014-02-19 17:49:20 [Infos] [Minecraft-Client] Reloading ResourceManager: Default
                      2014-02-19 17:49:21 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
                      2014-02-19 17:49:21 [Infos] [STDOUT] MinecraftForge v9.11.1.953 Initialized
                      2014-02-19 17:49:21 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.953 Initialized
                      2014-02-19 17:49:21 [Infos] [STDOUT] Replaced 112 ore recipies
                      2014-02-19 17:49:21 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
                      2014-02-19 17:49:21 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\Z87GAMING\Desktop\mod\forge\mcp\jars\config\logging.properties
                      2014-02-19 17:49:21 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
                      2014-02-19 17:49:21 [Infos] [ForgeModLoader] Searching C:\Users\Z87GAMING\Desktop\mod\forge\mcp\jars\mods for mods
                      2014-02-19 17:49:22 [Infos] [ForgeModLoader] Forge Mod Loader has identified 6 mods to load
                      2014-02-19 17:49:22 [Infos] [mcp] Activating mod mcp
                      2014-02-19 17:49:22 [Infos] [FML] Activating mod FML
                      2014-02-19 17:49:22 [Infos] [Forge] Activating mod Forge
                      2014-02-19 17:49:22 [Infos] [CustomMenu] Activating mod CustomMenu
                      2014-02-19 17:49:22 [Infos] [mineralherb] Activating mod mineralherb
                      2014-02-19 17:49:22 [Infos] [PM] Activating mod PM
                      2014-02-19 17:49:22 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
                      2014-02-19 17:49:22 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
                      2014-02-19 17:49:22 [Avertissement] [Custom Menu] Mod Custom Menu is missing a pack.mcmeta file, things may not work well
                      2014-02-19 17:49:22 [Avertissement] [Mineralherb] Mod Mineralherb is missing a pack.mcmeta file, things may not work well
                      2014-02-19 17:49:22 [Avertissement] [Portal WoW] Mod Portal WoW is missing a pack.mcmeta file, things may not work well
                      2014-02-19 17:49:22 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Custom Menu, FMLFileResourcePack:Mineralherb, FMLFileResourcePack:Portal WoW
                      2014-02-19 17:49:23 [Infos] [ForgeModLoader] Registering Forge Packet Handler
                      2014-02-19 17:49:23 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
                      2014-02-19 17:49:23 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
                      2014-02-19 17:49:23 [Infos] [STDOUT] .
                      
                      
                      1 réponse Dernière réponse Répondre Citer 0
                      • robin4002R Hors-ligne
                        robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                        dernière édition par

                        Je viens de voir pourquoi x)
                        Enlève le ! dans la première condition
                        if(!Minecraft.getMinecraft().mcDataDir.getPath().equals(“.”))
                        ->
                        if(Minecraft.getMinecraft().mcDataDir.getPath().equals(“.”))

                        1 réponse Dernière réponse Répondre Citer 0
                        • isadorI Hors-ligne
                          isador Moddeurs confirmés Modérateurs
                          dernière édition par

                          marche niquel maintenant merci 🙂

                          1 réponse Dernière réponse Répondre Citer 0
                          • isadorI Hors-ligne
                            isador Moddeurs confirmés Modérateurs
                            dernière édition par

                            par contre gros bug quand je fait le recompile:

                            
                            == MCP 8.09 (data: 8.11, client: 1.6.4, server: 1.6.4) ==
                            "scalac" is not found on the PATH. Scala files will not be recompiled
                            # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle co
                            nfig, rg, ss
                            == Recompiling client ==
                            > Cleaning bin
                            > Recompiling
                            '"C:\Program Files\Java\jdk1.7.0_45\bin\javac" -encoding UTF-8 -Xlint:-options -
                            deprecation -g -source 1.6 -target 1.6 -classpath "jars\versions\1.6.4\1.6.4.jar
                            ;lib;lib\*;jars\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;jars\lib
                            raries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows
                            .jar;jars\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;j
                            ars\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.
                            jar;jars\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;jars\l
                            ibraries\com\google\guava\guava\14.0\guava-14.0.jar;jars\libraries\lzma\lzma\0.0
                            .1\lzma-0.0.1.jar;jars\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-
                            20101023.jar;jars\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-
                            1.47.jar;jars\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.
                            jar;jars\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-
                            20100824.jar;jars\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.
                            10.2.jar;jars\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;ja
                            rs\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;jars
                            \libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;jars\libraries\org\ow2\
                            asm\asm-debug-all\4.1\asm-debug-all-4.1.jar;jars\libraries\org\lwjgl\lwjgl\lwjgl
                            \2.9.0\lwjgl-2.9.0.jar;jars\libraries\commons-io\commons-io\2.4\commons-io-2.4.j
                            ar;jars\libraries\net\sourceforge\argo\argo\2.25\argo-2.25.jar;jars\libraries\co
                            m\google\code\gson\gson\2.2.2\gson-2.2.2.jar;jars\libraries\com\paulscode\codecw
                            av\20101023\codecwav-20101023.jar;jars\libraries\net\java\jinput\jinput-platform
                            \2.0.5\jinput-platform-2.0.5-natives-windows.jar;jars\libraries\net\minecraft\la
                            unchwrapper\1.8\launchwrapper-1.8.jar" -sourcepath src\minecraft -d bin\minecraf
                            t @"c:\users\z87gam~1\appdata\local\temp\java_src_path_qg1fjw.txt"' failed : 1
                            
                            == ERRORS FOUND in JAVA CODE ==
                            
                            C:\Users\Z87GAMING\Desktop\mod\forge\mcp\src\minecraft\Mineralherb\MineralherbMa
                            in.java:49: error: unmappable character for encoding UTF-8
                            throw(new Exception("Mauvais launcher d?
                            tect?"));
                            ^
                            
                            C:\Users\Z87GAMING\Desktop\mod\forge\mcp\src\minecraft\Mineralherb\MineralherbMa
                            in.java:49: error: unmappable character for encoding UTF-8
                            throw(new Exception("Mauvais launcher d?
                            tect?"));
                            
                            ^
                            
                            C:\Users\Z87GAMING\Desktop\mod\forge\mcp\src\minecraft\Portal\Portalmain.java:49
                            : error: unmappable character for encoding UTF-8
                            throw(new Exception("Mauvais launcher d?
                            tect?"));
                            ^
                            
                            C:\Users\Z87GAMING\Desktop\mod\forge\mcp\src\minecraft\Portal\Portalmain.java:49
                            : error: unmappable character for encoding UTF-8
                            throw(new Exception("Mauvais launcher d?
                            tect?"));
                            
                            ^
                            
                            4 errors
                            ==================
                            
                            !! Can not find server sources, try decompiling !!
                            Appuyez sur une touche pour continuer…
                            
                            ```___
                            j'ai rein dit ^^
                            1 réponse Dernière réponse Répondre Citer 0
                            • 1
                            • 2
                            • 1 / 2
                            • Premier message
                              Dernier message
                            Design by Woryk
                            ContactMentions Légales

                            MINECRAFT FORGE FRANCE © 2024

                            Powered by NodeBB