MFF

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

    Mon Mods ne Fonctione pas sur serveur

    Planifier Épinglé Verrouillé Déplacé Résolu 1.7.x
    1.7.10
    27 Messages 5 Publieurs 5.3k Vues 4 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.
    • Z Hors-ligne
      Zokyt
      dernière édition par

      @‘AymericRed’:

      Oui le crash report quand tu lances le serveur. Ah et la classe d’event utilisée pour le gui, ainsi que le code qui enregistre l’event.

      Code de crash pour le serveur :

      –-- Minecraft Crash Report ----
      // You should try our sister game, Minceraft!
      
      Time: 14/06/17 15:10
      Description: Exception in server tick loop
      
      cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Render
      at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
      at cpw.mods.fml.common.Loader.loadMods(Loader.java:502)
      at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
      at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:318)
      at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176)
      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Render
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59)
      at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:510)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
      at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
      at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
      at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
      at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
      at com.google.common.eventbus.EventBus.post(EventBus.java:275)
      at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
      at cpw.mods.fml.common.Loader.loadMods(Loader.java:492)
      ... 5 more
      Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.entity.Render
      at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 31 more
      Caused by: java.lang.NullPointerException
      at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
      ... 33 more
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- System Details --
      Details:
      Minecraft Version: 1.7.10
      Operating System: Linux (amd64) version 4.4.0-79-generic
      Java Version: 1.8.0_131, Oracle Corporation
      Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 449660992 bytes (428 MB) / 938999808 bytes (895 MB) up to 30542397440 bytes (29127 MB)
      JVM Flags: 1 total; -Xmx32G
      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      FML: MCP v9.05 FML v7.10.114.1388 Minecraft Forge 10.13.3.1388 6 mods loaded, 6 mods active
      mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
      FML{7.10.114.1388} [Forge Mod Loader] (minecraft_server.jar) Unloaded->Constructed
      Forge{10.13.3.1388} [Minecraft Forge] (minecraft_server.jar) Unloaded->Constructed
      BiblioCraft{1.8.2} [BiblioCraft] (BiblioCraft.jar) Unloaded->Constructed
      Exonia{1.0.0} [Exonia] (exonia-1.0.0.jar) Unloaded->Errored
      IronChest{6.0.43.730} [Iron Chest] (ironchest.jar) Unloaded->Constructed
      Profiler Position: N/A (disabled)
      Is Modded: Definitely; Server brand changed to 'cauldron,craftbukkit,mcpc,fml,forge'
      Type: Dedicated Server (map_server.txt)
      

      L’event :

      package com.mod.exonia.gui;
      
      import cpw.mods.fml.common.eventhandler.SubscribeEvent;
      import net.minecraft.client.gui.GuiMainMenu;
      import net.minecraftforge.client.event.GuiOpenEvent;
      
      public class GuiMainMenuEventHandler {
      
          @SubscribeEvent
          public void onGuiOpens(GuiOpenEvent event) {
              if(event.gui instanceof GuiMainMenu) {
                  event.gui = new GuiCustomMainMenu();
              }
          }
      
      }
      

      Est le code qui enregistre l’event normalment ces ou deja j’ai oublier ^^’

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

        Dans ta classe principale, fonction preInit() ou init() logiquement, ou dans un de tes proxy (Common si y’a le crash).

        Si tu trouves pas tu fais clic droit dans le code sur le nom de ta classe, et tu mets “Open call hierarchy”, eclipse te montrera.

        Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

        AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

        Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
        Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

          Bh tien voila ma classe principale

          package com.mod.exonia;
          
          import java.io.File;
          
          import org.lwjgl.opengl.Display;
          
          import com.google.common.base.Throwables;
          import com.mod.exonia.dynamite.EntityDynamite;
          import com.mod.exonia.gui.GuiCustomMainMenu;
          import com.mod.exonia.init.BlockMod;
          import com.mod.exonia.init.ItemMod;
          import com.mod.exonia.proxy.CommonProxy;
          import com.mod.exonia.world.WorldRegister;
          
          import cpw.mods.fml.client.FMLClientHandler;
          import cpw.mods.fml.common.Mod;
          import cpw.mods.fml.common.Mod.EventHandler;
          import cpw.mods.fml.common.Mod.Instance;
          import cpw.mods.fml.common.SidedProxy;
          import cpw.mods.fml.common.event.FMLInitializationEvent;
          import cpw.mods.fml.common.event.FMLPostInitializationEvent;
          import cpw.mods.fml.common.event.FMLPreInitializationEvent;
          import cpw.mods.fml.common.eventhandler.SubscribeEvent;
          import cpw.mods.fml.common.gameevent.TickEvent;
          import cpw.mods.fml.common.registry.EntityRegistry;
          import cpw.mods.fml.relauncher.Side;
          import cpw.mods.fml.relauncher.SideOnly;
          import net.minecraft.client.Minecraft;
          import net.minecraft.client.gui.GuiIngameMenu;
          import net.minecraft.client.gui.GuiMainMenu;
          import net.minecraftforge.client.event.GuiOpenEvent;
          import net.minecraftforge.client.event.GuiScreenEvent;
          
          @Mod(modid = Reference.MOD_NAME, version = Reference.VERSION)
          
          public class Exonia
          {
              @SidedProxy(clientSide = Reference.CLIENT_PROXY, serverSide = Reference.SERVER_PROXY)
              public static CommonProxy proxy;
          
              @EventHandler
              public void preInit(FMLPreInitializationEvent event)
              {
                  BlockMod.init();
                  BlockMod.register();
                  ItemMod.init();
                  ItemMod.register();
                  WorldRegister.mainRegistry();
          
                  Display.setTitle("ExoniaPVP");
          
                  if(event.getSide().isClient())
                  {
                      if(!Minecraft.getMinecraft().mcDataDir.getAbsolutePath().contains("Exonia") && !Minecraft.getMinecraft().mcDataDir.equals(new File(".")))
                      {
                           Throwables.propagate(new Exception("Launcher non autorisé"));
          
                      }
                  }
              }
          
              @SubscribeEvent
              @SideOnly(Side.CLIENT)
              public void onGuiOpened(GuiOpenEvent event)
              {
                  if(event.gui instanceof GuiMainMenu)
                  {
                      event.gui = new GuiCustomMainMenu();
                  }
              }
          
              @EventHandler
              public void Init(FMLInitializationEvent event)
              {
                  proxy.registerRenders();
                  EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false);
              }
          
              @EventHandler
              public void postInit(FMLPostInitializationEvent event)
              {
          
              }
          
              @Instance(Reference.MOD_NAME)
              public static Exonia instance;
          
          }
          
          

          Est ma classe ClientProxy

          package com.mod.exonia.proxy;
          
          import com.mod.exonia.dynamite.EntityDynamite;
          import com.mod.exonia.gui.GuiCustomMainMenu;
          import com.mod.exonia.gui.GuiMainMenuEventHandler;
          import com.mod.exonia.init.ItemMod;
          
          import cpw.mods.fml.client.FMLClientHandler;
          import cpw.mods.fml.client.registry.RenderingRegistry;
          import cpw.mods.fml.common.FMLCommonHandler;
          import cpw.mods.fml.common.eventhandler.SubscribeEvent;
          import cpw.mods.fml.common.gameevent.InputEvent.KeyInputEvent;
          import cpw.mods.fml.relauncher.Side;
          import cpw.mods.fml.relauncher.SideOnly;
          import net.minecraft.client.Minecraft;
          import net.minecraft.client.gui.GuiIngameMenu;
          import net.minecraft.client.gui.GuiMainMenu;
          import net.minecraft.client.renderer.entity.RenderSnowball;
          import net.minecraft.client.settings.KeyBinding;
          import net.minecraftforge.client.event.GuiOpenEvent;
          import net.minecraftforge.common.MinecraftForge;
          
          public class ClientProxy extends CommonProxy
          {
          
              public static KeyBinding keyBinding;
          
              @Override
              public void registerRenders()
              {
                  RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderSnowball(ItemMod.dynamite));
                  MinecraftForge.EVENT_BUS.register(new GuiMainMenuEventHandler());
              }
          
              public ClientProxy()
              {
                  FMLCommonHandler.instance().bus().register(new GuiMainMenuEventHandler());
              }
          
              @SubscribeEvent
              public void onEvent(KeyInputEvent event)
              {
          
              }
          
              private void keyPressed()
              {
          
              }
          
          }
          
          

          Ducoup ces quoi mon erreur pk mon mod crash le serveur ?


          Hein ducoup ?

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

            Alors déjà ça ne sert à rien d’edit tes messages pour qu’on réponde, ça va pas me faire un “bip” dans ma tête pour que je vienne, et on t’aide bénévolement ça sert à rien de réclamer.
            Ensuite, tu peux m’expliquer pourquoi t’as ça ```java
            @SubscribeEvent
            @SideOnly(Side.CLIENT)
            public void onGuiOpened(GuiOpenEvent event)
            {
            if(event.gui instanceof GuiMainMenu)
            {
            event.gui = new GuiCustomMainMenu();
            }
            }

            Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

            AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

            Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
            Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

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

              @‘AymericRed’:

              Alors déjà ça ne sert à rien d’edit tes messages pour qu’on réponde, ça va pas me faire un “bip” dans ma tête pour que je vienne, et on t’aide bénévolement ça sert à rien de réclamer.
              Ensuite, tu peux m’expliquer pourquoi t’as ça ```java
                 @SubscribeEvent
                 @SideOnly(Side.CLIENT)
                 public void onGuiOpened(GuiOpenEvent event)
                 {
                     if(event.gui instanceof GuiMainMenu)
                     {
                         event.gui = new GuiCustomMainMenu();
                     }
                 }

              Voici le crash report que sa me met dans un nouveau serveur

              –-- Minecraft Crash Report ----
              // Would you like a cupcake?
              
              Time: 15/06/17 00:10
              Description: Exception in server tick loop
              
              cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Render
              at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
              at cpw.mods.fml.common.Loader.loadMods(Loader.java:502)
              at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
              at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:318)
              at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176)
              at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620)
              at java.lang.Thread.run(Thread.java:748)
              Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Render
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:348)
              at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59)
              at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:510)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
              at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
              at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
              at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
              at com.google.common.eventbus.EventBus.post(EventBus.java:275)
              at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
              at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
              at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
              at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
              at com.google.common.eventbus.EventBus.post(EventBus.java:275)
              at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
              at cpw.mods.fml.common.Loader.loadMods(Loader.java:492)
              ... 5 more
              Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.entity.Render
              at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 31 more
              Caused by: java.lang.NullPointerException
              at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
              ... 33 more
              
              A detailed walkthrough of the error, its code path and all known details is as follows:
              ---------------------------------------------------------------------------------------
              
              -- System Details --
              Details:
              Minecraft Version: 1.7.10
              Operating System: Linux (amd64) version 4.4.0-79-generic
              Java Version: 1.8.0_131, Oracle Corporation
              Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 486924600 bytes (464 MB) / 927989760 bytes (885 MB) up to 30542397440 bytes (29127 MB)
              JVM Flags: 1 total; -Xmx32G
              AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
              IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
              FML: MCP v9.05 FML v7.10.114.1388 Minecraft Forge 10.13.3.1388 4 mods loaded, 4 mods active
              mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
              FML{7.10.114.1388} [Forge Mod Loader] (minecraft_server.jar) Unloaded->Constructed
              Forge{10.13.3.1388} [Minecraft Forge] (minecraft_server.jar) Unloaded->Constructed
              Exonia{1.0.0} [Exonia] (exonia-1.0.0.jar) Unloaded->Errored
              Profiler Position: N/A (disabled)
              Is Modded: Definitely; Server brand changed to 'cauldron,craftbukkit,mcpc,fml,forge'
              Type: Dedicated Server (map_server.txt)
              

              Et voici le code dans mon encien serveur

              [00:12:42 INFO]: Using 4 threads for Netty based IO
              [00:12:42 INFO]: Generating keypair
              [00:12:42 INFO]: Starting Minecraft server on 79.137.115.141:25580
              [00:12:42 WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
              [00:12:42 WARN]: The server will make no attempt to authenticate usernames. Beware.
              [00:12:42 WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
              [00:12:42 WARN]: To change this, set "online-mode" to "true" in the server.properties file.
              [00:12:42 INFO]: Forge Mod Loader has successfully loaded 5 mods
              [00:12:42 INFO]: Preparing level "world"
              [00:12:42 INFO]: Registered command debug with permission node vanilla.command.debug
              [00:12:42 INFO]: Registered command spreadplayers with permission node vanilla.command.spreadplayers
              [00:12:42 INFO]: Registered command playsound with permission node vanilla.command.playsound
              [00:12:42 INFO]: Registered command scoreboard with permission node vanilla.command.scoreboard
              [00:12:42 INFO]: Registered command achievement with permission node vanilla.command.achievement
              [00:12:42 INFO]: Registered command summon with permission node vanilla.command.summon
              [00:12:42 INFO]: Registered command setblock with permission node vanilla.command.setblock
              [00:12:42 INFO]: Registered command testforblock with permission node vanilla.command.testforblock
              [00:12:42 INFO]: Registered command tellraw with permission node vanilla.command.tellraw
              [00:12:42 INFO]: Registered command netstat with permission node vanilla.command.netstat
              [00:12:42 ERROR]: This world was saved with mod Exonia which appears to be missing, things may not work well
              [00:12:42 INFO]: Injecting existing block and item data into this server instance
              [00:12:42 INFO]: Found a missing id from the world Exonia:minerubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:mineexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:minesaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:onyxblock
              [00:12:42 INFO]: Found a missing id from the world Exonia:blockexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:invisible
              [00:12:42 INFO]: Found a missing id from the world Exonia:mineonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:rubisblock
              [00:12:42 INFO]: Found a missing id from the world Exonia:blocksaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:swordsaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:boot_saphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:exonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:swordonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:rubisblock
              [00:12:42 INFO]: Found a missing id from the world Exonia:blockexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:hachexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:swordrubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:pantalon_exonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:sceptreforce
              [00:12:42 INFO]: Found a missing id from the world Exonia:pizza
              [00:12:42 INFO]: Found a missing id from the world Exonia:piocheonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:orbeforce
              [00:12:42 INFO]: Found a missing id from the world Exonia:pelleonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:mineexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:blocksaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:pantalon_rubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:plastron_onyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:fraise
              [00:12:42 INFO]: Found a missing id from the world Exonia:swordexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:plastron_rubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:housaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:onyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:boot_exonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:hourubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:pantalon_onyxsaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:sceptresoin
              [00:12:42 INFO]: Found a missing id from the world Exonia:orbesoin
              [00:12:42 INFO]: Found a missing id from the world Exonia:sceptrevitesse
              [00:12:42 INFO]: Found a missing id from the world Exonia:pelleexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:boot_onyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:piocheexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:casque_onyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:plastron_saphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:boot_rubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:hachrubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:houonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:casque_saphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:minesaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:mineonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:pellerubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:hachonyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:houexonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:piochesaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:invisible
              [00:12:42 INFO]: Found a missing id from the world Exonia:piocherubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:rubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:onyxblock
              [00:12:42 INFO]: Found a missing id from the world Exonia:orbespeed
              [00:12:42 INFO]: Found a missing id from the world Exonia:pantalon_onyx
              [00:12:42 INFO]: Found a missing id from the world Exonia:saphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:casque_exonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:casque_rubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:minerubis
              [00:12:42 INFO]: Found a missing id from the world Exonia:plastron_exonite
              [00:12:42 INFO]: Found a missing id from the world Exonia:hachsaphir
              [00:12:42 INFO]: Found a missing id from the world Exonia:pellesaphir
              [00:12:42 ERROR]: There are unidentified mappings in this world - we are going to attempt to process anyway
              [00:12:42 ERROR]: Unidentified block: Exonia:minerubis, id 201
              [00:12:42 ERROR]: Unidentified block: Exonia:mineexonite, id 202
              [00:12:42 ERROR]: Unidentified block: Exonia:minesaphir, id 204
              [00:12:42 ERROR]: Unidentified block: Exonia:onyxblock, id 208
              [00:12:42 ERROR]: Unidentified block: Exonia:blockexonite, id 207
              [00:12:42 ERROR]: Unidentified block: Exonia:invisible, id 210
              [00:12:42 ERROR]: Unidentified block: Exonia:mineonyx, id 203
              [00:12:42 ERROR]: Unidentified block: Exonia:rubisblock, id 206
              [00:12:42 ERROR]: Unidentified block: Exonia:blocksaphir, id 205
              [00:12:42 ERROR]: Unidentified item: Exonia:swordsaphir, id 4129
              [00:12:42 ERROR]: Unidentified item: Exonia:boot_saphir, id 4133
              [00:12:42 ERROR]: Unidentified item: Exonia:exonite, id 4155
              [00:12:42 ERROR]: Unidentified item: Exonia:swordonyx, id 4139
              [00:12:42 ERROR]: Unidentified item: Exonia:rubisblock, id 206
              [00:12:42 ERROR]: Unidentified item: Exonia:blockexonite, id 207
              [00:12:42 ERROR]: Unidentified item: Exonia:hachexonite, id 4146
              [00:12:42 ERROR]: Unidentified item: Exonia:swordrubis, id 4161
              [00:12:42 ERROR]: Unidentified item: Exonia:pantalon_exonite, id 4152
              [00:12:42 ERROR]: Unidentified item: Exonia:sceptreforce, id 4121
              [00:12:42 ERROR]: Unidentified item: Exonia:pizza, id 4125
              [00:12:42 ERROR]: Unidentified item: Exonia:piocheonyx, id 4138
              [00:12:42 ERROR]: Unidentified item: Exonia:orbeforce, id 4120
              [00:12:42 ERROR]: Unidentified item: Exonia:pelleonyx, id 4137
              [00:12:42 ERROR]: Unidentified item: Exonia:mineexonite, id 202
              [00:12:42 ERROR]: Unidentified item: Exonia:blocksaphir, id 205
              [00:12:42 ERROR]: Unidentified item: Exonia:pantalon_rubis, id 4164
              [00:12:42 ERROR]: Unidentified item: Exonia:plastron_onyx, id 4141
              [00:12:42 ERROR]: Unidentified item: Exonia:fraise, id 4124
              [00:12:42 ERROR]: Unidentified item: Exonia:swordexonite, id 4149
              [00:12:42 ERROR]: Unidentified item: Exonia:plastron_rubis, id 4163
              [00:12:42 ERROR]: Unidentified item: Exonia:housaphir, id 4134
              [00:12:42 ERROR]: Unidentified item: Exonia:onyx, id 4145
              [00:12:42 ERROR]: Unidentified item: Exonia:boot_exonite, id 4153
              [00:12:42 ERROR]: Unidentified item: Exonia:hourubis, id 4156
              [00:12:42 ERROR]: Unidentified item: Exonia:pantalon_onyxsaphir, id 4132
              [00:12:42 ERROR]: Unidentified item: Exonia:sceptresoin, id 4123
              [00:12:42 ERROR]: Unidentified item: Exonia:orbesoin, id 4119
              [00:12:42 ERROR]: Unidentified item: Exonia:sceptrevitesse, id 4122
              [00:12:42 ERROR]: Unidentified item: Exonia:pelleexonite, id 4147
              [00:12:42 ERROR]: Unidentified item: Exonia:boot_onyx, id 4143
              [00:12:42 ERROR]: Unidentified item: Exonia:piocheexonite, id 4148
              [00:12:42 ERROR]: Unidentified item: Exonia:casque_onyx, id 4140
              [00:12:42 ERROR]: Unidentified item: Exonia:plastron_saphir, id 4131
              [00:12:42 ERROR]: Unidentified item: Exonia:boot_rubis, id 4165
              [00:12:42 ERROR]: Unidentified item: Exonia:hachrubis, id 4157
              [00:12:42 ERROR]: Unidentified item: Exonia:houonyx, id 4144
              [00:12:42 ERROR]: Unidentified item: Exonia:casque_saphir, id 4130
              [00:12:42 ERROR]: Unidentified item: Exonia:minesaphir, id 204
              [00:12:42 ERROR]: Unidentified item: Exonia:mineonyx, id 203
              [00:12:42 ERROR]: Unidentified item: Exonia:pellerubis, id 4158
              [00:12:42 ERROR]: Unidentified item: Exonia:hachonyx, id 4136
              [00:12:42 ERROR]: Unidentified item: Exonia:houexonite, id 4154
              [00:12:42 ERROR]: Unidentified item: Exonia:piochesaphir, id 4128
              [00:12:42 ERROR]: Unidentified item: Exonia:invisible, id 210
              [00:12:42 ERROR]: Unidentified item: Exonia:piocherubis, id 4159
              [00:12:42 ERROR]: Unidentified item: Exonia:rubis, id 4160
              [00:12:42 ERROR]: Unidentified item: Exonia:onyxblock, id 208
              [00:12:42 ERROR]: Unidentified item: Exonia:orbespeed, id 4118
              [00:12:42 ERROR]: Unidentified item: Exonia:pantalon_onyx, id 4142
              [00:12:42 ERROR]: Unidentified item: Exonia:saphir, id 4135
              [00:12:42 ERROR]: Unidentified item: Exonia:casque_exonite, id 4150
              [00:12:42 ERROR]: Unidentified item: Exonia:casque_rubis, id 4162
              [00:12:42 ERROR]: Unidentified item: Exonia:minerubis, id 201
              [00:12:42 ERROR]: Unidentified item: Exonia:plastron_exonite, id 4151
              [00:12:42 ERROR]: Unidentified item: Exonia:hachsaphir, id 4126
              [00:12:42 ERROR]: Unidentified item: Exonia:pellesaphir, id 4127
              [00:12:42 WARN]: Forge Mod Loader detected missing blocks/items.
              
              There are 66 missing blocks and items in this save.
              If you continue the missing blocks/items will get removed.
              A world backup will be automatically created in your saves directory.
              
              Missing Blocks/Items:
              Exonia:minerubis
              Exonia:mineexonite
              Exonia:minesaphir
              Exonia:onyxblock
              Exonia:blockexonite
              Exonia:invisible
              Exonia:mineonyx
              Exonia:rubisblock
              Exonia:blocksaphir
              Exonia:swordsaphir
              Exonia:boot_saphir
              Exonia:exonite
              Exonia:swordonyx
              Exonia:rubisblock
              Exonia:blockexonite
              Exonia:hachexonite
              Exonia:swordrubis
              Exonia:pantalon_exonite
              Exonia:sceptreforce
              Exonia:pizza
              Exonia:piocheonyx
              Exonia:orbeforce
              Exonia:pelleonyx
              Exonia:mineexonite
              Exonia:blocksaphir
              Exonia:pantalon_rubis
              Exonia:plastron_onyx
              Exonia:fraise
              Exonia:swordexonite
              Exonia:plastron_rubis
              Exonia:housaphir
              Exonia:onyx
              Exonia:boot_exonite
              Exonia:hourubis
              Exonia:pantalon_onyxsaphir
              Exonia:sceptresoin
              Exonia:orbesoin
              Exonia:sceptrevitesse
              Exonia:pelleexonite
              Exonia:boot_onyx
              Exonia:piocheexonite
              Exonia:casque_onyx
              Exonia:plastron_saphir
              Exonia:boot_rubis
              Exonia:hachrubis
              Exonia:houonyx
              Exonia:casque_saphir
              Exonia:minesaphir
              Exonia:mineonyx
              Exonia:pellerubis
              Exonia:hachonyx
              Exonia:houexonite
              Exonia:piochesaphir
              Exonia:invisible
              Exonia:piocherubis
              Exonia:rubis
              Exonia:onyxblock
              Exonia:orbespeed
              Exonia:pantalon_onyx
              Exonia:saphir
              Exonia:casque_exonite
              Exonia:casque_rubis
              Exonia:minerubis
              Exonia:plastron_exonite
              Exonia:hachsaphir
              Exonia:pellesaphir
              
              Run the command /fml confirm or or /fml cancel to proceed.
              Alternatively start the server with -Dfml.queryResult=confirm or -Dfml.queryResult=cancel to preselect the answer.
              
              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

                Salut,
                Display.setTitle(“ExoniaPVP”); devrait être fait dans le client proxy ou à l’intérieur du if qui check que le side est bien client.
                Sinon je ne vois pas d’autres problèmes.

                Peut-être que le fait de mettre de mettre du Minecraft.getMinecraft() dans une classe commune, même si c’est dans une condition qui vérifies le side cause soucis.
                Si ça contenu à crashé après avoir déplacé Display.setTitle(“ExoniaPVP”);, c’est surement le cas donc il faudrait déplacer tout le code dans le client proxy ou dans une fonction en sideonly.

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

                  @‘AymericRed’:

                  Tu as du faire une référence à ton gui dans du code s’éxécutant sur le serveur, montres le crash report.

                  @‘robin4002’:

                  Salut,
                  Display.setTitle(“ExoniaPVP”); devrait être fait dans le client proxy ou à l’intérieur du if qui check que le side est bien client.
                  Sinon je ne vois pas d’autres problèmes.

                  Peut-être que le fait de mettre de mettre du Minecraft.getMinecraft() dans une classe commune, même si c’est dans une condition qui vérifies le side cause soucis.
                  Si ça contenu à crashé après avoir déplacé Display.setTitle(“ExoniaPVP”);, c’est surement le cas donc il faudrait déplacer tout le code dans le client proxy ou dans une fonction en sideonly.

                  Mrc je verrai dmain

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

                    Robin j’ai carrément suprimet 
                            Display.setTitle(“ExoniaPVP”);
                    Mais sa marche tjr pas

                    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

                      à quel endroit dans ton mod utilises-tu net/minecraft/client/renderer/entity/Render ?

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

                        @‘robin4002’:

                        à quel endroit dans ton mod utilises-tu net/minecraft/client/renderer/entity/Render ?

                        Je ne voit pas de quoi. Parle ?

                        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 y a un endroit dans ton mod où tu utilises la classe Render de façon directe ou indirecte, c’est cela qui cause le crash.

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

                            @‘robin4002’:

                            Il y a un endroit dans ton mod où tu utilises la classe Render de façon directe ou indirecte, c’est cela qui cause le crash.

                            package com.mod.exonia.proxy;
                            
                            import org.lwjgl.opengl.Display;
                            
                            import com.mod.exonia.dynamite.EntityDynamite;
                            import com.mod.exonia.gui.GuiCustomMainMenu;
                            import com.mod.exonia.gui.GuiMainMenuEventHandler;
                            import com.mod.exonia.init.ItemMod;
                            
                            import cpw.mods.fml.client.FMLClientHandler;
                            import cpw.mods.fml.client.registry.RenderingRegistry;
                            import cpw.mods.fml.common.FMLCommonHandler;
                            import cpw.mods.fml.common.eventhandler.SubscribeEvent;
                            import cpw.mods.fml.common.gameevent.InputEvent.KeyInputEvent;
                            import cpw.mods.fml.relauncher.Side;
                            import cpw.mods.fml.relauncher.SideOnly;
                            import net.minecraft.client.Minecraft;
                            import net.minecraft.client.gui.GuiIngameMenu;
                            import net.minecraft.client.gui.GuiMainMenu;
                            import net.minecraft.client.renderer.entity.RenderSnowball;
                            import net.minecraft.client.settings.KeyBinding;
                            import net.minecraftforge.client.event.GuiOpenEvent;
                            import net.minecraftforge.common.MinecraftForge;
                            
                            public class ClientProxy extends CommonProxy
                            {
                            
                                public static KeyBinding keyBinding;
                            
                                @Override
                                public void registerRenders()
                                {
                                    RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderSnowball(ItemMod.dynamite));
                                    MinecraftForge.EVENT_BUS.register(new GuiMainMenuEventHandler());
                                }
                            
                                public ClientProxy()
                                {
                                    FMLCommonHandler.instance().bus().register(new GuiMainMenuEventHandler());
                                    Display.setTitle("ExoniaPVP");
                                }
                            
                                @SubscribeEvent
                                public void onEvent(KeyInputEvent event)
                                {
                            
                                }
                            
                                private void keyPressed()
                                {
                            
                                }
                            

                            Ces sa ?

                            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

                              Normalement il n’y a pas de raison que le proxy client fasse crash le serveur.

                              Il est utilisé nul part d’autres ?

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

                                @‘robin4002’:

                                Normalement il n’y a pas de raison que le proxy client fasse crash le serveur.

                                Il est utilisé nul part d’autres ?

                                Apres il y a sa

                                package com.mod.exonia;
                                
                                import java.io.File;
                                
                                import org.lwjgl.opengl.Display;
                                
                                import com.google.common.base.Throwables;
                                import com.mod.exonia.dynamite.EntityDynamite;
                                import com.mod.exonia.gui.GuiCustomMainMenu;
                                import com.mod.exonia.init.BlockMod;
                                import com.mod.exonia.init.ItemMod;
                                import com.mod.exonia.proxy.CommonProxy;
                                import com.mod.exonia.world.WorldRegister;
                                
                                import cpw.mods.fml.client.FMLClientHandler;
                                import cpw.mods.fml.common.Mod;
                                import cpw.mods.fml.common.Mod.EventHandler;
                                import cpw.mods.fml.common.Mod.Instance;
                                import cpw.mods.fml.common.SidedProxy;
                                import cpw.mods.fml.common.event.FMLInitializationEvent;
                                import cpw.mods.fml.common.event.FMLPostInitializationEvent;
                                import cpw.mods.fml.common.event.FMLPreInitializationEvent;
                                import cpw.mods.fml.common.eventhandler.SubscribeEvent;
                                import cpw.mods.fml.common.gameevent.TickEvent;
                                import cpw.mods.fml.common.registry.EntityRegistry;
                                import cpw.mods.fml.relauncher.Side;
                                import cpw.mods.fml.relauncher.SideOnly;
                                import net.minecraft.client.Minecraft;
                                import net.minecraft.client.gui.GuiIngameMenu;
                                import net.minecraft.client.gui.GuiMainMenu;
                                import net.minecraftforge.client.event.GuiOpenEvent;
                                import net.minecraftforge.client.event.GuiScreenEvent;
                                
                                @Mod(modid = Reference.MOD_NAME, version = Reference.VERSION)
                                
                                public class Exonia
                                {
                                    @SidedProxy(clientSide = Reference.CLIENT_PROXY, serverSide = Reference.SERVER_PROXY)
                                    public static CommonProxy proxy;
                                
                                    @EventHandler
                                    public void preInit(FMLPreInitializationEvent event)
                                    {
                                        BlockMod.init();
                                        BlockMod.register();
                                        ItemMod.init();
                                        ItemMod.register();
                                        WorldRegister.mainRegistry();
                                
                                        if(event.getSide().isClient())
                                        {
                                            if(!Minecraft.getMinecraft().mcDataDir.getAbsolutePath().contains("Exonia") && !Minecraft.getMinecraft().mcDataDir.equals(new File(".")))
                                            {
                                                 Throwables.propagate(new Exception("Launcher non autorisé"));
                                
                                            }
                                        }
                                    }
                                
                                    @EventHandler
                                    public void Init(FMLInitializationEvent event)
                                    {
                                        proxy.registerRenders();
                                        EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false);
                                    }
                                
                                    @EventHandler
                                    public void postInit(FMLPostInitializationEvent event)
                                    {
                                
                                    }
                                
                                    @Instance(Reference.MOD_NAME)
                                    public static Exonia instance;
                                
                                }
                                

                                mais ces parse que j’ai rajouter l’interface bh depuis sa me fait sa

                                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 avais déjà envoyé la classe principale, je ne vois rien qui cause soucis dedans.
                                  Sinon envoie un Zip de ton dossier src pour que je puisse tout vérifier de mon côté.

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

                                    @‘robin4002’:

                                    Tu avais déjà envoyé la classe principale, je ne vois rien qui cause soucis dedans.
                                    Sinon envoie un Zip de ton dossier src pour que je puisse tout vérifier de mon côté.

                                    Ok je te lenvoi en pv dans 20min


                                    Ces bon Robin je te les envoyer

                                    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

                                      Problème trouvé.

                                      Les deux lignes suivantes :

                                      RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderDynamite(ItemMod.dynamite));
                                      EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false);
                                      

                                      qui sont dans le communproxy n’ont rien à faire là.
                                      registerModEntity est déjà dans la classe principale et registerEntityRenderingHandler est déjà dans le client proxy.
                                      Retires-les donc.

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

                                        @‘robin4002’:

                                        Problème trouvé.

                                        Les deux lignes suivantes :

                                               RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderDynamite(ItemMod.dynamite));
                                               EntityRegistry.registerModEntity(EntityDynamite.class, "EntityDynamite", 420, Exonia.instance, 32, 20, false);
                                        

                                        qui sont dans le communproxy n’ont rien à faire là.
                                        registerModEntity est déjà dans la classe principale et registerEntityRenderingHandler est déjà dans le client proxy.
                                        Retires-les donc.

                                        Si je les enleve sa me fait quand je jette ma dynamite sa fait un carrer blanc sa me fait pas quand je la jette bh sa jette pas la dynamite

                                        Si je met cette phrase la : MinecraftForge.EVENT_BUS.register(new GuiMainMenuEventHandler());
                                        bh sa ajoute l’interface minecraft mais si je l’enleve bh ces le vieu interface

                                        et si je met cette phrase la : RenderingRegistry.registerEntityRenderingHandler(EntityDynamite.class, new RenderSnowball(ItemMod.dynamite));
                                        quand je jette la dynamite bh ces la dynamite mais si je l’enleve ces un vieu carrer blanc

                                        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 faut les retirer de la classe commonproxy, pas clientproxy.

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

                                            @‘robin4002’:

                                            Il faut les retirer de la classe commonproxy, pas clientproxy.

                                            Merci mon serveur remarche ! 🙂

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB