MFF

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

    Créer la base de votre mod

    Planifier Épinglé Verrouillé Déplacé Les bases
    1.7.x
    163 Messages 40 Publieurs 101.2k Vues 7 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

      http://www.minecraftforgefrance.fr/showthread.php?tid=566#bonus
      Tu as loupé quelque chose ici. Tu t’es sûrement trompé de mot de passe ou d’émail/pseudo. (l’argument accessToken est généré avec l’émail/pseudo et le mot de passe, si un des deux est faux, il ne se créé pas et ça crash).

      1 réponse Dernière réponse Répondre Citer 0
      • AmaA Hors-ligne
        Ama
        dernière édition par

        C’est bon ! Nikel, j’avais oublié une lettre

        Si je t'ai filé un coup de main n'oublie pas le + / -
        Par contre évite les demandes d'aides en MP, tu sera sympa'

        La JavaDoc c'est comme le PQ, ça sert à ce démerder tous seul. -Victor Hugo- 2017

        Une superbe API pour animer vos super modèles CraftStudio dans Minecraft !

        1 réponse Dernière réponse Répondre Citer 0
        • xBlackOkingX Hors-ligne
          xBlackOking
          dernière édition par

          Bonjour/soir !

          J’ai bien suivi tout votre tutoriel mais lorsque je lance le server un erreur s’affiche :

          [20:24:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
          [20:24:05] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading
          [20:24:05] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.6.0_65, running on Mac OS X:x86_64:10.8.5, installed at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
          [20:24:05] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
          [20:24:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          [20:24:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
          [20:24:05] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          [20:24:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
          [20:24:06] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
          [20:24:09] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.7.2
          [20:24:09] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
          [20:24:09] [Server thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized
          [20:24:09] [Server thread/INFO] [FML]: Replaced 141 ore recipies
          [20:24:09] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
          [20:24:09] [Server thread/INFO] [FML]: Searching /Users/Thomas/Desktop/Mods/eclipse/mods for mods
          [20:24:11] [Server thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
          [20:24:13] [Server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
          [20:24:14] [Server thread/ERROR] [FML]: An error occured trying to load a proxy into {clientSide=fr.disneypickcraft.avataradventure.proxy.ClientProxy, serverSide=fr.disneypickcraft.avataradventure.proxy.CommonProxy}.fr.disneypickcraft.avataradventuremod.common.AvatarAdventure
          java.lang.ClassNotFoundException: fr.disneypickcraft.avataradventure.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]
          at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) [ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492) [FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) [guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) [LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) [LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) [guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) [guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) [FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:310) [FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:117) [DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742) [MinecraftServer$2.class:?]
          Caused by: java.lang.NullPointerException
          [20:24:14] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
          [20:24:14] [Server thread/ERROR] [FML]:
          mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
          FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed
          Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed
          avataradventure{1.0.0} [Avatar Adventure Mod] (bin) Unloaded->Errored
          [20:24:14] [Server thread/ERROR] [FML]: The following problems were captured during this phase
          [20:24:14] [Server thread/ERROR] [FML]: Caught exception from avataradventure
          cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: fr.disneypickcraft.avataradventure.proxy.CommonProxy
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) ~[ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492) ~[FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) ~[LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) ~[LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) [Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) [FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:310) [FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:117) [DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742) [MinecraftServer$2.class:?]
          Caused by: java.lang.ClassNotFoundException: fr.disneypickcraft.avataradventure.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]
          at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          Caused by: java.lang.NullPointerException
          [20:24:14] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
          cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: fr.disneypickcraft.avataradventure.proxy.CommonProxy
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) ~[ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492) ~[FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) ~[LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) ~[LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_65]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_65]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
          at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?]
          at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?]
          at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:489) ~[Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:86) ~[FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:310) ~[FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:117) ~[DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:742) [MinecraftServer$2.class:?]
          Caused by: java.lang.ClassNotFoundException: fr.disneypickcraft.avataradventure.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306) ~[?:1.6.0_65]
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.6.0_65]
          at java.lang.Class.forName(Class.java:249) ~[?:1.6.0_65]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          Caused by: java.lang.NullPointerException
          [20:24:14] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: /Users/Thomas/Desktop/Mods/eclipse/./crash-reports/crash-2014-05-21_20.24.14-server.txt
          
          1 réponse Dernière réponse Répondre Citer 0
          • gagoiG Hors-ligne
            gagoi
            dernière édition par

            Salut, apparemment, le problème vient d’une faute dans le nom de ta classe ou du package de ton common proxy. Vérifie le chemin d’accès que tu as mis et que la classe est au bon endroit.

            1 réponse Dernière réponse Répondre Citer 0
            • xBlackOkingX Hors-ligne
              xBlackOking
              dernière édition par

              @‘gagoi’:

              Salut, apparemment, le problème vient d’une faute dans le nom de ta classe ou du package de ton common proxy. Vérifie le chemin d’accès que tu as mis et que la classe est au bon endroit.

              Je ne trouve pas l’erreur… 😞
              Voici mes classe de proxy

              ClientProxy :

              package fr.disneypickcraft.avataradventuremod.proxy;
              
              public class ClientProxy extends CommonProxy {
              
              @Override
              public void registerRender()
              {
              System.out.println("méthode côté client");
              }
              
              }
              
              

              CommonProxy :

              package fr.disneypickcraft.avataradventuremod.proxy;
              
              public class CommonProxy {
              public void registerRender()
              {
              System.out.println("méthode côté serveur");
              }
              }
              
              
              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

                Tu peux envoyer aussi ta classe principale (la ligne @SidedProxy suffira).

                1 réponse Dernière réponse Répondre Citer 0
                • xBlackOkingX Hors-ligne
                  xBlackOking
                  dernière édition par

                  @‘robin4002’:

                  Tu peux envoyer aussi ta classe principale (la ligne @SidedProxy suffira).

                  C’est à dire ? :s
                  (Désolé pour l’instant je débute encore un peu dans le codage)

                  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

                    Dans ta classe principale tu as une ligne @SidedProxy(…
                    Il me faut ce que tu as mit dans cette ligne.

                    1 réponse Dernière réponse Répondre Citer 0
                    • xBlackOkingX Hors-ligne
                      xBlackOking
                      dernière édition par

                      @‘robin4002’:

                      Dans ta classe principale tu as une ligne @SidedProxy(…
                      Il me faut ce que tu as mit dans cette ligne.

                      Voilà 🙂 :

                      @SidedProxy(clientSide = "fr.disneypickcraft.avataradventure.proxy.ClientProxy", serverSide = "fr.disneypickcraft.avataradventure.proxy.CommonProxy")
                      public static CommonProxy proxy;
                      
                      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

                        @SidedProxy(clientSide = "fr.disneypickcraft.avataradventuremod.proxy.ClientProxy", serverSide = "fr.disneypickcraft.avataradventuremod.proxy.CommonProxy")
                        public static CommonProxy proxy;
                        

                        ça s’est joué à trois caractère prêt.
                        avataradventuremod != avataradventure

                        1 réponse Dernière réponse Répondre Citer 0
                        • xBlackOkingX Hors-ligne
                          xBlackOking
                          dernière édition par

                          @‘robin4002’:

                          @SidedProxy(clientSide = "fr.disneypickcraft.avataradventuremod.proxy.ClientProxy", serverSide = "fr.disneypickcraft.avataradventuremod.proxy.CommonProxy")
                          public static CommonProxy proxy;
                          

                          ça s’est joué à trois caractère prêt.
                          avataradventuremod != avataradventure

                          Ah Oui ! Une faute toute bête ! 😛
                          Merci beaucoup 😉

                          1 réponse Dernière réponse Répondre Citer 0
                          • K Hors-ligne
                            Kahash
                            dernière édition par

                            Hello there ! J’ai plusieurs erreurs sur ma classe principale que je vais vous lister.

                            Donc je vous transmet le contenu du fichier de ma classe (ModTutoriel.java):

                            package fr.omgcraft.pineapple.tutoriel.common;
                            
                            import cpw.mods.fml.common.Mod;
                            import fr.omgcraft.pineapple.tutoriel.proxy.CommonProxy;
                            
                            @Mod(modid = "modtutoriel", name = "Mod Tutoriel", version = "1.0.0")
                            public class ModTutoriel
                            {
                            @Instance("modtutoriel")
                            public static ModTutoriel instance;
                            public static final String MODID = "modtutoriel";
                            
                            @SidedProxy(clientSide = "fr.omgcraft.pineapple.tutoriel.proxy.ClientProxy", serverSide = "fr.omgcraft.pineapple.tutoriel.proxy.CommonProxy")
                            public static CommonProxy proxy;
                            
                            @eventHandler
                            public void preInit(FMLPreInitializationEvent event)
                            {
                            
                            }
                            
                            @eventHandler
                            public void init(FMLInitializationEvent event)
                            {
                            proxy.registerRender();
                            }
                            
                            @eventHandler
                            public void postInit(FMLPostInitializationEvent event)
                            {
                            
                            }
                            }
                            
                            

                            Voici également le contenu de mes deux autres fichiers :

                            ClientProxy.java

                            package fr.omgcraft.pineapple.tutoriel.proxy;
                            
                            public class ClientProxy extends CommonProxy
                            {
                            @Override
                            public void registerRender()
                            {
                            System.out.println("méthode côté client");
                            }
                            }
                            
                            

                            CommonProxy.java

                            package fr.omgcraft.pineapple.tutoriel.proxy;
                            
                            public class CommonProxy
                            {
                            public void registerRender()
                            {
                            System.out.println("méthode côté serveur");
                            }
                            }
                            
                            

                            Donc, voici la liste de mes erreurs :

                            Description Resource Path Location Type
                            Instance cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 9 Java Problem
                            SidedProxy cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 13 Java Problem
                            The attribute value is undefined for the annotation type Instance ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 9 Java Problem
                            The attribute serverSide is undefined for the annotation type SidedProxy ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 13 Java Problem
                            The attribute clientSide is undefined for the annotation type SidedProxy ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 13 Java Problem
                            FMLPreInitializationEvent cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 17 Java Problem
                            eventHandler cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 16 Java Problem
                            FMLInitializationEvent cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 23 Java Problem
                            eventHandler cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 22 Java Problem
                            FMLPostInitializationEvent cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 29 Java Problem
                            eventHandler cannot be resolved to a type ModTutoriel.java /Minecraft/src/main/java/fr/omgcraft/pineapple/tutoriel/common line 28 Java Problem
                            
                            

                            On dirait que j’ai loupé quelque chose dans la configuration de Forge ou Eclipse, mais j’ai du mal à trouver ce dont il peut bien s’agir.

                            Ah, et j’y pense mais j’ai essayé de lancer malgré tout la compilation, je vous transmet le contenu de la console java :

                            [19:15:19] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                            [19:15:19] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                            [19:15:19] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                            java.io.IOException: Server returned HTTP response code: 403 for URL: https://authserver.mojang.com/authenticate
                            at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
                            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
                            at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
                            at cpw.mods.fml.common.launcher.Yggdrasil.login(Yggdrasil.java:108)
                            at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java:91)
                            at net.minecraft.launchwrapper.Launch.launch(Launch.java:113)
                            at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                            [19:15:20] [main/INFO] [FML]: Forge Mod Loader version 7.2.209.1112 for Minecraft 1.7.2 loading
                            [19:15:20] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_05, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8
                            [19:15:20] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                            [19:15:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                            [19:15:20] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                            [19:15:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                            [19:15:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                            [19:15:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                            [19:15:20] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                            [19:15:20] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Travail/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
                            [19:15:20] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
                            [19:15:20] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Travail/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
                            [19:15:20] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                            [19:15:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                            [19:15:20] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                            [19:15:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                            [19:15:21] [main/ERROR] [LaunchWrapper]: Unable to launch
                            java.lang.reflect.InvocationTargetException
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
                            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
                            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
                            at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
                            at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
                            Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['accessToken']
                            at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
                            at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
                            at net.minecraft.client.main.Main.main(Main.java:47) ~[Main.class:?]
                            … 6 more
                            Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                            
                            

                            En espérant vous avoir fourni les informations nécessaires à la résolution de mon problème 🙂
                            A bientôt !

                            Kahash

                            1 réponse Dernière réponse Répondre Citer 0
                            • Superloup10S Hors-ligne
                              Superloup10 Modérateurs
                              dernière édition par

                              Fais CTRL + SCHIFT + O, pour réorganisé les imports de ta classe ModTutoriel.java

                              Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

                              Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

                              1 réponse Dernière réponse Répondre Citer 0
                              • utyboU Hors-ligne
                                utybo
                                dernière édition par

                                Passe ton curseur sur les erreurs puis clique sur “Import chemin.dune.Classe”

                                Moddeur à la retraite et développeur de trucs en Java.

                                J'aide les gens comme je peux, alors si mon message v…

                                1 réponse Dernière réponse Répondre Citer 0
                                • K Hors-ligne
                                  Kahash
                                  dernière édition par

                                  Ah, la blague… Comme quoi parfois il suffit d’un message sur un forum pour résoudre un problème sur lequel on s’arrache les cheveux pendant des heures.
                                  Merci en tous cas.

                                  Par contre lorsque je clique sur “Run”, je ne peux le faire que pour le Client, le Server ne s’affiche pas. J’ai toujours ces messages dans la console d’eclipse lorsque j’essaie de lancer le jeu coté client:

                                  [20:09:15] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                  [20:09:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                  [20:09:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                                  java.io.IOException: Server returned HTTP response code: 403 for URL: https://authserver.mojang.com/authenticate
                                  at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
                                  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
                                  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
                                  at cpw.mods.fml.common.launcher.Yggdrasil.login(Yggdrasil.java:108)
                                  at cpw.mods.fml.common.launcher.FMLTweaker.acceptOptions(FMLTweaker.java:91)
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:113)
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                                  [20:09:16] [main/INFO] [FML]: Forge Mod Loader version 7.2.209.1112 for Minecraft 1.7.2 loading
                                  [20:09:16] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_05, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8
                                  [20:09:16] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                  [20:09:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [20:09:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                  [20:09:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [20:09:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                  [20:09:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [20:09:16] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                                  [20:09:17] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Travail/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
                                  [20:09:17] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
                                  [20:09:17] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Travail/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1112/forgeSrc-1.7.2-10.12.1.1112.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
                                  [20:09:17] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                  [20:09:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                  [20:09:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                  [20:09:17] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                  [20:09:17] [main/ERROR] [LaunchWrapper]: Unable to launch
                                  java.lang.reflect.InvocationTargetException
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
                                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
                                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
                                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
                                  Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['accessToken']
                                  at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
                                  at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
                                  at net.minecraft.client.main.Main.main(Main.java:47) ~[Main.class:?]
                                  … 6 more
                                  Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                                  
                                  

                                  Une idée ?

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • utyboU Hors-ligne
                                    utybo
                                    dernière édition par

                                    Passe en Java 7 peut être ou réinstalle Forge

                                    Moddeur à la retraite et développeur de trucs en Java.

                                    J'aide les gens comme je peux, alors si mon message v…

                                    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

                                      Non, c’est pas ça le problème. Deuxième fois que répond à ça, c’est que tu as mal suivis cette partie : http://www.minecraftforgefrance.fr/showthread.php?tid=566#bonus
                                      Soit ton mdp est faux, soit tu as oublié quelque chose.

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • K Hors-ligne
                                        Kahash
                                        dernière édition par

                                        En effet, j’avais vu cette solution mais étant sur de mon mot de passe je n’ai pas vérifié, et c’est idiot mais j’avais totalement oublié que j’avais temporairement changé mon mot de passe minecraft. Ce problème est donc bien résolu.

                                        Cependant, cela n’explique pas pourquoi je ne peux lancer le jeu que en mode Client, pas en Server. Une idée, une fois de plus sans vouloir abuser ?

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • utyboU Hors-ligne
                                          utybo
                                          dernière édition par

                                          Un @SideOnly oublié? Une condition Side.isClient oubliée? Problème de proxy?

                                          Moddeur à la retraite et développeur de trucs en Java.

                                          J'aide les gens comme je peux, alors si mon message v…

                                          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

                                            Envoie les logs du lancement du serveur.

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 1 / 9
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB