Jump to content

Server Problem?: Quickly crashes after installing Forge


TheWingedOne

Recommended Posts

Alright... so I've been trying to set up a modded server for a long time now, but I've always had problems and never asked for help. I have done a LOT of looking around, but I could never find anything like my problem. I can only hope someone knows what's going on.

 

I start by making a regular vanilla server. I download minecraft_server.jar and stick it into its own folder. Then I make a Wordpad document and put this inside:

 

java -Xms512M -Xmx1G -jar minecraft_server.jar

 

That's from this wiki page. Since I'm using Windows and the 64x Java package, I also followed step 3 of the "REQUIRED: Verify and install the latest version of Java" section (changing the path).

 

Then I save it as "startserver.bat". When I open it, and the server sets itself up with ease. I can enter it with no trouble. I've also tried this AFTER installing Forge to the minecraft_server.jar, but after I add Forge the problem happens.

 

I'm trying to install Forge because I want to play Twilight Forest. On the minecraftforum page, it says to follow this link and download the latest recommended build, which has a star next to it. I downloaded 4.1.4.298 universal. Then I opened that and stuck it into my clean client jar, deleted META-INF, started Minecraft, and it prepared itself. (I have tried this before and after I first use startserver.bat, and neither worked.)

 

Then I opened the minecraft_server.jar and put Forge inside. Then I use startserver.bat. (I have tried this before and after the first time I use startserver.bat, and neither worked.)

 

Every time, the cmd window pops up for half a second and then immediately closes down. This window closes down too quickly for me to properly read or copy. HOWEVER, I managed to take a screenshot of it so I went and typed down everything I saw.

 

 

Here is the image: http://i286.photobucket.com/albums/ll83/_-Snow-_/MinecraftForgeProblemScreenshot1-2.png

 

C:\Users\setiram\Desktop\Minecraft Servers\Minecraft Modded 1.3.2>java -Xms512M -Xmx1G -jar minecraft_server.jar

Exception in thread "main" java.lang.ImcompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.FindClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

 

 

If there's trouble seeing it, I can try for a better picture...

 

So... anyone have an idea on what's going on?

 

PS. I have also tried this with a previous build of Forge, and the same problem occurred. This is all for a Minecraft 1.3.2 server.

Link to comment
Share on other sites

I'm sorry, I'm a bit confused... what do you mean by that? I basically have tried:

 

1) Starting the server, allowing the vanilla server files to be created, then putting Forge into minecraft_server.jar and starting it again

2) Putting Forge in the jar first then starting the server

3) Putting Forge in the client jar, starting Minecraft itself, then doing 1 or 2

 

If by tools you mean MCPatcher or some external program like that, I'm not using any.

 

And I think I forgot to mention that I never deleted META-INF in the server jar.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
    • It is an issue with quark - update it to this build: https://www.curseforge.com/minecraft/mc-mods/quark/files/3642325
    • Remove Instant Massive Structures Mod from your server     Add new crash-reports with sites like https://paste.ee/  
  • Topics

×
×
  • Create New...

Important Information

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