Crash Server side



  • Bonjour mon mod fonctionne côté client mais côté serveur elle cause un crash je ne sais pas d'ou peut venir le crash voici les logs

    17:33:06] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
    [17:33:06] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
    [17:33:06] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
    [17:33:06] [main/INFO]: Forge Mod Loader version 7.99.4.1614 for Minecraft 1.7.10 loading
    [17:33:07] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_161, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_161
    [17:33:07] [main/INFO]: [pw.prok.imagine.ImagineLoadingPlugin:<clinit>:26]: Loading plugin initialized!
    [17:33:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:33:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [17:33:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:33:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
    [17:33:07] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:33:08] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:33:08] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
    [17:33:08] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
    [17:33:09] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
    [17:33:09] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
    [17:33:09] [main/INFO]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
    [17:33:14] [Server thread/INFO]: Starting minecraft server version 1.7.10
    [17:33:14] [Server thread/INFO]: Attempting early MinecraftForge initialization
    [17:33:14] [Server thread/INFO]: MinecraftForge v10.13.4.1614 Initialized
    [17:33:14] [Server thread/INFO]: Replaced 184 ore recipies
    [17:33:14] [Server thread/INFO]: Completed early MinecraftForge initialization
    [17:33:14] [Server thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
    [17:33:14] [Server thread/INFO]: Searching C:\Users\INeoxz13\Desktop\serveurlocal\mods for mods
    [17:33:15] [Server thread/INFO]: Forge Mod Loader has identified 5 mods to load
    [17:33:15] [Server thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, kimagine, craftyourliferpmod] at CLIENT
    [17:33:15] [Server thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, kimagine, craftyourliferpmod] at SERVER
    [17:33:15] [Server thread/ERROR]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
    [17:33:15] [Server thread/ERROR]: 
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    	UC	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    	UC	FML{7.10.99.99} [Forge Mod Loader] (thermos.jar) 
    	UC	Forge{10.13.4.1614} [Minecraft Forge] (thermos.jar) 
    	UC	kimagine{0.2} [KImagine] (minecraft.jar) 
    	UE	craftyourliferpmod{2.2} [CraftYourLifeRP mod] (modid-1.0.jar) 
    [17:33:15] [Server thread/ERROR]: The following problems were captured during this phase
    [17:33:15] [Server thread/ERROR]: Caught exception from craftyourliferpmod
    java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
    	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
    	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:1.7.10-1614.58]
    	at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) [FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176) [lt.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:643) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	... 30 more
    Caused by: java.lang.RuntimeException: Attempted to load class bdw for invalid side SERVER
    	at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51) ~[thermos.jar:1.7.10-1614.58]
    	at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	... 30 more
    [17:33:15] [Server thread/ERROR]: Encountered an unexpected exception
    cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
    
    	at cpw.mods.fml.common.LoadController.transition(LoadController.java:163) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:544) ~[Loader.class:1.7.10-1614.58]
    	at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176) ~[lt.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:643) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
    	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
    	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:1.7.10-1614.58]
    	... 5 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
    	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
    	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:1.7.10-1614.58]
    	... 5 more
    Caused by: java.lang.RuntimeException: Attempted to load class bdw for invalid side SERVER
    	at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51) ~[thermos.jar:1.7.10-1614.58]
    	at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
    	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
    	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:1.7.10-1614.58]
    	... 5 more
    [17:33:15] [Server thread/ERROR]: 	Cause of unexpected exception was
    java.lang.NoClassDefFoundError: net/minecraft/client/gui/GuiScreen
    	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_161]
    	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_161]
    	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:440) ~[FMLModContainer.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:1.7.10-1614.58]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[server-1.7.10.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[server-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) ~[LoadController.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:1.7.10-1614.58]
    	at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:176) ~[lt.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:643) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.ClassNotFoundException: net.minecraft.client.gui.GuiScreen
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	... 30 more
    Caused by: java.lang.RuntimeException: Attempted to load class bdw for invalid side SERVER
    	at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51) ~[thermos.jar:1.7.10-1614.58]
    	at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
    	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_161]
    	... 30 more
    [17:33:15] [Server thread/ERROR]: This crash report has been saved to: C:\Users\INeoxz13\Desktop\serveurlocal\.\crash-reports\crash-2018-07-02_17.33.15-server.txt
    [17:33:15] [Server thread/WARN]: Can't revert to frozen GameData state without freezing first.
    [17:33:15] [Server thread/INFO]: Applying holder lookups
    [17:33:15] [Server thread/INFO]: Holder lookups applied
    [17:33:15] [Server thread/INFO]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
    [17:33:15] [Server thread/INFO]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.
    
    

    ma classe main :

    package fr.craftyourliferp.fr.main;
    
    import java.awt.Color;
    
    import org.lwjgl.input.Keyboard;
    import org.lwjgl.opengl.Display;
    import org.lwjgl.opengl.GL11;
    
    import cpw.mods.fml.client.registry.ClientRegistry;
    import cpw.mods.fml.common.FMLCommonHandler;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.event.FMLServerStartingEvent;
    import cpw.mods.fml.common.eventhandler.SubscribeEvent;
    import cpw.mods.fml.common.gameevent.TickEvent;
    import cpw.mods.fml.common.gameevent.TickEvent.Phase;
    import cpw.mods.fml.common.network.NetworkRegistry;
    import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import fr.craftyourliferp.game.events.EventsListener;
    import fr.craftyourliferp.ingame.gui.CylrpAlertMessage;
    import fr.craftyourliferp.ingame.gui.CylrpMessageShow;
    import fr.craftyourliferp.items.BagDollars;
    import fr.craftyourliferp.items.Biere;
    import fr.craftyourliferp.items.BiereVide;
    import fr.craftyourliferp.items.BigMac;
    import fr.craftyourliferp.items.BilletAvion;
    import fr.craftyourliferp.items.CRPTab;
    import fr.craftyourliferp.items.CarteBancaire;
    import fr.craftyourliferp.items.Cisailles;
    import fr.craftyourliferp.items.Dollars;
    import fr.craftyourliferp.items.DoubleQuarterPounder;
    import fr.craftyourliferp.items.FritesMacDonalds;
    import fr.craftyourliferp.items.Garbage;
    import fr.craftyourliferp.items.Iphone;
    import fr.craftyourliferp.items.ItemVestBullet;
    import fr.craftyourliferp.items.Journal;
    import fr.craftyourliferp.items.Kebab;
    import fr.craftyourliferp.items.PacketCigarettes;
    import fr.craftyourliferp.items.Pepsi;
    import fr.craftyourliferp.items.Perceuse;
    import fr.craftyourliferp.items.PiedBiche;
    import fr.craftyourliferp.items.Redbull;
    import fr.craftyourliferp.items.RoyalFish;
    import fr.craftyourliferp.items.Scie;
    import fr.craftyourliferp.items.SoSaladBrazer;
    import fr.craftyourliferp.mainmenu.MinecraftForgeEventHandler;
    import fr.craftyourliferp.mainmenu.fake.FakePlayerFactory;
    import fr.craftyourliferp.mainmenu.gui.GuiCustomIngameMenu;
    import fr.craftyourliferp.mainmenu.gui.GuiUtils;
    import fr.craftyourliferp.mainmenu.mainmenuutils.MainMenuNews;
    import fr.craftyourliferp.mainmenu.mainmenuutils.MainMenuPing;
    import fr.craftyourliferp.network.CylrpKickPacketHandler;
    import fr.craftyourliferp.network.CylrpMessagePacketHandler;
    import fr.craftyourliferp.network.CylrpPacketHandler;
    import fr.craftyourliferp.network.PacketDispatcher;
    import net.minecraft.client.Minecraft;
    import net.minecraft.client.gui.FontRenderer;
    import net.minecraft.client.gui.Gui;
    import net.minecraft.client.gui.GuiIngameMenu;
    import net.minecraft.client.gui.GuiScreen;
    import net.minecraft.client.settings.KeyBinding;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import net.minecraft.server.MinecraftServer;
    import net.minecraft.util.EnumChatFormatting;
    import net.minecraft.util.ResourceLocation;
    import net.minecraftforge.client.event.GuiOpenEvent;
    import net.minecraftforge.client.event.RenderGameOverlayEvent;
    import net.minecraftforge.common.MinecraftForge;
    
    @Mod(modid = CraftYourLifeRPMod.MODID, version = CraftYourLifeRPMod.VERSION)
    public class CraftYourLifeRPMod {
    	
    	   @Mod.Instance
    
    	  
    	   
    	    public static CraftYourLifeRPMod instance;
    
    	    //REGISTERING BLOCKS, ITEMS, VARIABLES AND STUFF
    	    public FakePlayerFactory playerFactory;
    	    public boolean isMainMenuLoaded = false;
    	    public MainMenuPing ping = new MainMenuPing();
    	    public MainMenuNews news = new MainMenuNews();
    	    
    
    	    public final String IP_AND_PORT = "92.222.172.110:25565";
    	    public final String IP = IP_AND_PORT.split(":")[0];
    	    public final int PORT = Integer.parseInt(IP_AND_PORT.split(":")[1]);
    	    public final String IP_AND_PORT2 = "92.222.172.110:25565";
    	    public final String IP2 = IP_AND_PORT2.split(":")[0];
    	    public final int PORT2 = Integer.parseInt(IP_AND_PORT2.split(":")[1]);
    	    
    	    public static String Username;
    	    
    		public static final String name = "craftyourliferp";
    	    
    		public static CreativeTabs CRPCreativeTabs = new CRPTab("crp_creative_tabs")
    		{
    		}.setNoTitle().setBackgroundImageName("c_creativetabs.png");
    	    
    	    public static Item BulletGilet;
    		public static Item BigMac;
    		public static Item Cheeseburger;
    		public static Item CheeseburgerMini;
    		public static Item FritesMacDonalds;
    		public static Item DoubleQuarterPounder;
    		public static Item Chicken;
    		public static Item DonutChocolat;
    		public static Item DonutFraise;
    		public static Item Biere;
    		public static Item Fanta;
    		public static Item Redbull;
    		public static Item CocaCola;
    		public static Item BiereVide;
    		public static Item Pepsi;
    		public static Item Garbage;
    		public static Item BonbonHalloween;
    		public static Item SoSaladBrazer;
    		public static Item CrispyTendersBurger;
    		public static Item PacketCigarettes;
    		public static Item BonbonHalloweenVert;
    		public static Item BonbonHalloweenRouge;
    		public static Item BonbonHalloweenBleu;
    		public static Item BonbonPapiyotte;
    		public static Item RoyalFish;
    		public static Item Kebab;
    		
    		//Item RP
    		public static Item Perceuse;
    		public static Item Iphone;
    		public static Item PiedBiche;
    		public static Item Scie;
    		public static Item Cisailles;
    		public static Item Journal;
    		public static Item BilletAvion;
    		public static Item CarteBancaire;
    		public static Item BackpackBleu;
    		public static Item BackpackNoire;
    		public static Item BackpackGris;
    		public static Item BackpackVert;
    		public static Item Dollars;
    		public static Item BagDollars;
    		
    		public static final String MODID = "craftyourliferpmod";
    		public static final String VERSION = "2.2";
    		
    		public static Long pmoney = 0L;
    		public static int onlinePlayers = 0;
    		public static double shield;
    		public static boolean[] wantedLevel = new boolean[5];  
    		
    		public boolean isDedicatedServer = false;
    		
    		private static int modGuiIndex = 0;
    		
    		public static final int GUI_INV = modGuiIndex++;
    		
    		@SidedProxy(clientSide = "fr.craftyourliferp.fr.main.ClientProxy", serverSide = "fr.craftyourliferp.fr.main.CommonProxy")
    	   	public static CommonProxy proxy;
    		   
    	    
    	    public CraftYourLifeRPMod()
    	    {
    	    	MinecraftForge.EVENT_BUS.register(this);
    	    }
    	    
    	    @Mod.EventHandler
    		public void preInit(FMLPreInitializationEvent event) {
    	        registerItems();
    		}
    		
    		
    	    @Mod.EventHandler
    	    public void init(FMLInitializationEvent event) {
    	    	Display.setTitle("Minecraft | CraftYourLifeRP 1.7.10");
    	        
    	    	
    	    	proxy.init();
    	    	
    			FMLCommonHandler.instance().bus().register(new CylrpMessageShow());
    	        MinecraftForge.EVENT_BUS.register(new CylrpMessageShow());
    			
    			FMLCommonHandler.instance().bus().register(new CylrpAlertMessage());
    	        MinecraftForge.EVENT_BUS.register(new CylrpAlertMessage());
    			
    	        
    	    	FMLCommonHandler.instance().bus().register(new MinecraftForgeEventHandler());
    	    	MinecraftForge.EVENT_BUS.register(new EventsListener());
    	        FMLCommonHandler.instance().bus().register(new EventsListener());
    	        
    	        
    	        //NetworkRegistry.INSTANCE.registerGuiHandler(this, new CommonProxy());
    	        
    	        PacketDispatcher.registerPackets();
    	  
    
    	     
    	    }
    	    
    		@Mod.EventHandler
    		public void serverLoad(FMLServerStartingEvent event)
    		{
    			event.registerServerCommand(new CylrpMessageShow.CylrpCommand());
    		}
    
    
    	    @SubscribeEvent
    	    @SideOnly(Side.CLIENT)
    	    public void onTickClient(TickEvent.ClientTickEvent event) {
    
    	    	if (event.phase == Phase.START) {
    
    	    		Minecraft mc = Minecraft.getMinecraft();
    	    		Username = mc.thePlayer.getDisplayName();
    
    	    		GuiScreen currentScreen = mc.currentScreen;
    
    	    		GuiCustomIngameMenu customMenu = new GuiCustomIngameMenu();
    
    
    
    
    
    	    		if (currentScreen instanceof GuiIngameMenu && !currentScreen.equals(customMenu)) {
    	    				mc.displayGuiScreen(customMenu);
    	    		}
    	    	}
    	    }
    	    
    	    
    	    @SideOnly(Side.CLIENT)
    	    Minecraft mc = Minecraft.getMinecraft();
    	    @SubscribeEvent	
    	    public void onOpenGui(GuiOpenEvent event)
    	    {
    	    	if(event.gui != null && event.gui.getClass() == GuiIngameMenu.class)
    	    	{
    	    		event.gui=new GuiCustomIngameMenu();
    	    	}
    	    }
    	    
    	    @SideOnly(Side.CLIENT) 
    	    @SubscribeEvent
    	    public void onRenderPre(RenderGameOverlayEvent.Pre event)
    	    {
    	    	int width = event.resolution.getScaledWidth() , height = event.resolution.getScaledHeight();
    	    	
    	    	if(event.type == RenderGameOverlayEvent.ElementType.DEBUG)
    	    	{
    	    		event.setCanceled(true);
    	    		
    	    		this.drawString(Minecraft.getMinecraft().fontRenderer, EnumChatFormatting.RED + mc.debug.split(",", 2)[0], 10, 30, 0x0FC702);
    	        
    	    		int x = (int) mc.thePlayer.posX;
    	    		int y = (int) mc.thePlayer.posY;
    	    		int z = (int) mc.thePlayer.posZ;
    	        
    	    		String corx = EnumChatFormatting.RED + "X : " + EnumChatFormatting.WHITE +  x;  
    	    		String cory = EnumChatFormatting.RED + "Y : " + EnumChatFormatting.WHITE + y; 
    	    		String corz = EnumChatFormatting.RED + "Z : " + EnumChatFormatting.WHITE + z;
    	        
    	    		this.drawString(mc.fontRenderer, corx, 10, 50, 0x0FC702);
    	    		this.drawString(mc.fontRenderer, cory, 10, 70, 0x0FC702);
    	    		this.drawString(mc.fontRenderer, corz, 10, 90, 0x0FC702);   
    	    	}
    	    	else if(event.type == RenderGameOverlayEvent.ElementType.BOSSHEALTH) {
    	    			String onlinePlayers = EnumChatFormatting.RED + CraftYourLifeRPMod.instance.ping.getPlayersOnline();
    	    			if(isDedicatedServer) {
    	    				Gui.drawRect(width - 70,height/2 - 40, width, height/2 + 10, Integer.MIN_VALUE);
    	    				this.drawString(mc.fontRenderer, "-------------", width - 70 , height/2 - 30, Color.RED.getRGB());
    	    				GL11.glPushMatrix();
    	    				float facteur = .5f;
    	    				GL11.glScalef(facteur, facteur, facteur);
    	    				this.drawString(mc.fontRenderer, "Joueurs en ligne: " + EnumChatFormatting.GOLD + this.onlinePlayers , (int)((width-60)*(1f/facteur)) , (int)((height/2-20)*(1f/facteur)), Color.WHITE.getRGB());
    	    				this.drawString(mc.fontRenderer, "Argents: " + pmoney  , (int)((width-59)*(1f/facteur)) , (int)((height/2-10)*(1f/facteur)), Color.WHITE.getRGB());
    	    				GL11.glPopMatrix();
    	    				GuiUtils.drawImage(width - 60, height/2 - 45,new ResourceLocation(name + ":gui/logo.png"), 50f, 20f);
    	    				GuiUtils.drawImage(width - 68, height/2 - 12,new ResourceLocation(name + ":gui/money.png"), 8f, 8f);
    	    				GuiUtils.drawImage(width - 69, height/2 - 23,new ResourceLocation(name + ":gui/user.png"), 10f, 10f);
    	    			}
    	    	}
    	    	else if(event.type == RenderGameOverlayEvent.ElementType.HEALTH) {
    	    		
    	    		int healthbar_width = 100, healthbar_height = 10, healthbar_posx = (width / 2 - healthbar_width) + 10, healthbar_posy = height - 40;
    	    		float health = mc.thePlayer.getHealth();
    	    		int healthbar_fillmax = healthbar_posx + 79, healthbar_fillamount = healthbar_posx + 1 + (int)convertMcHealth(78);
    	    		event.setCanceled(true);
    	    		Gui.drawRect(healthbar_posx, healthbar_posy, healthbar_posx + 80, healthbar_posy + 10, Integer.MIN_VALUE); // dessin du container de la barre de vie
    	    		Gui.drawRect(healthbar_posx + 1, healthbar_posy + 1, healthbar_fillmax, healthbar_posy + 10 - 1, Color.WHITE.getRGB());
    	    		Gui.drawRect(healthbar_posx + 1, healthbar_posy + 1, healthbar_fillamount, healthbar_posy + 10 - 1, Color.RED.getRGB());
    	    		this.drawString(mc.fontRenderer, ((int)(health*100)/100.) + "/" + (float)mc.thePlayer.getMaxHealth(), healthbar_fillmax - 40 -20 , healthbar_posy + 1, 14520201);
    	    	
    	    		
    	    	
    	    		GuiUtils.drawImage(healthbar_fillmax + 2, healthbar_posy + 0.5,new ResourceLocation(name + ":gui/heart.png"), 8f, 8f);
    	    	}
    	    	else if(event.type == RenderGameOverlayEvent.ElementType.FOOD) {
    	    		int foodbar_width = 100, foodbar_height = 10, foodbar_posx = (width / 2 - foodbar_width) + 10, foodbar_posy = height - 52;
    	    		float food = mc.thePlayer.getFoodStats().getFoodLevel();
    	    		int foodbar_fillmax = foodbar_posx + 79, foodbar_fillamount = foodbar_posx + 1 +(int)convertMcFood(78);
    	    		event.setCanceled(true);
    	    		Gui.drawRect(foodbar_posx, foodbar_posy, foodbar_posx + 80, foodbar_posy + 10, Integer.MIN_VALUE); // dessin du container de la barre de vie
    	    		Gui.drawRect(foodbar_posx + 1, foodbar_posy + 1, foodbar_fillmax, foodbar_posy + 10 - 1, Color.WHITE.getRGB());
    	    		Gui.drawRect(foodbar_posx + 1, foodbar_posy + 1, foodbar_fillamount, foodbar_posy + 10 - 1, Color.ORANGE.getRGB());
    	    		this.drawString(mc.fontRenderer, ((int)(food*100)/100.) + "/20.0" , foodbar_fillmax - 40 -20 , foodbar_posy + 1, 9924887);
    	    		GuiUtils.drawImage(foodbar_fillmax + 2, foodbar_posy + 0.5,new ResourceLocation(name + ":gui/hunger.png"), 8f, 8f);
    	    	
    	    	
    	    		int absbar_width = 100, abs_height = 10, absbar_posx = (width / 2 - absbar_width) + 103, absbar_posy = height - 40;
    	    		float abs = (float) this.shield;
    	    		int absbar_fillmax = absbar_posx + 78, absbar_fillamount = absbar_posx + 1 + (int)convertMcAbsorbtion(78);
    	    		event.setCanceled(true);
    	    		Gui.drawRect(absbar_posx, absbar_posy, absbar_posx + 80, absbar_posy + 10, Integer.MIN_VALUE); // dessin du container de la barre de vie
    	    		Gui.drawRect(absbar_posx + 1, absbar_posy + 1, absbar_fillmax + 1, absbar_posy + 10 - 1, Color.WHITE.getRGB());
    	    		Gui.drawRect(absbar_posx + 1, absbar_posy + 1, absbar_fillamount, absbar_posy + 10 - 1, getIntFromColor(0,128,255));
    	    		GuiUtils.drawImage(absbar_fillmax + 2, absbar_posy + 0.5,new ResourceLocation(name + ":gui/shield.png"), 8f, 8f);
    	    		this.drawString(mc.fontRenderer, (int)abs + "/100" , absbar_fillmax - 50, absbar_posy + 1, getIntFromColor(156,199,227));
    
    	    		if(isDedicatedServer) {
    	    			for(int i = 0; i < 5; i++) {
    	    				GuiUtils.drawImage(0 + (i*6.5), 0,new ResourceLocation(name + ":gui/star_empty.png"), 8f, 8f);
    	    				if(wantedLevel[i] == true)
    	    					GuiUtils.drawImage(0.9 + (i*6.5), 0,new ResourceLocation(name + ":gui/star_fill.png"), 6f, 8f);
    	    			}
    	    		}
    	    		
    	    	}
    	    	else if(event.type == RenderGameOverlayEvent.ElementType.AIR) {
    	    		int airbar_width = 100, airbar_height = 10, airbar_posx = (width / 2 - airbar_width) + 103, airbar_posy = height - 52;
    	    		float air = mc.thePlayer.getAir();
    	    		int airbar_fillmax = airbar_posx + 79, airbar_fillamount = airbar_posx + 1 + (int)convertMcAir(78);
    	    		event.setCanceled(true);
    	    		Gui.drawRect(airbar_posx, airbar_posy, airbar_posx + 80, airbar_posy + 10, Integer.MIN_VALUE); // dessin du container de la barre de vie
    	    		Gui.drawRect(airbar_posx + 1, airbar_posy + 1, airbar_fillmax, airbar_posy + 10 - 1, Color.white.getRGB());
    	    		Gui.drawRect(airbar_posx + 1, airbar_posy + 1, airbar_fillamount, airbar_posy + 10 - 1, getIntFromColor(47,158,231));
    	    		this.drawString(mc.fontRenderer, (int)air + "/300" , airbar_fillmax - 40 -20 , airbar_posy + 1, getIntFromColor(156,199,227));
    	    		GuiUtils.drawImage(airbar_fillmax + 1, airbar_posy + 0.5,new ResourceLocation(name + ":gui/bubble.png"), 8f, 8f);
    	    	}
    	    	else if(event.type == RenderGameOverlayEvent.ElementType.EXPERIENCE) {
    	    		if(isDedicatedServer)
    	    			event.setCanceled(true);
    	    	}
    	    
    	    }
    	    
    	    @SideOnly(Side.CLIENT)
    	    public int getIntFromColor(int Red, int Green, int Blue){
    	        Red = (Red << 16) & 0x00FF0000; //Shift red 16-bits and mask out other stuff
    	        Green = (Green << 8) & 0x0000FF00; //Shift Green 8-bits and mask out other stuff
    	        Blue = Blue & 0x000000FF; //Mask out anything not blue.
    
    	        return 0xFF000000 | Red | Green | Blue; //0xFF000000 for 100% Alpha. Bitwise OR everything together.
    	    }
    
    		@SideOnly(Side.CLIENT) 
    	    public void drawString(FontRenderer fontRenderer, String str, int x, int y, int color)
    	    {
    	    	fontRenderer.drawString(str, x, y, color);
    	    } 
    		
    		@SideOnly(Side.CLIENT)
    	    private float convertMcHealth(int healthbarmaxfill) {
    	    	float pHealth = (int)mc.thePlayer.getHealth();
    	    	float health = pHealth / mc.thePlayer.getMaxHealth();
    	    	float value = health * healthbarmaxfill;
    			return value;
    	    }
    	    
    		@SideOnly(Side.CLIENT)
    	    private float convertMcFood(int foodbarmaxfill) {
    	    	float pFood = (int)mc.thePlayer.getFoodStats().getFoodLevel();
    	    	float food = pFood / 20.0f;
    	    	float value = food * foodbarmaxfill;
    			return value;
    	    }
    	    
    		@SideOnly(Side.CLIENT)
    	    private float convertMcAir(int airbarmaxfill) {
    	    	float pAir = (int)mc.thePlayer.getAir();
    	    	float air = pAir / 300.0f;
    	    	float value = air * airbarmaxfill;
    	    	if(air < 0) value = 0;
    			return value;
    	    }
    	    
    		@SideOnly(Side.CLIENT)
    	    private float convertMcAbsorbtion(int absbarmaxfill) {
    	    	float pAbs = (float) this.shield;
    	    	float abs = pAbs / 100.0f;
    	    	float value = abs * absbarmaxfill;
    	    	if(abs < 0) value = 0;
    	    	return value;
    		}
    	    
    		@SideOnly(Side.CLIENT)
    	    private void registerItems() {
    	    	BulletGilet = new ItemVestBullet().setMaxStackSize(1).setUnlocalizedName("GiletBullet").setTextureName(name + ":bulletgilet");
    	    	BigMac=new BigMac(7,0.3F,false).setTextureName(name + ":BigMac").setUnlocalizedName("BigMac");
    			DoubleQuarterPounder=new DoubleQuarterPounder(7,0.3F,false).setTextureName(name + ":DoubleQuarterPounder").setUnlocalizedName("DoubleQuarterPounder");
    			Biere=new Biere().setTextureName(name + ":Biere").setUnlocalizedName("Biere");
    			BiereVide=new BiereVide(7,0.3F,false).setTextureName(name + ":BiereVide").setUnlocalizedName("BiereVide");
    			Garbage=new Garbage(7,0.3F,false).setTextureName(name + ":Garbage").setUnlocalizedName("Garbage");
    			PacketCigarettes = new PacketCigarettes().setUnlocalizedName("PacketCigarettes").setTextureName(name + ":PacketCigarettes");
    			Iphone=new Iphone().setTextureName(name + ":iphone6").setUnlocalizedName("Iphone");
    			Perceuse=new Perceuse().setTextureName(name + ":Perceuse").setUnlocalizedName("Perceuse");
    			PiedBiche=new PiedBiche().setTextureName(name + ":PiedBiche").setUnlocalizedName("PiedBiche");
    			Scie=new Scie().setTextureName(name + ":Scie").setUnlocalizedName("Scie");
    			Cisailles=new Cisailles().setTextureName(name + ":Cisailles").setUnlocalizedName("Cisailles");
    			Journal=new Journal().setTextureName(name + ":Journal").setUnlocalizedName("Journal");
    			BilletAvion=new BilletAvion().setTextureName(name + ":BilletAvion").setUnlocalizedName("BilletAvion");
    			CarteBancaire=new CarteBancaire().setTextureName(name + ":CarteBancaire").setUnlocalizedName("CarteBancaire");
    			Dollars=new Dollars().setTextureName(name + ":note5").setUnlocalizedName("5Dollars");
    			BagDollars=new BagDollars().setTextureName(name + ":BagDollars").setUnlocalizedName("BagDollars");
    			
    			
    			GameRegistry.registerItem(DoubleQuarterPounder, "DoubleQuarterPounder");
    			GameRegistry.registerItem(Biere, "Biere");
    			GameRegistry.registerItem(BiereVide, "BiereVide");
    			GameRegistry.registerItem(Garbage, "Garbage");
    			GameRegistry.registerItem(PacketCigarettes, "PacketCigarettes");
    			GameRegistry.registerItem(Iphone, "item_iphone");
    			GameRegistry.registerItem(Perceuse, "item_perceuse");
    			GameRegistry.registerItem(PiedBiche, "item_piedbiche");
    			GameRegistry.registerItem(Scie, "item_scie");
    			GameRegistry.registerItem(Cisailles, "item_cisailles");
    			GameRegistry.registerItem(Dollars, "item_dollars");
    			GameRegistry.registerItem(Journal, "item_journal");
    			GameRegistry.registerItem(BilletAvion, "item_billet_avion");
    			GameRegistry.registerItem(BagDollars, "item_bagdollars");
    			GameRegistry.registerItem(CarteBancaire, "item_cartebancaire");
    			GameRegistry.registerItem(BulletGilet, "bullet_gilet");
    	    }
    	
    
    }
    
    

    merci d'avance pour ceux qui ont une idée .


  • Administrateurs

    Salut,
    Il faudrait de préférence déplacer tout ce qui concerne le client (gui par exemple) dans la classe du client proxy.



  • merci de m'avoir répondu aussi rapidement je vais tester ça



  • J'ai un autre soucis maintenant les packets envoyé depuis le client au serveur ne fonctionne plus tandis que les packets envoyé depuis le serveur au client eux marche je ne comprends pas

    [20:58:59] [Server thread/ERROR]: FMLIndexedMessageCodec exception caught
    java.lang.RuntimeException: Missing
    	at cpw.mods.fml.server.FMLServerHandler.getClientToServerNetworkManager(FMLServerHandler.java:238) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.getClientToServerNetworkManager(FMLCommonHandler.java:544) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler$OutboundTarget$8.selectNetworks(FMLOutboundHandler.java:226) ~[FMLOutboundHandler$OutboundTarget$8.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:274) ~[FMLOutboundHandler.class:1.7.10-1614.58]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) ~[MessageToMessageEncoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:?]
    	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239) ~[AbstractChannel.class:?]
    	at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToServer(SimpleNetworkWrapper.java:236) [SimpleNetworkWrapper.class:1.7.10-1614.58]
    	at fr.craftyourliferp.network.PacketDispatcher.sendToServer(PacketDispatcher.java:99) [PacketDispatcher.class:?]
    	at fr.craftyourliferp.game.events.EventsListener.onJoin(EventsListener.java:68) [EventsListener.class:?]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventsListener_onJoin_PlayerLoggedInEvent.invoke(.dynamic) [?:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:577) [FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:243) [oi.class:?]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:200) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:475) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:1.7.10-1614.58]
    	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
    	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
    	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
    	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    [20:58:59] [Server thread/ERROR]: SimpleChannelHandlerWrapper exception
    java.lang.RuntimeException: Missing
    	at cpw.mods.fml.server.FMLServerHandler.getClientToServerNetworkManager(FMLServerHandler.java:238) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.getClientToServerNetworkManager(FMLCommonHandler.java:544) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler$OutboundTarget$8.selectNetworks(FMLOutboundHandler.java:226) ~[FMLOutboundHandler$OutboundTarget$8.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:274) ~[FMLOutboundHandler.class:1.7.10-1614.58]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) ~[MessageToMessageEncoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:?]
    	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239) ~[AbstractChannel.class:?]
    	at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToServer(SimpleNetworkWrapper.java:236) [SimpleNetworkWrapper.class:1.7.10-1614.58]
    	at fr.craftyourliferp.network.PacketDispatcher.sendToServer(PacketDispatcher.java:99) [PacketDispatcher.class:?]
    	at fr.craftyourliferp.game.events.EventsListener.onJoin(EventsListener.java:68) [EventsListener.class:?]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventsListener_onJoin_PlayerLoggedInEvent.invoke(.dynamic) [?:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:577) [FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:243) [oi.class:?]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:200) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:475) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:1.7.10-1614.58]
    	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
    	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
    	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
    	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    [20:58:59] [Server thread/ERROR]: SimpleChannelHandlerWrapper exception
    java.lang.RuntimeException: Missing
    	at cpw.mods.fml.server.FMLServerHandler.getClientToServerNetworkManager(FMLServerHandler.java:238) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.getClientToServerNetworkManager(FMLCommonHandler.java:544) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler$OutboundTarget$8.selectNetworks(FMLOutboundHandler.java:226) ~[FMLOutboundHandler$OutboundTarget$8.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:274) ~[FMLOutboundHandler.class:1.7.10-1614.58]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) ~[MessageToMessageEncoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:?]
    	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239) ~[AbstractChannel.class:?]
    	at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToServer(SimpleNetworkWrapper.java:236) [SimpleNetworkWrapper.class:1.7.10-1614.58]
    	at fr.craftyourliferp.network.PacketDispatcher.sendToServer(PacketDispatcher.java:99) [PacketDispatcher.class:?]
    	at fr.craftyourliferp.game.events.EventsListener.onJoin(EventsListener.java:68) [EventsListener.class:?]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventsListener_onJoin_PlayerLoggedInEvent.invoke(.dynamic) [?:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:577) [FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:243) [oi.class:?]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:200) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:475) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:1.7.10-1614.58]
    	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
    	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
    	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
    	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    [20:58:59] [Server thread/ERROR]: SimpleChannelHandlerWrapper exception
    java.lang.RuntimeException: Missing
    	at cpw.mods.fml.server.FMLServerHandler.getClientToServerNetworkManager(FMLServerHandler.java:238) ~[FMLServerHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.getClientToServerNetworkManager(FMLCommonHandler.java:544) ~[FMLCommonHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler$OutboundTarget$8.selectNetworks(FMLOutboundHandler.java:226) ~[FMLOutboundHandler$OutboundTarget$8.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:274) ~[FMLOutboundHandler.class:1.7.10-1614.58]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:115) ~[MessageToMessageEncoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717) ~[DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893) ~[DefaultChannelPipeline.class:?]
    	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239) ~[AbstractChannel.class:?]
    	at cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendToServer(SimpleNetworkWrapper.java:236) [SimpleNetworkWrapper.class:1.7.10-1614.58]
    	at fr.craftyourliferp.network.PacketDispatcher.sendToServer(PacketDispatcher.java:99) [PacketDispatcher.class:?]
    	at fr.craftyourliferp.game.events.EventsListener.onJoin(EventsListener.java:68) [EventsListener.class:?]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler_6_EventsListener_onJoin_PlayerLoggedInEvent.invoke(.dynamic) [?:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:577) [FMLCommonHandler.class:1.7.10-1614.58]
    	at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:243) [oi.class:?]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:200) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:475) [NetworkDispatcher.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) [HandshakeCompletionHandler.class:1.7.10-1614.58]
    	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
    	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
    	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
    	at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
    	at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:1.7.10-1614.58]
    	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245) [ej.class:?]
    	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:181) [nc.class:?]
    	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1023) [MinecraftServer.class:?]
    	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:432) [lt.class:?]
    	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:841) [MinecraftServer.class:?]
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    [20:58:59] [pool-10-thread-1/INFO]: Création d'une configuration vierge : C:\Users\INeoxz13\Desktop\serveurlocal\plugins\Essentials\userdata\6004b361-ef29-34d2-b89c-32df237908c7.yml
    
    


  • A mon avis tu as mal register tes packet. Il y a un argument pour indiquer qui peut recevoir le packet.



  • package fr.craftyourliferp.network;
    
    import java.awt.Color;
    
    import cpw.mods.fml.common.network.NetworkRegistry;
    import cpw.mods.fml.common.network.simpleimpl.IMessage;
    import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
    import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
    import cpw.mods.fml.relauncher.Side;
    import fr.craftyourliferp.fr.main.CraftYourLifeRPMod;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.entity.player.EntityPlayerMP;
    import net.minecraft.server.MinecraftServer;
    import scala.collection.concurrent.Debug;
    
    public class PacketDispatcher
    {
     // a simple counter will allow us to get rid of 'magic' numbers used during packet registration
     private static byte packetId = 0;
     
     /**
     * The SimpleNetworkWrapper instance is used both to register and send packets.
     * Since I will be adding wrapper methods, this field is private, but you should
     * make it public if you plan on using it directly.
     */
     private static final SimpleNetworkWrapper dispatcher = NetworkRegistry.INSTANCE.newSimpleChannel("CYLRP");
    
     /**
     * Call this during pre-init or loading and register all of your packets (messages) here
     */
     public static final void registerPackets() {
    
    	 
    	 PacketDispatcher.registerMessage(CylrpPacketHandler.Handler.class, CylrpPacketHandler.class, Side.CLIENT);
    	 PacketDispatcher.registerMessage(CylrpKickPacketHandler.Handler.class, CylrpKickPacketHandler.class, Side.SERVER);
    	 PacketDispatcher.registerMessage(CylrpMessagePacketHandler.Handler.class, CylrpMessagePacketHandler.class, Side.CLIENT);
    	 PacketDispatcher.registerMessage(IsDedicatedPacket.Handler.class, IsDedicatedPacket.class, Side.CLIENT);
    	 PacketDispatcher.registerMessage(IsDedicatedPacket.Handler.class, IsDedicatedPacket.class, Side.SERVER);
    	/* PacketDispatcher.registerMessage(OpenInventoryPacket.Handler.class, OpenInventoryPacket.class, Side.SERVER);*/
    	 
     }
    
     /**
     * Registers a message and message handler
     */
     private static final void registerMessage(Class handlerClass, Class messageClass, Side side) {
    	 PacketDispatcher.dispatcher.registerMessage(handlerClass, messageClass, packetId++, side);
     }
    
     //========================================================//
     // The following methods are the 'wrapper' methods; again,
     // this just makes sending a message slightly more compact
     // and is purely a matter of stylistic preference
     //========================================================//
     
     /**
     * Send this message to the specified player.
     * See {@link SimpleNetworkWrapper#sendTo(IMessage, EntityPlayerMP)}
     */
     public static final void sendTo(IMessage message, EntityPlayerMP player) {
    	 PacketDispatcher.dispatcher.sendTo(message, player);
     }
    
     /**
     * Send this message to everyone within a certain range of a point.
     * See {@link SimpleNetworkWrapper#sendToDimension(IMessage, NetworkRegistry.TargetPoint)}
     */
     public static final void sendToAllAround(IMessage message, NetworkRegistry.TargetPoint point) {
    	 PacketDispatcher.dispatcher.sendToAllAround(message, point);
     }
    
     /**
     * Sends a message to everyone within a certain range of the coordinates in the same dimension.
     */
     public static final void sendToAllAround(IMessage message, int dimension, double x, double y, double z, double range) {
    	 PacketDispatcher.sendToAllAround(message, new NetworkRegistry.TargetPoint(dimension, x, y, z, range));
     }
    
     /**
     * Sends a message to everyone within a certain range of the player provided.
     */
     public static final void sendToAllAround(IMessage message, EntityPlayer player, double range) {
    	 PacketDispatcher.sendToAllAround(message, player.worldObj.provider.dimensionId, player.posX, player.posY, player.posZ, range);
     }
    
     /**
     * Send this message to everyone within the supplied dimension.
     * See {@link SimpleNetworkWrapper#sendToDimension(IMessage, int)}
     */
     public static final void sendToDimension(IMessage message, int dimensionId) {
    	 PacketDispatcher.dispatcher.sendToDimension(message, dimensionId);
     }
    
     /**
     * Send this message to the server.
     * See {@link SimpleNetworkWrapper#sendToServer(IMessage)}
     */
     public static final void sendToServer(IMessage message) {
    	 PacketDispatcher.dispatcher.sendToServer(message);
     }
    
    public static void sendToAll(IMessage message) {
    	PacketDispatcher.dispatcher.sendToAll(message);
    }
     
    }
    

    en solo ça fonctionne fonctionne sur thermos non


  • Administrateurs

    Les paquets sont bien enregistré, le problème c'est d'ici :

    at fr.craftyourliferp.network.PacketDispatcher.sendToServer(PacketDispatcher.java:99) [PacketDispatcher.class:?]
    	at fr.craftyourliferp.game.events.EventsListener.onJoin(EventsListener.java:68) [EventsListener.class:?]
    

    Il tente d'envoyer un paquet au serveur alors qu'il est déjà sur le serveur.



  • Merci j'ai résolue mon problème .


Log in to reply