Jump to content

culegooner

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by culegooner

  1. The key binding in options.txt for forge mods is being reset everytime minecraft starts. So far i've tested it on the following mods and it's consistent across all of them industrialcraft2, craftguide, dynamiclights, backpacks, ropes+ I tried to change a minecraft keybinding like Forward and that change stayed. so it only applied to mods keybinding. I'm on forge 803 The keybinding for mods that use their own files such as rei minimap and voxel map are unaffected.
  2. Sorry. log when run from eclipse log when run from startserver.bat if i should be taking hints from this: MinecraftForge/FML@0378355c3720d587652b7792665a8b70bf104eb3 The server.classpath generates the runtime manifest, so it needs the non-debug asm jars. I get errors in eclipse if i have asm-all-4.1.jar in the classpath instead of asm-debug-all-4.1.jar. Type mismatch: cannot convert from element type Object to MethodNode AccessTransformer.java line 233 Type mismatch: cannot convert from element type Object to FieldNode AccessTransformer.java line 214 Catch 22
  3. Thanks I didn't know about the mcp_data dir. OT & FYI: Forge 9.10.0.792 crashes when running the server. it works fine for the client.
  4. can you make forge src install.cmd continue installing if it finds the mcp dir with just the jars dir inside it and nothing else? i.e. let it extract mcp8.04.zip and carry on as normal right now I get this error because I don't delete the jars folder. which means I have to extract mcp8.04.zip myself before running install.cmd ================ Forge ModLoader Setup Start =================== Old MCP Directory exists, but MCP was not detected, please delete MCP directory at 'C:\minecraft\forge162\beta\forge\mcp' Press any key to continue . . . or is there a way of telling forge, don't download from the internet, use this folder x to copy over the libraries assets and mcp8.04.zip
  5. This tutorial is outdated and keeps misleading a lot of people. The goal of AccessTransformers is just to change a vanilla access level: i.e private int var; into public int var; and I also see a lot of people doing the same cfg stuff and call without understanding what it does. public up.G # spawnHostileMobs and event.getServer().worldServerForDimension(0).spawnHostileMobs = false; as for running in eclipse, you don't have to use the argument, you can create a dummy jar and in the manifest file point to the loading plugin. then copy that jar into mcp/jars/mods I wrote a tutorial on coremods here http://www.minecraftforum.net/topic/1854988-
  6. We need more information to be able to help you. are you running it from eclipse for example. did you remember to place the project in the classpath? is your spelling of the package and class name correct? beware, the message FML has found a non-mod file .... appears even when the mod *IS* loaded.
  7. With the advent of 1.6.1 and since base editing is dead now. I wrote a tutorial on base editing using ASM and events handling. I couldn't find many recent tutorials on this subject so I just went ahead and did one. I'm not a forge expert so i'd appreciate it if you can scrutinize the tutorial and see if i'm missing something or doing something wrong or inconsistent with the new forge. the tutorial is here http://www.minecraftforum.net/topic/1854988-tutorial-152161-changing-vanilla-without-editing-base-classes-coremods-and-events-very-advanced/
  8. Once again thanks!! Main class: cpw.mods.fml.relauncher.ServerLaunchWrapper
  9. Thank YOU!!! SO MUCH! I really felt i was out of the loop! I did try the net.minecraft.launchwrapper.Launch at some point but that gave me an error, didn't know the arguments. so i dismissed it. Thank you for pointing me to that file, I would have never guessed. Main Class: net.minecraft.launchwrapper.Launch Program arguments: --version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker But trying to run the Server still gives the error I mentioned above I checked the Server.launch and it's the same as mine, no arguments and calling net.minecraft.server.MinecraftServer. any ideas on that one? https://github.com/MinecraftForge/FML/blob/master/install/eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Server.launch
  10. Turns out this is an FML issue. configureLogging in FMLRelaunchLog is never called so the Logger isn't properly initialized before it's called in Minecraft.java I just have no idea how everybody else seems to be running forge and modding, it's virtually impossible at the moment since the cpw package is missing some functionality. but what the hell do I know. I'll wait
  11. Are you sure forge is being compiled in??? I don't think so. Session ID is null has nothing to do with this error. Go to Java Build Path -> Libraries and click on "Add Jar" select jars->version->1.6.1-> 1.6.1.jar Then go the Order and Export tab and select 1.6.1.jar Now it should run minecraft
  12. Hello! I'm trying to run forge from within eclipse and everytime I'm getting this error Exception in thread "main" java.lang.NullPointerException at java.util.logging.Logger.setParent(Logger.java:1472) at net.minecraft.logging.LogAgent.setupLogger(LogAgent.java:33) at net.minecraft.logging.LogAgent.<init>(LogAgent.java:25) at net.minecraft.client.Minecraft.<init>(Minecraft.java:306) at net.minecraft.client.main.Main.main(Main.java:77) at Start.main(Start.java:68) I don't use the eclipse workspace given in MCP instead I have my own with the following setup: my eclipse enviroment in the Java Build Path Source folder pointing at minecraft jars folder is linked to the project but not set as source Libraries and all of the jars from the jars/libraries folder are all added to the project and selected in the Order and Export tab jars/version/1.6.1/1.6.1.jar is also added and selected Native library location set for lwjgl* and jinput pointing at forge161/jars/versions/1.6.1/1.6.1-natives My run configuration is Main class: Start Working Directory: ${workspace_loc:forge161/jars} No arguments All of source is compiled correctly in eclipse with 0 errors but with a lot of warnings. I tried this exact same setup for running decompiled minecraft 1.6.1 with MCP but without forge and it runs fine. I also used to use this setup to run forge for 1.5.2 with no problems I tried running it from forge/mcp/startclient.bat and that is not working either, it's giving the same error: I can't run the Minecraft forge server either: For the server I added the jars/minecraft_server.1.6.1.jar to the Library and selected for export The run configuration for the server is: Main class: net.minecraft.server.MinecraftServer The error is: Exception in thread "main" java.lang.ExceptionInInitializerError at net.minecraft.block.Block.<clinit>(Block.java:1409) at net.minecraft.stats.StatList.initMinableStats(StatList.java:185) at net.minecraft.stats.StatList.<clinit>(StatList.java:96) at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1387) Caused by: java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader cannot be cast to net.minecraft.launchwrapper.LaunchClassLoader at cpw.mods.fml.common.ModClassLoader.<init>(ModClassLoader.java:45) at cpw.mods.fml.common.Loader.<init>(Loader.java:183) at cpw.mods.fml.common.Loader.instance(Loader.java:163) at cpw.mods.fml.common.registry.GameData.newItemAdded(GameData.java:101) at net.minecraft.item.Item.<init>(Item.java:272) at net.minecraft.item.ItemTool.<init>(ItemTool.java:28) at net.minecraft.item.ItemSpade.<init>(ItemSpade.java:12) at net.minecraft.item.Item.<clinit>(Item.java:48) ... 4 more the mcp/startserver.bat is also giving an error, but it has more to do for not adding the launchwrapper-1.3.jar to the classpath any ideas?
×
×
  • Create New...

Important Information

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