Jump to content

Recommended Posts

Posted

My mod seems to run perfectly on singleplayer but there is someone that, I believe tried to run it on a server, sent me a bug report.

 

fml-server-latest.log

 

[15:10:55] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[15:10:55] [main/INFO] [FML/]: Forge Mod Loader version 12.17.0.1910 for Minecraft 1.9.4 loading
[15:10:55] [main/INFO] [FML/]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_91, running on Linux:amd64:2.6.32-042stab113.11, installed at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre
[15:10:55] [main/DEBUG] [FML/]: Java classpath at launch is forge-1.9.4-12.17.0.1910-1.9.4-universal.jar
[15:10:55] [main/DEBUG] [FML/]: Java library path at launch is /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[15:10:55] [main/DEBUG] [FML/]: Enabling runtime deobfuscation
[15:10:55] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin
[15:10:55] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers
[15:10:55] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin
[15:10:55] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin
[15:10:55] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin
[15:10:55] [main/DEBUG] [FML/]: All fundamental core mods are successfully located
[15:10:55] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to /home/mcuser/MinecraftServers/MineExploration19/.
[15:10:55] [main/DEBUG] [FML/]: Discovering coremods
[15:10:55] [main/DEBUG] [FML/]: Examining for coremod candidacy BetterCombat-1.1.jar
[15:10:55] [main/DEBUG] [FML/]: Not found coremod data in BetterCombat-1.1.jar
[15:10:55] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[15:10:55] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[15:10:55] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[15:10:55] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[15:10:55] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[15:10:55] [main/DEBUG] [FML/]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers
[15:10:55] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer
[15:10:55] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer
[15:10:55] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer
[15:10:55] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer
[15:10:55] [main/DEBUG] [FML/]: Injection complete
[15:10:55] [main/DEBUG] [FML/]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin}
[15:10:55] [main/DEBUG] [FML/]: Running coremod plugin FMLCorePlugin
[15:10:56] [main/DEBUG] [FML/]: Read 853 binary patches
[15:10:57] [main/DEBUG] [FML/]: Loading deobfuscation resource /deobfuscation_data-1.9.4.lzma with 31813 records
[15:10:57] [main/INFO] [FML/]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[15:10:57] [main/DEBUG] [FML/]: Coremod plugin class FMLCorePlugin run successfully
[15:10:57] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[15:10:57] [main/DEBUG] [FML/]: Injecting coremod FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} class transformers
[15:10:57] [main/DEBUG] [FML/]: Injection complete
[15:10:57] [main/DEBUG] [FML/]: Running coremod plugin for FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin}
[15:10:57] [main/DEBUG] [FML/]: Running coremod plugin FMLForgePlugin
[15:10:57] [main/DEBUG] [FML/]: Coremod plugin class FMLForgePlugin run successfully
[15:10:57] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[15:10:57] [main/DEBUG] [FML/]: Loaded 188 rules from AccessTransformer config file forge_at.cfg
[15:10:57] [main/DEBUG] [FML/]: Validating minecraft
[15:10:58] [main/DEBUG] [FML/]: Minecraft validated, launching...
[15:10:58] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[15:10:58] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[15:10:58] [main/INFO] [LaunchWrapper/]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[15:11:05] [main/DEBUG] [FML/]: Creating vanilla freeze snapshot
[15:11:05] [main/DEBUG] [FML/]: Vanilla freeze snapshot created
[15:11:06] [server thread/INFO] [FML/]: MinecraftForge v12.17.0.1910 Initialized
[15:11:06] [server thread/INFO] [FML/]: Replaced 232 ore recipes
[15:11:06] [server thread/DEBUG] [FML/]: File /home/mcuser/MinecraftServers/MineExploration19/config/injectedDependencies.json not found. No dependencies injected
[15:11:06] [server thread/DEBUG] [FML/]: Building injected Mod Containers [net.minecraftforge.fml.common.FMLContainer, net.minecraftforge.common.ForgeModContainer]
[15:11:06] [server thread/DEBUG] [FML/]: Attempting to load mods contained in the minecraft jar file and associated classes
[15:11:06] [server thread/DEBUG] [FML/]: Minecraft is a file at /home/mcuser/MinecraftServers/MineExploration19/forge-1.9.4-12.17.0.1910-1.9.4-universal.jar, loading
[15:11:06] [server thread/DEBUG] [FML/]: Minecraft jar mods loaded successfully
[15:11:06] [server thread/INFO] [FML/]: Found 0 mods from the command line. Injecting into mod discoverer
[15:11:06] [server thread/INFO] [FML/]: Searching /home/mcuser/MinecraftServers/MineExploration19/mods for mods
[15:11:06] [server thread/DEBUG] [FML/]: Found a candidate mod directory 1.9
[15:11:06] [server thread/DEBUG] [FML/]: Found a candidate mod directory 1.9.4
[15:11:06] [server thread/DEBUG] [FML/]: Found a candidate mod directory 1.9.4.bak
[15:11:06] [server thread/INFO] [FML/]: Also searching /home/mcuser/MinecraftServers/MineExploration19/mods/1.9.4 for mods
[15:11:06] [server thread/DEBUG] [FML/]: Found a candidate zip or jar file BetterCombat-1.1.jar
[15:11:06] [server thread/DEBUG] [FML/]: Examining file forge-1.9.4-12.17.0.1910-1.9.4-universal.jar for potential mods
[15:11:06] [server thread/DEBUG] [FML/]: The mod container forge-1.9.4-12.17.0.1910-1.9.4-universal.jar appears to be missing an mcmod.info file
[15:11:07] [server thread/DEBUG] [FML/]: Examining directory 1.9 for potential mods
[15:11:07] [server thread/DEBUG] [FML/]: No mcmod.info file found in directory 1.9
[15:11:07] [server thread/DEBUG] [FML/]: Examining directory 1.9.4 for potential mods
[15:11:07] [server thread/DEBUG] [FML/]: No mcmod.info file found in directory 1.9.4
[15:11:07] [server thread/DEBUG] [FML/]: Examining directory 1.9.4.bak for potential mods
[15:11:07] [server thread/DEBUG] [FML/]: No mcmod.info file found in directory 1.9.4.bak
[15:11:07] [server thread/DEBUG] [FML/]: Examining file BetterCombat-1.1.jar for potential mods
[15:11:07] [server thread/TRACE] [FML/]: Located mcmod.info file in file BetterCombat-1.1.jar
[15:11:07] [server thread/DEBUG] [FML/]: Identified a mod of type Lnet/minecraftforge/fml/common/Mod; (bettercombat.mod.main.BetterCombatMod) - loading
[15:11:07] [server thread/TRACE] [bc/]: Parsed dependency info : [] [] []
[15:11:07] [server thread/INFO] [FML/]: Forge Mod Loader has identified 4 mods to load
[15:11:07] [server thread/TRACE] [FML/]: Received a system property request ''
[15:11:07] [server thread/TRACE] [FML/]: System property request managing the state of 0 mods
[15:11:07] [server thread/DEBUG] [FML/]: After merging, found state information for 0 mods
[15:11:07] [server thread/DEBUG] [bc/]: Enabling mod bc
[15:11:07] [server thread/TRACE] [FML/]: Verifying mod requirements are satisfied
[15:11:07] [server thread/TRACE] [FML/]: All mod requirements are satisfied
[15:11:07] [server thread/TRACE] [FML/]: Sorting mods into an ordered list
[15:11:07] [server thread/TRACE] [FML/]: Mod sorting completed successfully
[15:11:07] [server thread/DEBUG] [FML/]: Mod sorting data
[15:11:07] [server thread/DEBUG] [FML/]: 	bc(Better Combat:1.1): BetterCombat-1.1.jar ()
[15:11:07] [server thread/TRACE] [mcp/mcp]: Sending event FMLConstructionEvent to mod mcp
[15:11:07] [server thread/TRACE] [mcp/mcp]: Sent event FMLConstructionEvent to mod mcp
[15:11:07] [server thread/DEBUG] [FML/]: Bar Step: Construction - Minecraft Coder Pack took 0.006s
[15:11:07] [server thread/TRACE] [FML/FML]: Sending event FMLConstructionEvent to mod FML
[15:11:07] [server thread/TRACE] [FML/FML]: Mod FML is using network checker : Invoking method checkModLists
[15:11:07] [server thread/TRACE] [FML/FML]: Testing mod FML to verify it accepts its own version in a remote connection
[15:11:07] [server thread/TRACE] [FML/FML]: The mod FML accepts its own version (8.0.99.99)
[15:11:07] [server thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, bc] at CLIENT
[15:11:07] [server thread/INFO] [FML/FML]: Attempting connection with missing mods [mcp, FML, Forge, bc] at SERVER
[15:11:08] [server thread/TRACE] [FML/FML]: Sent event FMLConstructionEvent to mod FML
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: Construction - Forge Mod Loader took 0.760s
[15:11:08] [server thread/TRACE] [Forge/Forge]: Sending event FMLConstructionEvent to mod Forge
[15:11:08] [server thread/TRACE] [FML/Forge]: Mod Forge is using network checker : No network checking performed
[15:11:08] [server thread/TRACE] [FML/Forge]: Testing mod Forge to verify it accepts its own version in a remote connection
[15:11:08] [server thread/TRACE] [FML/Forge]: The mod Forge accepts its own version (12.17.0.1910)
[15:11:08] [server thread/TRACE] [Forge/Forge]: Sent event FMLConstructionEvent to mod Forge
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: Construction - Minecraft Forge took 0.020s
[15:11:08] [server thread/TRACE] [bc/bc]: Sending event FMLConstructionEvent to mod bc
[15:11:08] [server thread/TRACE] [bc/bc]: Sent event FMLConstructionEvent to mod bc
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: Construction - Better Combat took 0.018s
[15:11:08] [server thread/DEBUG] [FML/]: Bar Finished: Construction took 0.805s
[15:11:08] [server thread/DEBUG] [FML/]: Mod signature data
[15:11:08] [server thread/DEBUG] [FML/]:  	Valid Signatures:
[15:11:08] [server thread/DEBUG] [FML/]: 		(e3c3d50c7c986df74c645c0ac54639741c90a557) FML	(Forge Mod Loader	8.0.99.99)	forge-1.9.4-12.17.0.1910-1.9.4-universal.jar
[15:11:08] [server thread/DEBUG] [FML/]: 		(e3c3d50c7c986df74c645c0ac54639741c90a557) Forge	(Minecraft Forge	12.17.0.1910)	forge-1.9.4-12.17.0.1910-1.9.4-universal.jar
[15:11:08] [server thread/DEBUG] [FML/]:  	Missing Signatures:
[15:11:08] [server thread/DEBUG] [FML/]: 		mcp	(Minecraft Coder Pack	9.19)	minecraft.jar
[15:11:08] [server thread/DEBUG] [FML/]: 		bc	(Better Combat	1.1)	BetterCombat-1.1.jar
[15:11:08] [server thread/ERROR] [FML/]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
[15:11:08] [server thread/ERROR] [FML/]: 
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
UC	FML{8.0.99.99} [Forge Mod Loader] (forge-1.9.4-12.17.0.1910-1.9.4-universal.jar) 
UC	Forge{12.17.0.1910} [Minecraft Forge] (forge-1.9.4-12.17.0.1910-1.9.4-universal.jar) 
UE	bc{1.1} [better Combat] (BetterCombat-1.1.jar) 
[15:11:08] [server thread/ERROR] [FML/]: The following problems were captured during this phase
[15:11:08] [server thread/ERROR] [FML/]: Caught exception from bc
java.lang.NoClassDefFoundError: net/minecraft/client/particle/Particle
at bettercombat.mod.main.BetterCombatMod.<clinit>(BetterCombatMod.java:21) ~[betterCombatMod.class:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:469) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:522) [Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:92) [FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) [FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:118) [lb.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:429) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.particle.Particle
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
... 31 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
... 31 more
[15:11:08] [server thread/WARN] [FML/]: Can't revert to frozen GameData state without freezing first.
[15:11:08] [server thread/TRACE] [mcp/mcp]: Sending event FMLServerStoppedEvent to mod mcp
[15:11:08] [server thread/TRACE] [mcp/mcp]: Sent event FMLServerStoppedEvent to mod mcp
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: ServerStopped - Minecraft Coder Pack took 0.002s
[15:11:08] [server thread/TRACE] [FML/FML]: Sending event FMLServerStoppedEvent to mod FML
[15:11:08] [server thread/TRACE] [FML/FML]: Sent event FMLServerStoppedEvent to mod FML
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: ServerStopped - Forge Mod Loader took 0.001s
[15:11:08] [server thread/TRACE] [Forge/Forge]: Sending event FMLServerStoppedEvent to mod Forge
[15:11:08] [server thread/TRACE] [Forge/Forge]: Sent event FMLServerStoppedEvent to mod Forge
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: ServerStopped - Minecraft Forge took 0.001s
[15:11:08] [server thread/TRACE] [bc/bc]: Sending event FMLServerStoppedEvent to mod bc
[15:11:08] [server thread/TRACE] [bc/bc]: Sent event FMLServerStoppedEvent to mod bc
[15:11:08] [server thread/DEBUG] [FML/]: Bar Step: ServerStopped - Better Combat took 0.000s
[15:11:08] [server thread/DEBUG] [FML/]: Bar Finished: ServerStopped took 0.005s
[15:11:08] [server thread/INFO] [FML/]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
[15:11:08] [server thread/INFO] [FML/]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.

 

 

latest.log

 

[15:11:05] [server thread/INFO]: Starting minecraft server version 1.9.4
[15:11:08] [server thread/ERROR]: Encountered an unexpected exception
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/particle/Particle

at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:179) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:553) ~[Loader.class:?]
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:92) ~[FMLServerHandler.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320) ~[FMLCommonHandler.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:118) ~[lb.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:429) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/particle/Particle
at bettercombat.mod.main.BetterCombatMod.<clinit>(BetterCombatMod.java:21) ~[betterCombatMod.class:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:469) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:522) ~[Loader.class:?]
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.particle.Particle
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
at bettercombat.mod.main.BetterCombatMod.<clinit>(BetterCombatMod.java:21) ~[betterCombatMod.class:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:469) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:522) ~[Loader.class:?]
... 5 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
at bettercombat.mod.main.BetterCombatMod.<clinit>(BetterCombatMod.java:21) ~[betterCombatMod.class:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_91]
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:469) ~[forge-1.9.4-12.17.0.1910-1.9.4-universal.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:228) ~[LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:206) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[minecraft_server.1.9.4.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[minecraft_server.1.9.4.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135) ~[LoadController.class:?]
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:522) ~[Loader.class:?]
... 5 more
[15:11:08] [server thread/ERROR]: This crash report has been saved to: /home/mcuser/MinecraftServers/MineExploration19/./crash-reports/crash-2016-05-23_15.11.08-server.txt
[15:11:08] [server thread/INFO]: Stopping server
[15:11:08] [server thread/INFO]: Saving worlds

 

 

I have no experience in server multiplayer, from what I can tell, my mod use a custom particle, but the minecraft server fails to load the "Particle.class" something like that, well it's a simple "classNotFoundException" but why does it work in singleplayer and how can I fix it?

Posted

Is there a fast way to test the mod on a server?

 

Run the dedicated server from your IDE.

 

You'll need to add the

--username [email protected] --password YourPassword

arguments to your client run configuration to log into the server.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Is there a fast way to test the mod on a server?

 

Run the dedicated server from your IDE.

 

You'll need to add the

--username [email protected] --password YourPassword

arguments to your client run configuration to log into the server.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?

Posted

Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?

Posted

Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?

 

localhost

is the address to connect to, yes. You can add the server or direct connect, either will work.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Ok that seems easy, but then running a singleplayer world won't do it right? Do I have to go to multiplayer and direct connect to "localhost" or something like that?

 

localhost

is the address to connect to, yes. You can add the server or direct connect, either will work.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

You need to run the server and the client. The client needs to log you in using your Mojang account.

 

Some errors may trigger when loading the server, some will require logging in with a client and doing things in the world.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

You need to run the server and the client. The client needs to log you in using your Mojang account.

 

Some errors may trigger when loading the server, some will require logging in with a client and doing things in the world.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Ok so I can now test what's wrong and the line that crashes the server is

	Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0));

 

which simply spawn a custom particle so I added a

if(!player.worldObj.isRemote)

butit wasn't enough it seems

Posted

Ok so I can now test what's wrong and the line that crashes the server is

	Minecraft.getMinecraft().effectRenderer.addEffect(new EntitySweepAttack2FX(Minecraft.getMinecraft().getTextureManager(), player.worldObj, player.posX + dd0, player.posY + (double)player.height * 0.5D, player.posZ + dd1, 0, 0, 0));

 

which simply spawn a custom particle so I added a

if(!player.worldObj.isRemote)

butit wasn't enough it seems

Posted
World#isRemote

is

true

on the client and

false

on the server.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
World#isRemote

is

true

on the client and

false

on the server.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

http://mcforge.readthedocs.org/en/latest/concepts/sides/

 

Read up and understand.

 

Setup Proxies. Whenever you reference class/method/field maked with @SideOnly - you will call it by proxy. (e.g common proxy method will be empty, and client proxy method will have call to Minecraft class, or Particle or whatever).

 

SideOnly means the class/method/field is NOT present (not loaded by VM) on other side than one typed. You NEED to use proxies if you want to make references to such SideOnly things.

1.7.10 is no longer supported by forge, you are on your own.

Posted

http://mcforge.readthedocs.org/en/latest/concepts/sides/

 

Read up and understand.

 

Setup Proxies. Whenever you reference class/method/field maked with @SideOnly - you will call it by proxy. (e.g common proxy method will be empty, and client proxy method will have call to Minecraft class, or Particle or whatever).

 

SideOnly means the class/method/field is NOT present (not loaded by VM) on other side than one typed. You NEED to use proxies if you want to make references to such SideOnly things.

1.7.10 is no longer supported by forge, you are on your own.

Posted

34ozt5t.jpg

 

Usually I am not rude (I am still not, as of now), but what if I told you that I am writing 3rd post in this thread with SAME content. What do you not understand? Google on how to make proxy, post code, we will fix it if needed.

1.7.10 is no longer supported by forge, you are on your own.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.