Asweez Posted November 17, 2015 Posted November 17, 2015 I'm trying the spawn in an arrow and this is the error: Reveal hidden contents [17:20:40] [main/INFO] [GradleStart]: username: Asweez [17:20:40] [main/INFO] [GradleStart]: Extra: [] [17:20:40] [main/INFO] [GradleStart]: Password found, attempting login [17:20:40] [main/INFO]: Logging in with username & password [17:20:41] [main/INFO] [GradleStart]: Login Succesful! [17:20:41] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, [], --assetsDir, /Users/Kids/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --userType, mojang, --accessToken, {REDACTED}, --version, 1.8, --uuid, f5cb1557227e4b58b571b98d4f5e2f34, --username, Asweez, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [17:20:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [17:20:41] [main/INFO] [FML]: Forge Mod Loader version 8.99.124.1450 for Minecraft 1.8 loading [17:20:41] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_65, running on Mac OS X:x86_64:10.10.4, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre [17:20:41] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:20:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [17:20:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [17:20:41] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [17:20:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [17:20:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:20:41] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:20:42] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:20:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [17:20:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [17:20:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [17:20:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [17:20:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [17:20:42] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:20:42] [Client thread/INFO]: Setting user: Asweez [17:20:44] [Client thread/INFO]: LWJGL Version: 2.9.2 [17:20:45] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ---- // Quite honestly, I wouldn't worry myself about that. Time: 11/16/15 5:20 PM Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8 Operating System: Mac OS X (x86_64) version 10.10.4 Java Version: 1.8.0_65, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 440160144 bytes (419 MB) / 533200896 bytes (508 MB) up to 1908932608 bytes (1820 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.6.31' Renderer: 'Intel Iris Pro OpenGL Engine' [17:20:45] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:20:45] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1450 Initialized [17:20:45] [Client thread/INFO] [FML]: Replaced 204 ore recipies [17:20:45] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:20:45] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [17:20:45] [Client thread/INFO] [FML]: Searching /Users/Kids/Desktop/MiniMods/Armor Stuff/mods for mods [17:20:45] [Client thread/INFO] [hta]: Mod hta is missing the required element 'name'. Substituting hta [17:20:46] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [17:20:46] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, hta] at CLIENT [17:20:46] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, hta] at SERVER [17:20:46] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:hta [17:20:46] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [17:20:46] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [17:20:46] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [17:20:46] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [17:20:46] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [17:20:46] [Client thread/INFO] [FML]: Applying holder lookups [17:20:46] [Client thread/INFO] [FML]: Holder lookups applied [17:20:46] [Client thread/INFO] [FML]: Injecting itemstacks [17:20:46] [Client thread/INFO] [FML]: Itemstack injection complete [17:20:46] [sound Library Loader/INFO]: Starting up SoundSystem... [17:20:47] [Thread-8/INFO]: Initializing LWJGL OpenAL [17:20:47] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:20:47] [Thread-8/INFO]: OpenAL initialized. [17:20:47] [sound Library Loader/INFO]: Sound engine started [17:20:48] [Client thread/INFO]: Created: 512x512 textures-atlas [17:20:48] [Client thread/INFO] [FML]: Injecting itemstacks [17:20:48] [Client thread/INFO] [FML]: Itemstack injection complete [17:20:48] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods [17:20:48] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:hta [17:20:48] [Client thread/INFO]: SoundSystem shutting down... [17:20:49] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [17:20:49] [sound Library Loader/INFO]: Starting up SoundSystem... [17:20:49] [Thread-10/INFO]: Initializing LWJGL OpenAL [17:20:49] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [17:20:49] [Thread-10/INFO]: OpenAL initialized. [17:20:49] [sound Library Loader/INFO]: Sound engine started [17:20:50] [Client thread/INFO]: Created: 512x512 textures-atlas [17:21:11] [server thread/INFO]: Starting integrated minecraft server version 1.8 [17:21:11] [server thread/INFO]: Generating keypair [17:21:11] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [17:21:11] [server thread/INFO] [FML]: Applying holder lookups [17:21:11] [server thread/INFO] [FML]: Holder lookups applied [17:21:11] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@314e4d95) [17:21:11] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@314e4d95) [17:21:11] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@314e4d95) [17:21:11] [server thread/INFO]: Preparing start region for level 0 [17:21:12] [server thread/INFO]: Changing view distance to 12, from 10 [17:21:13] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [17:21:13] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [17:21:13] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : FML@8.0.99.99,hta@1.0,Forge@11.14.3.1450,mcp@9.05 [17:21:13] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [17:21:13] [server thread/INFO] [FML]: [server thread] Server side modded connection established [17:21:13] [server thread/INFO]: Asweez[local:E:a629aed5] logged in with entity id 386 at (40.62682487367457, 72.50776055217727, 194.9368228411861) [17:21:13] [server thread/INFO]: Asweez joined the game [17:21:16] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:781) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65] Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) ~[?:1.8.0_65] at java.util.HashMap$KeyIterator.next(HashMap.java:1453) ~[?:1.8.0_65] at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) ~[guava-17.0.jar:?] at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) ~[forgeSrc-1.8-11.14.3.1450.jar:?] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-17.0.jar:?] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-17.0.jar:?] at net.minecraft.world.chunk.Chunk.getEntitiesWithinAABBForEntity(Chunk.java:1065) ~[Chunk.class:?] at net.minecraft.world.World.func_175674_a(World.java:3223) ~[World.class:?] at net.minecraft.world.World.getEntitiesWithinAABBExcludingEntity(World.java:3206) ~[World.class:?] at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1366) ~[World.class:?] at net.minecraft.entity.Entity.moveEntity(Entity.java:639) ~[Entity.class:?] at net.minecraft.entity.item.EntityItem.onUpdate(EntityItem.java:110) ~[EntityItem.class:?] at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2031) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758) ~[WorldServer.class:?] at net.minecraft.world.World.updateEntity(World.java:1997) ~[World.class:?] at net.minecraft.world.World.updateEntities(World.java:1823) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775) ~[MinecraftServer.class:?] ... 4 more [17:21:16] [server thread/ERROR]: This crash report has been saved to: /Users/Kids/Desktop/MiniMods/Armor Stuff/./crash-reports/crash-2015-11-16_17.21.16-server.txt [17:21:16] [server thread/INFO]: Stopping server [17:21:16] [server thread/INFO]: Saving players [17:21:16] [server thread/INFO]: Saving worlds [17:21:16] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [17:21:16] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 11/16/15 5:21 PM Description: Ticking entity java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.minecraft.world.chunk.Chunk.getEntitiesWithinAABBForEntity(Chunk.java:1065) at net.minecraft.world.World.func_175674_a(World.java:3223) at net.minecraft.world.World.getEntitiesWithinAABBExcludingEntity(World.java:3206) at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1366) at net.minecraft.entity.Entity.moveEntity(Entity.java:639) at net.minecraft.entity.item.EntityItem.onUpdate(EntityItem.java:110) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2031) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758) at net.minecraft.world.World.updateEntity(World.java:1997) at net.minecraft.world.World.updateEntities(World.java:1823) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) at java.lang.Thread.run(Thread.java:745) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$KeyIterator.next(HashMap.java:1453) at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.minecraft.world.chunk.Chunk.getEntitiesWithinAABBForEntity(Chunk.java:1065) at net.minecraft.world.World.func_175674_a(World.java:3223) at net.minecraft.world.World.getEntitiesWithinAABBExcludingEntity(World.java:3206) at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1366) at net.minecraft.entity.Entity.moveEntity(Entity.java:639) at net.minecraft.entity.item.EntityItem.onUpdate(EntityItem.java:110) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2031) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:758) at net.minecraft.world.World.updateEntity(World.java:1997) -- Entity being ticked -- Details: Entity Type: Item (net.minecraft.entity.item.EntityItem) Entity ID: 204 Entity Name: item.item.egg Entity's Exact location: 36.39, 67.00, 197.75 Entity's Block location: 36.00,67.00,197.00 - World: (36,67,197), Chunk: (at 4,4,5 in 2,12; contains blocks 32,0,192 to 47,255,207), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Entity's Momentum: -0.00, -0.04, 0.00 Entity's Rider: ~~ERROR~~ NullPointerException: null Entity's Vehicle: ~~ERROR~~ NullPointerException: null Stacktrace: at net.minecraft.world.World.updateEntities(World.java:1823) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:587) -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['Asweez'/386, l='New World', x=46.61, y=72.51, z=198.79]] Chunk stats: ServerChunkCache: 819 Drop: 0 Level seed: -8723371659538928650 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: 100.00,64.00,252.00 - World: (100,64,252), Chunk: (at 4,4,12 in 6,15; contains blocks 96,0,240 to 111,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 35927 game time, 891 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 135093 (now: false), thunder time: 77541 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:775) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:171) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:540) at java.lang.Thread.run(Thread.java:745) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Mac OS X (x86_64) version 10.10.4 Java Version: 1.8.0_65, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 287926880 bytes (274 MB) / 876085248 bytes (835 MB) up to 1908932608 bytes (1820 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1450 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1450.jar) UCHIJAAAA Forge{11.14.3.1450} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1450.jar) UCHIJAAAA hta{1.0} [hta] (bin) Loaded coremods (and transformers): GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count: 1 / 8; [EntityPlayerMP['Asweez'/386, l='New World', x=46.61, y=72.51, z=198.79]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [17:21:16] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# ./crash-reports/crash-2015-11-16_17.21.16-server.txt [17:21:16] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: java.util.ConcurrentModificationException [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.util.HashMap$KeyIterator.next(HashMap.java:1453) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:486) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.util.ClassInheritanceMultiMap$2.computeNext(ClassInheritanceMultiMap.java:125) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:378) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:193) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.world.gen.ChunkProviderServer.saveChunkData(ChunkProviderServer.java:266) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:332) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:976) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:419) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:454) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:356) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:593) [17:21:16] [server thread/INFO] [sTDERR]: [java.lang.Throwable$WrappedPrintStream:println:748]: at java.lang.Thread.run(Thread.java:745) [17:21:16] [server thread/INFO]: Saving chunks for level 'New World'/Nether [17:21:16] [server thread/INFO]: Saving chunks for level 'New World'/The End [17:21:18] [server thread/INFO] [FML]: Unloading dimension 0 [17:21:18] [server thread/INFO] [FML]: Unloading dimension -1 [17:21:18] [server thread/INFO] [FML]: Unloading dimension 1 [17:21:18] [server thread/INFO] [FML]: Applying holder lookups [17:21:18] [server thread/INFO] [FML]: Holder lookups applied [17:21:18] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [17:21:18] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Here is the method: @Override public void onKeyPress(EntityPlayer player) { if(!player.worldObj.isRemote){ EntityArrow arrow = new EntityArrow(player.worldObj, player, 2); player.worldObj.spawnEntityInWorld(arrow); } } This method is called by my KeyEventHandler which provides an EntityPlayerMP for the player. What am I doing wrong? Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
Asweez Posted November 17, 2015 Author Posted November 17, 2015 Ok I have a key handler that sends a packet to the server and the server receives that packet and calls the onKeyPress method. This keyPress method is part of the module classes we were talking about earlier Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
Asweez Posted November 17, 2015 Author Posted November 17, 2015 Ok did some testing it turns out that when I press the key (only once) the method is called a LOT and keeps getting called over and over. What could make this happen? Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
coolAlias Posted November 17, 2015 Posted November 17, 2015 On 11/17/2015 at 1:36 AM, Asweez said: Ok did some testing it turns out that when I press the key (only once) the method is called a LOT and keeps getting called over and over. What could make this happen? Hard to say without seeing your code, but I bet you're doing something like setting a field saying the key was pressed, then sending a packet as long as that is true. What are you using to handle key presses? KeyInputEvent or one of the TickEvents? Show your whole class (or at least every piece of it related to handling keys) and any related classes. Quote http://i.imgur.com/NdrFdld.png[/img]
Draco18s Posted November 17, 2015 Posted November 17, 2015 On 11/17/2015 at 1:36 AM, Asweez said: Ok did some testing it turns out that when I press the key (only once) the method is called a LOT and keeps getting called over and over. What could make this happen? Depending on what keyboard event your listening to, you're likely asking isKeyDown(key) which will be true for the entire duration that the key is pressed. Which as the code runs 60+ times a second* and a press lasts a tenth of a second...that's at least 6 calls. *Pretty much as fast as the program runs, not tied to game ticks in any way. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Asweez Posted November 17, 2015 Author Posted November 17, 2015 Code: package com.apmods.hta.handler; import com.apmods.hta.key.HTAKeys; import com.apmods.hta.network.AttackKeyPackage; import com.apmods.hta.network.HTANetwork; import net.minecraft.client.Minecraft; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.InputEvent.KeyInputEvent; public class HTAKeyHandler { @SubscribeEvent public void keyDown(KeyInputEvent event){ if(HTAKeys.attack1.isPressed()){ if(Minecraft.getMinecraft().inGameHasFocus){ HTANetwork.net.sendToServer(new AttackKeyPackage.KeyMessage(1)); } } else if(HTAKeys.attack2.isPressed()){ if(Minecraft.getMinecraft().inGameHasFocus){ HTANetwork.net.sendToServer(new AttackKeyPackage.KeyMessage(2)); } } } } And when I press it and let go of the key, it just keeps calling the method Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
coolAlias Posted November 17, 2015 Posted November 17, 2015 KeyInputEvent fires both when a key is pressed and when it is released, AND it fires for every single key on the keyboard, not just ones you may want to listen to. You need to check Keyboard.getEventKey() and compare it to the keyCodes of your KeyBindings, and also check Keyboard.getEventState() which is true when the key is pressed. Quote http://i.imgur.com/NdrFdld.png[/img]
Asweez Posted November 17, 2015 Author Posted November 17, 2015 Ok this is really weird. When I press the key, even with your code: if(Keyboard.getEventKey() == HTAKeys.attack1.getKeyCode() && Keyboard.getEventKeyState()){ if(Minecraft.getMinecraft().inGameHasFocus){ HTANetwork.net.sendToServer(new AttackKeyPackage.KeyMessage(1)); } } It will constantly put out "key pressed" in the console, even when I quit the world it keeps going. What is going on? Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
coolAlias Posted November 17, 2015 Posted November 17, 2015 What are you doing server side? You really need to show ALL of your code that is related to the problem, otherwise we're going to go back and forth and back and forth, and that gets really tiresome. SHOW YOUR CODE. Quote http://i.imgur.com/NdrFdld.png[/img]
Asweez Posted November 17, 2015 Author Posted November 17, 2015 Oh wow all it was was that there was a for loop that was making it run multiple times. My bad. Thank you for helping, though. Quote Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
Recommended Posts
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.