Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

keepcalm

Forge Modder
  • Posts

    281
  • Joined

  • Last visited

Posts posted by keepcalm

  1. As a guess, I'd say you somehow messed up your optifine installation - the error is graphics-related on the clientside, so probably try an older or newer version of optifine, and check the optifine thread on minecraftforum to see if there's anything there about forge versions.

  2. If you absolutely MUST export it into the mods folder, export into <mcp folder>/jars/mods/x.jar

     

    The crash you're seeing is because you need to reobfuscate everything in mcp.

    You need to copy your packages into the common folder in the Minecraft project in eclipse. Then, open up your mcp folder and run recompile.sh/.bat and then reobfuscate.sh/bat

     

    But seriously, it's far easier to just code it all in the Minecraft project.

  3. Assuming your minecraft_server.jar is in /Users/yourusername/server/minecraft_server.jar, and forge is in /Users/yourusername/Downloads/minecraftforge.zip do this:

    Open terminal

    cd /Users/yourusername/server
    mkdir mctmp
    cp minecraft_server.jar mctmp
    cd mctmp
    unzip minecraft_server.jar
    cp /Users/yourusername/Downloads/minecraftforge.zip .
    unzip minecraftforge.zip
    (if it asks you to overwrite files, say 'yes to all')
    rm minecraftforge.zip minecraft_server.jar
    zip -r ../minecraft_server.jar .
    cd ..
    

    And then run the server as you would normally. I don't actually use a Mac (I use Linux), but that should work. The only bit I'm unsure about is the unzip bits.

     

     

    I tried this just a few minutes ago, and it went smoothly until it came time to repackage the Forgified MC_server.jar. I can't seem to compress the mctmp back into the MC_server.jar.

     

     

    I tried a few times now with some mixed results, once or twice it would return with the "Invalid or Corrupt" line from before. However it did come back with

     

    2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Forge Mod Loader version missing.missing.missing.missing for Minecraft client:missing, server:missing loading

    2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar

    2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Download complete

    2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

    2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Download complete

    2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

    2012-10-13 12:16:52 [iNFO] [ForgeModLoader] Download complete

    2012-10-13 12:16:52 [sEVERE] [ForgeModLoader] This version of FML is built for Minecraft missing, we have detected Minecraft 1.3.2 in your minecraft jar file

    2012-10-13 12:16:52 [iNFO] [sTDOUT] A CRITICAL PROBLEM OCCURED INITIALIZING MINECRAFT - LIKELY YOU HAVE AN INCORRECT VERSION FOR THIS FML

    2012-10-13 12:16:52 [iNFO] [sTDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:175)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1319)

    2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:253)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)

    2012-10-13 12:16:52 [iNFO] [sTDERR] ... 3 more

    2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.reflect.InvocationTargetException

    2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:245)

    2012-10-13 12:16:52 [iNFO] [sTDERR] ... 4 more

    2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: cpw.mods.fml.common.LoaderException

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.<init>(Loader.java:169)

    2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.instance(Loader.java:144)

    2012-10-13 12:16:52 [iNFO] [sTDERR] ... 9 more

     

     

    so I guess that is a small step forward, right?

     

    Lol yeah ;)

     

    this time it looks like your FML is corrupted somehow - it's not getting any version numbers, so it's looking for minecraft version 'missing', but finds version '1.3.2', and then blows up. So try redownloading forge? Try using the latest recommended, and the latest latest...

  4. Wouldn't generating it be pretty similar to adding an ore block? You just have to check that the block below it is grass and can see the sun, and then run, say GenCustomTree(blockX, blockY, blockZ)? You could always look at the vanilla WorldGenTrees code...

  5. I've written a coremod which just changes the accessibility of some fields using access transformers, but for some reason when I start it up, I get errors complaining that some events don't exist.

     

    The log

     

    
    2012-10-14 19:47:22 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.35.394 for Minecraft client:1.3.2, server:1.3.2 loading
    2012-10-14 19:47:22 [iNFO] [sTDOUT] Adding Accesstransformer map: bukkit_at.cfg
    2012-10-14 19:47:23 [iNFO] [sTDOUT] 195 recipes
    2012-10-14 19:47:23 [iNFO] [sTDOUT] 27 achievements
    2012-10-14 19:47:24 [iNFO] [sTDERR] 2012-10-14 19:47:23 [iNFO] Starting minecraft server version 1.3.2
    2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
    2012-10-14 19:47:24 [iNFO] [sTDOUT] MinecraftForge v4.2.5.307 Initialized
    2012-10-14 19:47:24 [iNFO] [ForgeModLoader] MinecraftForge v4.2.5.307 Initialized
    2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.entity.EntityJoinWorldEvent.<init>()
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
    2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.world.WorldEvent$Load.<init>()
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
    2012-10-14 19:47:24 [iNFO] [sTDERR] java.lang.NoSuchMethodException: net.minecraftforge.event.world.WorldEvent$Save.<init>()
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor0(Class.java:2723)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.Class.getConstructor(Class.java:1674)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:69)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.event.EventBus.register(EventBus.java:53)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraftforge.common.MinecraftForge.initialize(MinecraftForge.java:198)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.callForgeMethod(FMLCommonHandler.java:218)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.beginLoading(FMLCommonHandler.java:95)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<init>(FMLServerHandler.java:68)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.server.FMLServerHandler.<clinit>(FMLServerHandler.java:59)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:339)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:49)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
    2012-10-14 19:47:24 [iNFO] [sTDERR] 	at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
    2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
    2012-10-14 19:47:24 [iNFO] [ForgeModLoader] Searching /home/simon/minecraft/forge/jars/mods for mods
    2012-10-14 19:47:27 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load
    2012-10-14 19:47:27 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
    2012-10-14 19:47:27 [iNFO] [sTDOUT] Well, we got this far...
    2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Loading properties
    2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Default game type: SURVIVAL
    2012-10-14 19:47:27 [iNFO] [sTDERR] 2012-10-14 19:47:27 [iNFO] Generating keypair
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Starting Minecraft server on *:25565
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
    2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 3 mods
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Preparing level "mcpworld"
    2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension 0 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
    2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension 1 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
    2012-10-14 19:47:28 [iNFO] [ForgeModLoader] Loading dimension -1 (mcpworld) (net.minecraft.src.DedicatedServer@1b8119a)
    2012-10-14 19:47:28 [iNFO] [sTDERR] 2012-10-14 19:47:28 [iNFO] Preparing start region for level 0
    2012-10-14 19:47:29 [iNFO] [sTDERR] 2012-10-14 19:47:29 [iNFO] Preparing spawn area: 32%
    2012-10-14 19:47:30 [iNFO] [sTDERR] 2012-10-14 19:47:30 [iNFO] Preparing spawn area: 69%
    2012-10-14 19:47:31 [iNFO] [sTDERR] 2012-10-14 19:47:31 [iNFO] Done (3.047s)! For help, type "help" or "?"
    2012-10-14 19:47:35 [iNFO] [sTDERR] 2012-10-14 19:47:35 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2012-10-14 19:47:49 [iNFO] [sTDERR] 2012-10-14 19:47:49 [iNFO] User Player208 connecting with mods []
    2012-10-14 19:47:49 [iNFO] [ForgeModLoader] User Player208 connecting with mods []
    2012-10-14 19:47:49 [iNFO] [sTDERR] 2012-10-14 19:47:49 [iNFO] Player208[/127.0.0.1:46125] logged in with entity id 2829 at (-13.5, 65.62000000476837, 235.5)
    2012-10-14 19:47:51 [sEVERE] [ForgeModLoader] A critical server error occured handling a packet, kicking net.minecraft.src.NetServerHandler@20a52f
    java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
    at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:231)
    at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:78)
    at net.minecraft.src.NetServerHandler.handleCustomPayload(NetServerHandler.java:1063)
    at net.minecraft.src.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)
    at net.minecraft.src.TcpConnection.processReadPackets(TcpConnection.java:441)
    at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:80)
    at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55)
    at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:32)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650)
    at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
    at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
    2012-10-14 19:47:51 [iNFO] [sTDERR] 2012-10-14 19:47:51 [WARNING] Failed to handle packet: java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
    java.lang.ClassCastException: net.minecraft.src.EntityPlayerMP cannot be cast to cpw.mods.fml.common.network.Player
    at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:231)
    at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:78)
    at net.minecraft.src.NetServerHandler.handleCustomPayload(NetServerHandler.java:1063)
    at net.minecraft.src.Packet250CustomPayload.processPacket(Packet250CustomPayload.java:70)
    at net.minecraft.src.TcpConnection.processReadPackets(TcpConnection.java:441)
    at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:80)
    at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55)
    at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:32)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650)
    at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
    at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18)
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Stopping the server
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Stopping server
    2012-10-14 19:48:23 [iNFO] [sTDERR] java.net.SocketException: Socket closed
    2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.PlainSocketImpl.socketAccept(Native Method)
    2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:375)
    2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.ServerSocket.implAccept(ServerSocket.java:470)
    2012-10-14 19:48:23 [iNFO] [sTDERR] 	at java.net.ServerSocket.accept(ServerSocket.java:438)
    2012-10-14 19:48:23 [iNFO] [sTDERR] 	at net.minecraft.src.ServerListenThread.run(ServerListenThread.java:75)
    2012-10-14 19:48:23 [iNFO] [sTDOUT] Closing listening thread
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving players
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving worlds
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/Overworld
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/Nether
    2012-10-14 19:48:23 [iNFO] [sTDERR] 2012-10-14 19:48:23 [iNFO] Saving chunks for level 'mcpworld'/The End
    2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension 0
    2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension -1
    2012-10-14 19:48:23 [iNFO] [ForgeModLoader] Unloading dimension 1
    

     

     

    The access transformer .cfg file

     

    public ft.o # DedicatedServer.settings - to reload the settings of the server
    public td.b # CraftingManager.recipes - so we can clear recipes.
    public td.a # CraftingManager.instance - to reset the CraftingManager
    # public td # CraftingManager() ? - to reset the CraftingManager, again
    public up.h # Let us change if worlds spawn peaceful mobs  on a world-by-world basis
    public up.g # ditto, but for enemies
    public et.k # lets us directly load player NBTTagCompounds for reading.
    

     

  6. Assuming your minecraft_server.jar is in /Users/yourusername/server/minecraft_server.jar, and forge is in /Users/yourusername/Downloads/minecraftforge.zip do this:

    Open terminal

    cd /Users/yourusername/server
    mkdir mctmp
    cp minecraft_server.jar mctmp
    cd mctmp
    unzip minecraft_server.jar
    cp /Users/yourusername/Downloads/minecraftforge.zip .
    unzip minecraftforge.zip
    (if it asks you to overwrite files, say 'yes to all')
    rm minecraftforge.zip minecraft_server.jar
    zip -r ../minecraft_server.jar .
    cd ..
    

    And then run the server as you would normally. I don't actually use a Mac (I use Linux), but that should work. The only bit I'm unsure about is the unzip bits.

     

  7. I've got a coremod which uses snakeyaml, gson and some other libraries. I'm trying to download them using one ILibrarySet, but for some reason FML seems to be stripping everything except the last section of the folder path.

    I'm downloading the libraries from maven, and FML prints out the libraries OK in the log:

    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean. 
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-2.25.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/xerial/sqlite-jdbc/3.7.2/sqlite-jdbc-3.7.2.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/avaje/ebean/2.8.1/ebean-2.8.1.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/com/google/code/gson/2.2.2/gson-2.2.2.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <===========>
    

    But when it's downloading them, it shortens it to http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar, for instance.

     

    So to fix this do I have to submit a patch, or am I just doing something wrong?

     

    And here's the log:

     

     

     

     

    
    2012-10-13 17:23:33 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.30.390 for Minecraft client:1.3.2, server:1.3.2 loading
    2012-10-13 17:23:33 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar
    2012-10-13 17:23:34 [sEVERE] [ForgeModLoader] There was a problem downloading the file snakeyaml-1.9.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again
    
    2012-10-13 17:23:34 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar
    2012-10-13 17:23:34 [sEVERE] [ForgeModLoader] There was a problem downloading the file sqlite-jdbc-3.7.2.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again
    
    2012-10-13 17:23:34 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/ebean-2.8.1.jar
    2012-10-13 17:23:35 [sEVERE] [ForgeModLoader] There was a problem downloading the file ebean-2.8.1.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again
    
    2012-10-13 17:23:35 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/commons-lang-2.3.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There was a problem downloading the file commons-lang-2.3.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again
    
    2012-10-13 17:23:36 [iNFO] [ForgeModLoader] Downloading file http://repo.maven.apache.org/maven2/gson-2.2.2.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There was a problem downloading the file gson-2.2.2.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again
    
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean. 
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-2.25.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.9/snakeyaml-1.9.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/xerial/sqlite-jdbc/3.7.2/sqlite-jdbc-3.7.2.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/org/avaje/ebean/2.8.1/ebean-2.8.1.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] *** Download http://repo.maven.apache.org/maven2/com/google/code/gson/2.2.2/gson-2.2.2.jar
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <===========>
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] A download error occured
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] <<< ==== >>>
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] The following is diagnostic information for developers to review.
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details
    java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310)
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430)
    ... 5 more
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/snakeyaml-1.9.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596)
    at java.net.URLConnection.getContentLength(URLConnection.java:491)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429)
    ... 5 more
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details
    java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310)
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430)
    ... 5 more
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/sqlite-jdbc-3.7.2.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596)
    at java.net.URLConnection.getContentLength(URLConnection.java:491)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429)
    ... 5 more
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details
    java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310)
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/ebean-2.8.1.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430)
    ... 5 more
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/ebean-2.8.1.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596)
    at java.net.URLConnection.getContentLength(URLConnection.java:491)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429)
    ... 5 more
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details
    java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310)
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/commons-lang-2.3.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430)
    ... 5 more
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/commons-lang-2.3.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596)
    at java.net.URLConnection.getContentLength(URLConnection.java:491)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429)
    ... 5 more
    2012-10-13 17:23:36 [sEVERE] [ForgeModLoader] Error details
    java.lang.RuntimeException: A download error occured
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:446)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:94)
    at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)
    at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)
    at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)
    at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1310)
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/gson-2.2.2.jar
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:430)
    ... 5 more
    Caused by: java.io.FileNotFoundException: http://repo.maven.apache.org/maven2/gson-2.2.2.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:596)
    at java.net.URLConnection.getContentLength(URLConnection.java:491)
    at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:429)
    ... 5 more
    

     

     

     

     

    EDIT: I submitted a pull request to FML which fixes this...

  8. Or you could try using

    @SideOnly(Side="CLIENT")
    @Override
    public boolean interact(EntityPlayer entityplayer)
    {
      
      if (this.riddenByEntity == null)
      {
       mountEntity(entityplayer);
      }
      return true;
    }
    

    Or you could check which side you're on using

    @Override
    public boolean interact(EntityPlayer entityplayer)
    {
      if (FMLCommonHandler.getEffectiveSide() == Side.CLIENT) {
       if (this.riddenByEntity == null)
       {
        mountEntity(entityplayer);
       }
       return true;
    }
    }

  9. I'm writing a mod that adds commands to the server, and I want to add noclip.

     

    I noticed EntityPlayer has a noclip field, and I'm aware that if I want the client to act on it, I need to send the client a packet with the changed EntityPlayer.

     

    Which packet should I use? Or do I have to use a Packet250?

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.