My server won't work.....

Discussion in 'Bukkit Help' started by CrazyJ114, Apr 19, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    CrazyJ114

    I'm sorry if this isn't the right forum, but....
    a few weeks ago, I was fooling around with worldedit, and I filled like, an entire tnt ruin with tnt.
    I was about to undo it, but apparently there was some lava that I didn't see(it was a REALLY big cave) and it all blew up, minecraft crashed, my computer stopped responding for an hour, and I haven't been able to go on the server since.
    When I go into CMD and try to go on the server, the console says:
    Code:
    19:24:22 [SEVERE] java.io.IOException: Bad packet id 121
    19:24:22 [SEVERE]       at net.minecraft.server.Packet.b(Packet.java:84)
    19:24:22 [SEVERE]       at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:130)
    19:24:22 [SEVERE]       at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:229)
    19:24:22 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
    
    
    19:25:19 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Unknown Source)
            at java.util.Arrays.copyOf(Unknown Source)
            at java.util.ArrayList.ensureCapacity(Unknown Source)
            at java.util.ArrayList.add(Unknown Source)
            at net.minecraft.server.Vec3D.b(SourceFile:21)
            at net.minecraft.server.World.a(World.java:647)
            at net.minecraft.server.World.a(World.java:542)
            at net.minecraft.server.World.a(World.java:1235)
            at net.minecraft.server.Explosion.a(Explosion.java:119)
            at net.minecraft.server.World.a(World.java:1216)
            at net.minecraft.server.WorldServer.a(WorldServer.java:114)
            at net.minecraft.server.EntityTNTPrimed.h(EntityTNTPrimed.java:81)
            at net.minecraft.server.EntityTNTPrimed.f_(EntityTNTPrimed.java:62)
            at net.minecraft.server.World.a(World.java:983)
            at net.minecraft.server.WorldServer.a(WorldServer.java:52)
            at net.minecraft.server.World.f(World.java:965)
            at net.minecraft.server.World.e(World.java:942)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    I've tried re-port fowarding, I've tried updating bukkit, I've tried deleting plugins, EVERYTHING!
    But it always stays on "Logging in...." for about 20 seconds and then says "End of stream".
    Can you help me?
     
  2. Offline

    TnT

    What command are you using to start your server?
     
  3. Offline

    CrazyJ114

    i dunno what you mean by command, but I'm using a batch file with the code:

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    
     
  4. Offline

    TnT

    Try increasing that -Xmx value from 1G to 2G.
     
  5. Offline

    CrazyJ114

    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    btw, I have a 32 bit machine.
     
  6. Offline

    fa1len637

    Its the new 1.5 update your going to have to wait till bukkit updates. I believe.....
     
  7. Offline

    AgentKid

    @CrazyJ114 Well, by the looks of it, 2 things are happening. One, the "bad packet id" is a sign that YOU are on the 1.5 client and need to downgrade before you can properly join the server. For some reason, though, the server DOES start TNT calculations when you try to join, and then has a heart attack because of too much TNT. Try opening the world in MCEdit and selecting that area, then hitting "Remove entities". Entities are arrows, mobs, paintings, minecarts, and Primed TNT, so removing them SHOULD get rid of the TNT. If it doesn't, though, then try running the server with as much RAM as you possibly can and waiting out the explosion. If that doesn't work, the world is lost; rollback to a backup.
     
    CrazyJ114 likes this.
  8. Offline

    CrazyJ114

    That might work. Thanks!
     
  9. Offline

    AgentKid

  10. Offline

    TnT

    @CrazyJ114
    You can use 1536M instead then, but that's the max you can set.
     
  11. Offline

    Woodsy

    Use an editing tool as described above. Or alternately; Load the world up on client, ride the explosion, copy back to server.

    This has saved me once before...
     
  12. Offline

    hindrex

    i need help. i downloaded bukkit and did everything that i had to but it wont work for me so i was wondering if someone could help me. i and using
    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    and i tried other ones but nothing works
     
    jankster5983 likes this.
  13. Offline

    jankster5983

    same for me i hate it what i can do though is start craftbukkit and start the server but no console shows up and the only way to shut it down is by going on the server and doing stop or loging off the computer or completely turning it off and i need the console for auto world save
     
Thread Status:
Not open for further replies.

Share This Page