Jump to content

OnePoundPP

Members
  • Posts

    64
  • Joined

  • Last visited

Posts posted by OnePoundPP

  1. 1 minute ago, diesieben07 said:

    Well, you are only going to shoot yourself in the foot by going down this route. 1.8 is pretty much out of support, too.

     

    Your mod jar is not a mod. How did you export it?

    opened command window in the mod directory and run gradlew.bat build, that's what I always used to do and it worked fine...? I am using a custom build.gradle file as I needed to add discord as a dependency, but I don't think that would be the issue unless I screwed something up in there

  2. 8 minutes ago, diesieben07 said:

    Why would you update to 1.8 and not 1.11.2? Also, if you must use the 1.8.x branch for whatever reason, use 1.8.9.

     

    Now, please post the FML log.

    Not sure where to find it but this is the latest log from my .minecraft

    [21:38:58] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:38:58] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:38:58] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    [21:38:58] [main/INFO]: Forge Mod Loader version 11.14.4.1577 for Minecraft 1.8 loading
    [21:38:58] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25
    [21:38:58] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:38:58] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:38:58] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:38:58] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    [21:38:58] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:38:59] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
    [21:38:59] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
    [21:38:59] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    [21:38:59] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    [21:38:59] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:38:59] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    [21:38:59] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
    [21:39:00] [Client thread/INFO]: Setting user: OnePoundd
    [21:39:01] [Client thread/INFO]: LWJGL Version: 2.9.1
    [21:39:02] [Client thread/INFO]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
    // I blame Dinnerbone.
    
    Time: 02/06/17 21:39
    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: Windows 10 (amd64) version 10.0
    	Java Version: 1.8.0_25, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 119329040 bytes (113 MB) / 255066112 bytes (243 MB) up to 1060372480 bytes (1011 MB)
    	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    	FML: 
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 376.53' Renderer: 'GeForce GTX 970/PCIe/SSE2'
    [21:39:02] [Client thread/INFO]: Attempting early MinecraftForge initialization
    [21:39:02] [Client thread/INFO]: MinecraftForge v11.14.4.1577 Initialized
    [21:39:02] [Client thread/INFO]: Replaced 204 ore recipies
    [21:39:02] [Client thread/INFO]: Completed early MinecraftForge initialization
    [21:39:02] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
    [21:39:02] [Client thread/INFO]: Searching C:\Users\Alan\AppData\Roaming\.minecraft\mods for mods
    [21:39:07] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
    [21:39:07] [Client thread/INFO]: FML has found a non-mod file modid-1.0.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
    [21:39:07] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
    [21:39:07] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
    [21:39:08] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
    [21:39:08] [Client thread/INFO]: Processing ObjectHolder annotations
    [21:39:08] [Client thread/INFO]: Found 384 ObjectHolder annotations
    [21:39:08] [Client thread/INFO]: Identifying ItemStackHolder annotations
    [21:39:08] [Client thread/INFO]: Found 0 ItemStackHolder annotations
    [21:39:08] [Client thread/INFO]: Configured a dormant chunk cache size of 0
    [21:39:08] [Client thread/INFO]: Applying holder lookups
    [21:39:08] [Forge Version Check/INFO]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    [21:39:08] [Client thread/INFO]: Holder lookups applied
    [21:39:08] [Client thread/INFO]: Injecting itemstacks
    [21:39:08] [Client thread/INFO]: Itemstack injection complete
    [21:39:08] [Client thread/INFO]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
    [21:39:08] [Client thread/ERROR]: Couldn't initialize twitch stream
    [21:39:08] [Sound Library Loader/INFO]: Starting up SoundSystem...
    [21:39:08] [Forge Version Check/INFO]: [Forge] Found status: AHEAD Target: null
    [21:39:08] [Thread-9/INFO]: Initializing LWJGL OpenAL
    [21:39:08] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [21:39:08] [Thread-9/INFO]: OpenAL initialized.
    [21:39:08] [Sound Library Loader/INFO]: Sound engine started
    [21:39:10] [Client thread/INFO]: Max texture size: 16384
    [21:39:10] [Client thread/INFO]: Created: 16x16 textures-atlas
    [21:39:11] [Client thread/INFO]: Injecting itemstacks
    [21:39:11] [Client thread/INFO]: Itemstack injection complete
    [21:39:11] [Client thread/INFO]: Forge Mod Loader has successfully loaded 3 mods
    [21:39:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
    [21:39:11] [Client thread/INFO]: SoundSystem shutting down...
    [21:39:11] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
    [21:39:11] [Sound Library Loader/INFO]: Starting up SoundSystem...
    [21:39:11] [Thread-11/INFO]: Initializing LWJGL OpenAL
    [21:39:11] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    [21:39:11] [Thread-11/INFO]: OpenAL initialized.
    [21:39:11] [Client thread/INFO]: Max texture size: 16384
    [21:39:11] [Sound Library Loader/INFO]: Sound engine started
    [21:39:12] [Client thread/INFO]: Created: 512x512 textures-atlas

    + the reason for the older versions is that's what version the people that would use my mods play on. They play factions servers which are heavily pvp focused and most people prefer to play on 1.7.... Pretty much forced to use 1.8 tho if I ever need help around here, I get its an old af version but thousands of people still use it because the newer ones with pvp updates and all are just crap

  3. My mod works absolutely fine in the eclipse environment but not when actually exporting it and loading it in mc. Was using forge 1.7.10 and updated to 1.8 because its no longer supported for whatever reason... Anyway, same error still occurs, loads fine in eclipse but when exported doesn't load. Can't spot anything myself in the logs relating to my mod not loading but maybe someone here can spot something... Here it is, and thanks in advance;

    
    21:34:04	launcher	main	info	Preparing to launch minecraft client for 1.8-forge1.8-11.14.4.1577
    21:34:04	launcher	main	warn	Couldn't get hash for net/minecraftforge/forge/1.8-11.14.4.1577/forge-1.8-11.14.4.1577.jar from http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.4.1577/forge-1.8-11.14.4.1577.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\net/minecraftforge/forge/1.8-11.14.4.1577/forge-1.8-11.14.4.1577.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar from http://files.minecraftforge.net/maven/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for com/typesafe/config/1.2.1/config-1.2.1.jar from http://files.minecraftforge.net/maven/com/typesafe/config/1.2.1/config-1.2.1.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\com/typesafe/config/1.2.1/config-1.2.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar from http://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar from http://files.minecraftforge.net/maven/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:04	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar.sha1: HTTP 404: Not Found
    21:34:04	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:05	launcher	main	warn	Couldn't get hash for org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar from http://files.minecraftforge.net/maven/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar.sha1: HTTP 404: Not Found
    21:34:05	launcher	main	warn	Have local file C:/Users\Alan\AppData\Roaming\.minecraft\libraries\org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar but don't know what size or hash it should be. Have to assume it's good.
    21:34:05	launcher	main	info	Checking installations.
    21:34:05	launcher	main	info	Minecraft client 1.8-forge1.8-11.14.4.1577 requires 18446744073707708896 bytes to download.
    21:34:05	launcher	main	info	Starting!
    21:34:05	launcher	main	info	Using default game log configuration client-1.7.xml (outputs XML)
    21:34:05	LaunchWrapper	main	info	Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    21:34:05	LaunchWrapper	main	info	Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
    21:34:05	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
    21:34:05	FML	main	info	Forge Mod Loader version 11.14.4.1577 for Minecraft 1.8 loading
    21:34:05	FML	main	info	Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25
    21:34:05	LaunchWrapper	main	info	Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    21:34:05	LaunchWrapper	main	info	Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    21:34:05	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    21:34:05	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
    21:34:05	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    21:34:07	FML	main	info	Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
    21:34:07	FML	main	error	FML appears to be missing any signature data. This is not a good thing
    21:34:07	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
    21:34:07	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
    21:34:07	LaunchWrapper	main	info	Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
    21:34:07	LaunchWrapper	main	info	Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
    21:34:07	LaunchWrapper	main	info	Launching wrapped minecraft {net.minecraft.client.main.Main}
    22:34:07	game		error	2017-06-02 21:34:07,782 WARN Caught Exception while in Loader.getResource. This may be innocuous. java.lang.IllegalArgumentException: name
    	at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:494)
    	at sun.misc.URLClassPath.findResource(URLClassPath.java:176)
    	at java.net.URLClassLoader$2.run(URLClassLoader.java:557)
    	at java.net.URLClassLoader$2.run(URLClassLoader.java:555)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findResource(URLClassLoader.java:554)
    	at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
    	at org.apache.logging.log4j.core.helpers.Loader.getResource(Loader.java:98)
    	at org.apache.logging.log4j.core.config.ConfigurationFactory.getInputFromResource(ConfigurationFactory.java:300)
    	at org.apache.logging.log4j.core.config.ConfigurationFactory.getInputFromString(ConfigurationFactory.java:280)
    	at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:380)
    	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:377)
    	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:149)
    	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:85)
    	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:34)
    	at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:387)
    	at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:322)
    	at net.minecraft.client.Minecraft.<clinit>(Minecraft.java:192)
    	at net.minecraft.client.main.Main.main(SourceFile:40)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:483)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    
      <log4j:Event logger="net.minecraft.client.Minecraft" timestamp="1496435647964" level="INFO" thread="Client thread">
        <log4j:Message><![CDATA[Setting user: OnePoundd]]></log4j:Message>
      </log4j:Event>
    22:34:07	monitor	Process Monitor	error	expected <
    21:34:09	net.minecraft.client.Minecraft	Client thread	info	LWJGL Version: 2.9.1
    21:34:10	STDOUT	Client thread	info	[net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
    // Oh - I know what I did wrong!
    
    Time: 02/06/17 21:34
    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: Windows 10 (amd64) version 10.0
    	Java Version: 1.8.0_25, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 124121392 bytes (118 MB) / 255066112 bytes (243 MB) up to 1060372480 bytes (1011 MB)
    	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    	FML: 
    	Loaded coremods (and transformers): 
    	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 376.53' Renderer: 'GeForce GTX 970/PCIe/SSE2'
    21:34:10	MinecraftForge	Client thread	info	Attempting early MinecraftForge initialization
    21:34:10	FML	Client thread	info	MinecraftForge v11.14.4.1577 Initialized
    21:34:10	FML	Client thread	info	Replaced 204 ore recipies
    21:34:10	MinecraftForge	Client thread	info	Completed early MinecraftForge initialization
    21:34:10	FML	Client thread	info	Found 0 mods from the command line. Injecting into mod discoverer
    21:34:10	FML	Client thread	info	Searching C:\Users\Alan\AppData\Roaming\.minecraft\mods for mods
    21:34:15	FML	Client thread	info	Forge Mod Loader has identified 3 mods to load
    21:34:15	FML	Client thread	info	FML has found a non-mod file modid-1.0.0.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
    21:34:15	FML	Client thread	info	Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
    21:34:15	FML	Client thread	info	Attempting connection with missing mods [mcp, FML, Forge] at SERVER
    21:34:15	net.minecraft.client.resources.SimpleReloadableResourceManager	Client thread	info	Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
    21:34:15	FML	Client thread	info	Processing ObjectHolder annotations
    21:34:15	FML	Client thread	info	Found 384 ObjectHolder annotations
    21:34:15	FML	Client thread	info	Identifying ItemStackHolder annotations
    21:34:15	FML	Client thread	info	Found 0 ItemStackHolder annotations
    21:34:15	FML	Client thread	info	Configured a dormant chunk cache size of 0
    21:34:15	FML	Client thread	info	Applying holder lookups
    21:34:15	ForgeVersionCheck	Forge Version Check	info	[Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
    21:34:15	FML	Client thread	info	Holder lookups applied
    21:34:15	FML	Client thread	info	Injecting itemstacks
    21:34:15	FML	Client thread	info	Itemstack injection complete
    21:34:15	STDOUT	Client thread	info	[tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
    21:34:15	net.minecraft.client.Minecraft	Client thread	error	Couldn't initialize twitch stream
    21:34:15	net.minecraft.client.audio.SoundManager	Sound Library Loader	info	Starting up SoundSystem...
    21:34:15	ForgeVersionCheck	Forge Version Check	info	[Forge] Found status: AHEAD Target: null
    21:34:15	net.minecraft.client.audio.SoundManager	Thread-9	info	Initializing LWJGL OpenAL
    21:34:15	net.minecraft.client.audio.SoundManager	Thread-9	info	(The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    21:34:15	net.minecraft.client.audio.SoundManager	Thread-9	info	OpenAL initialized.
    21:34:16	net.minecraft.client.audio.SoundManager	Sound Library Loader	info	Sound engine started
    21:34:18	FML	Client thread	info	Max texture size: 16384
    21:34:18	net.minecraft.client.renderer.texture.TextureMap	Client thread	info	Created: 16x16 textures-atlas
    21:34:18	FML	Client thread	info	Injecting itemstacks
    21:34:18	FML	Client thread	info	Itemstack injection complete
    21:34:19	FML	Client thread	info	Forge Mod Loader has successfully loaded 3 mods
    21:34:19	net.minecraft.client.resources.SimpleReloadableResourceManager	Client thread	info	Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
    21:34:19	net.minecraft.client.audio.SoundManager	Client thread	info	SoundSystem shutting down...
    21:34:19	net.minecraft.client.audio.SoundManager	Client thread	warn	Author: Paul Lamb, www.paulscode.com
    21:34:19	net.minecraft.client.audio.SoundManager	Sound Library Loader	info	Starting up SoundSystem...
    21:34:19	net.minecraft.client.audio.SoundManager	Thread-11	info	Initializing LWJGL OpenAL
    21:34:19	net.minecraft.client.audio.SoundManager	Thread-11	info	(The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    21:34:19	net.minecraft.client.audio.SoundManager	Thread-11	info	OpenAL initialized.
    21:34:19	FML	Client thread	info	Max texture size: 16384
    21:34:19	net.minecraft.client.audio.SoundManager	Sound Library Loader	info	Sound engine started
    21:34:20	net.minecraft.client.renderer.texture.TextureMap	Client thread	info	Created: 512x512 textures-atlas
    21:34:24	net.minecraft.client.Minecraft	Client thread	info	Stopping!
    21:34:24	net.minecraft.client.audio.SoundManager	Client thread	info	SoundSystem shutting down... 

    Forge versions used match up, the mod should work on the version of forge I've got installed so no clue what's going on...

  4. Don't think the error is anything to do with my code or anything as it happens with all mods, optifine, reis minimap... All mods are of the right version for the forge I am using (when running mc through eclipse, the mod loads fine and I can see in the bottom left that the forge version is the same as the one i'm trying to use with my actual mc). Yes I've tried re-installing, doesn't fix.

    Here's a snip of the logs where the error occurs, would like to know whats up if anyone can spot the issue:

    	Zip file modid-1.0.0.jar failed to read properly, it will be ignored
    java.lang.NullPointerException
    	at cpw.mods.fml.common.MetadataCollection.from(MetadataCollection.java:71)
    	at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:53)
    	at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42)
    	at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71)
    	at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131)
    	at cpw.mods.fml.common.Loader.identifyMods(Loader.java:364)
    	at cpw.mods.fml.common.Loader.loadMods(Loader.java:489)
    	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)
    	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
    	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
    	at net.minecraft.client.main.Main.main(SourceFile:148)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:483)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    Thanks in advance

  5. Whenever I try running my mod I get this error:
    Working directory does not exist: File\Path\run

     

    You'd think this issue would be pretty self explanatory but there is no file or folder called "run" within the place I'm directed/the mod workspace.

     

    I've started from fresh and tried it on newer versions of forge, even without adding any code I still get the error. Any ideas how to fix this? Might be something to do with eclipse but I cant narrow down the error at all.

     

     

    Edit:

    Fixed by creating an empty run folder, strange...

  6. As I explain in this thread, vanilla fields and methods have multiple names. You need to check for both the SRG and MCP names when accessing a field/method through reflection.

     

    ReflectionHelper.findField

    and

    ReflectionHelper.findMethod

    make this easy by taking multiple names and trying each one until it finds the right one for the current environment.

     

    Ahh, that makes sense. Thank you.

     

    Is there anywhere I can find the obfuscated/srg names for all the fields? Been searching for a while and can't find any documentation...

     

    EDIT: Nevermind, I found the file C:\Users\{YOUR_USER}\.gradle\caches\minecraft\net\minecraftforge\forge\{VERSION}\srgs\mcp-srg.srg

  7. I've used reflection to gain a sort of "fast-place" hack, as you cant edit it manually as you would with a normal client. Anyway, whilst running the game through eclipse the mod works fine, fastplace works, but whenever I export it and try it in a normal minecraft instance it doesn't work at all... I don't have any idea why this would be the case...

     

    try{

    Field f = net.minecraft.client.Minecraft.class.getDeclaredField("rightClickDelayTimer");

    f.setAccessible(true);

    f.set(Minecraft.getMinecraft(), 1);

    }catch(Exception e){

    e.printStackTrace();

    }

     

    The mod works through the eclipse run button, but whenever I use the feature in a genuine minecraft window it doesn't work... Any help is greatly appreciated.

  8. What are the basic ways of creating/readingfrom/writing to config files? I have searched for the forge config api on the docs but all links on google take you to the readthedocs homepage...

     

    If anyone could tell me, or link me a working example (as the docs are screwed) of how to:

    Create a base config file if one doesn't exist

    Write to a config file

    Read from a config file

     

    Thanks for anyone willing to help :)

  9. Is there any (the most simple) ways to change the value of a variable in the forgesrc referenced library?

     

    basically my goal is changing the value of rightClickDelayTimer in net.minecraft.client.Minecraft to equal something lower, lets say 2 instead of 4, this is basically the well known "fast place" modification.

     

    If you don't know, rightClickDelayTimer is the amount of ticks you have to wait in minecraft before it will register your right click again.

     

    If there is no easy way of editing the variable from elsewhere in my code, is there a way I can replace the class with an edited version?

  10. you can try

    player.setAngles(float,float);

     

    That is how I simulate camera shake. I believe I call it client side.

     

    Client-only can work for things that are purely visual and temporary, like camera shake. But if you actually want the entity to turn or change actual position, the server needs to know about it.

    I know its not necessarily forcing the player to face north, but this is how I forced the player to keep turning until facing near enough north (without sending anything to the server, just using java's robot feature :)):

     

     

    if(faceNorth == true){

            int yaw = (int)player.rotationYaw;

            if (yaw<0){

            yaw += 360;

            }

            yaw+=22;

            yaw%=360;

            int facing = (int) (yaw/1); //divides the turn into 360 parts to get a more central location, instead of 4 for north, south, east and west

            if(facing < 198){

            MouseSimulator.MoveMouseRight();

            }else if(facing > 202){

            MouseSimulator.MoveMouseLeft();

            }else{

            faceNorth = false;

            }

     

     

    And then in the MouseSimulator class:

     

    public static void MoveMouseRight() throws AWTException{

    Robot KeyPresser = new Robot();

            Point startLocation = MouseInfo.getPointerInfo().getLocation();

            int startX = startLocation.x;

            int startY = startLocation.y;

            endX = startX + 4;  //For left movement, change to minus 4

            KeyPresser.mouseMove(endX, startY);

    }

     

     

     

  11. Yes, you might be running into an issue with the side. If you simply update the rotationYaw on the client, then the very next time the server syncs the player entity it will erase your change. You probably need to change it on the server and then let it sync back to the client naturally to take effect.

     

    Can you do this without having access to the server console? Like how would I update it on the server?

     

    If not, what I've been trying to do is simulate mouse movement, here's a quick algorithm I wrote:

                int rotation = player.getRotationYawHead();

    if(!(otation > 1.9 & rotation < 2.1)){ //if not facing practically north (relative to the F coordinate)

    //use robot to cause mouse movement

     

    This didn't work, just endlessly forced the mouse to move. To try and debug I sysouted the value of rotation which only increased as the player spun, it didn't result to a value in the range 0, 1, 2, 3 (the south, east, north and west values in mc), it just resulted in a never increasing number. Forcing the player to look the other way just decreased this number back down, its like a never ending corkscrew which keeps track of how many times you've spun.

     

    To try and make sense of this, say x equalled 0 to begin with.

    Move mouse right performing one entire spin in minecraft

    x would now equal (not accurate) 50

    do another right spin

    x would equal 100

    do a left spin

    x would equal 50...

     

    Is there not another method of returning the actual "f" coordinated showed in minecrafts f3 mode? Because all I seem to be grabbing is a number relative to the amount of times you've spun xD

     

    If not, then I guess ill need to do the server method you were on about, but I have no idea how you do that...

     

  12. Is it not working at all (not turning), or is it pointing to different direction than expected?

     

    Is your code running on the server or client side? Where is the code you showed running from?

     

    Its not working at all, the player head is not turning.

    This code is handled client side.

    The if statement runs within a tickhandler class in which the other variables in the statement are set to false

  13. Please show more of your code, that method should work.

     

    if(Teleport == true & teleportTime == 340){

                                    EntityPlayer player = Minecraft.getMinecraft().thePlayer;

    player.setRotationYawHead(2);

    Teleport = false;

    pressTime = -1;

    }

     

    I know that the if statement returns true, because the other lines of code occur around it...

  14. Use

    EntityLivingBase#isPotionActive

    ,

    EntityLivingBase#getActivePotionEffect

    or

    EntityLivingBase#getActivePotionEffects

    .

     

    Say I was trying to figure out if the player had a level 1/ level 2 buff of speed, how would I do that?

     

    I know the speed effect has the potion id 1, but what is the speed 2 id, or the speed 3/4?

     

    player.isPotionActive(1); For speed 1

    player.isPotionActive(Speed_2)??

  15. SOLVED: Thanks to everyone who helped, especially Draco18s!

     

    For anyone who has the same issue in the future:

     

    To simulate a delay between two lines of code you cannot use Thread.Sleep() or anything as such because it causes the entire thread, including minecraft to freeze. Instead you must force a line of code to be executed on one tick and wait for another tick to come before executing the next.

     

    Example:

     

    int pressTime;

    public void onPlayerTick(ClientTickEvent event){

        if(pressTime == 20){  *20 TICKS IS 1 SECOND*

            //do one line of code

        }else if(pressTime == 40){  *SIMULATES A 1 SECOND DELAY*

            //do another line of code

        }

        pressTime++;  *increments presstime by 1 every tick.

    }

  16. Having the above in a while loop*

     

    *Defeats the whole purpose.

     

    DO NOT USE A LOOP ANYWHERE IN YOUR CODE.  The tick event handler IS the loop.

     

    Ok..

     

    So basically what I had was WHILE harvest was enabled (enabled by the key press), do some stuff including press down a key, after the key is pressed down I need to count ticks and when x ticks have gone by, release the key.

     

    How would I go about doing this if I cant use a while loop?

     

  17. basically I need some sort of pressTime that does the same thing as burn time but for the key press.

     

    Bingo.

     

    Can you explain to me what 'counting ticks' actually means

     

    @EventHandler
    public void onTick(TickEvent event) {
        //a tick happened
        //increment counter
        pressTime++;
    }

     

    So maybe something like this could work?:

     

    @EventHandler

    public void onTick(TickEvent event) {

        //a tick happened

        //increment counter

        pressTime++;

    }

     

     

    (Psuedocode)

    @SubscribeEvent

    on key press

    if key is harvest key

    pressTime = 0

    press key w

    if pressTime = 10{

        release key w

        pressTime = 0

    }

     

    Having the above in a while loop*

  18. Dude.

    Seriously.

    All of that code runs in a single tick.  It doesn't actually "wait" (even if real-time it takes it four seconds).

    That's why the game appears to freeze.

     

    In order for you to perform an operation over time you need to count ticks.

     

    Open up TileEntityFurnace and look at the

    burnTime

    variable.  Look at what it does.

     

    burnTime is the amount of ticks it keeps the furnace burning for now it makes more sense, basically I need some sort of pressTime that does the same thing as burn time but for the key press.

     

    Can you explain to me what 'counting ticks' actually means, how you do it, and how it will help me to perform the action over time?

     

    I can sense I'm getting a little tedious, but I genuinely am grateful for the help just not really understanding how I can do this in my mod quite yet..

×
×
  • Create New...

Important Information

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