Error building server for BTW-ABCFAFBFC

If you're having problems with your installation of Better Than Wolves, or if you've woken up in the future and are beginning to doubt the nature of reality, here's the place to post about it.
Post Reply
LannyRipple
Posts: 60
Joined: Sun Oct 26, 2014 6:16 am

Error building server for BTW-ABCFAFBFC

Post by LannyRipple »

My wife said she'd give latest BTW another run (yay) so I went to grab latest and set everything up. I've got no problem setting up the client but I'm getting errors on building the server. My previous servers work so I believe this is something new.

1. Grab latest BTW from forum post (viewtopic.php?f=3&t=9593) - BTW-ABCFAFBFC
1. Grab minecraft server jar - http://assets.minecraft.net/1_5_2/minecraft_server.jar
1. Create a work directory. Unzip BTWMod into it in directory btw. Copy in minecraft_server.jar as btw_server.jar.
1. Add btw/MINECRAFT_SERVER-JAR to btw_server.jar (jar -uf btw_server.jar -C btw/MINECRAFT_SERVER-JAR .)
1. Copy btw/BTWConfig.txt up a level into work directory.
1. Start server (java -jar btw_server.jar)

Above isn't all that important since it gives (or has for several years) the same results as the the official install thread. But when I run this server I get the following error

Code: Select all

---- Minecraft Crash Report ----
// Don't do that.

Time: 12/17/18 2:46 PM
Description: Exception in server tick loop

java.lang.IllegalArgumentException: Slot 1060 is already occupied by FCBlockBucketCement@286ff0fa when adding FCBlockBucketMilk@4d10817e
        at apa.<init>(Block.java:456)
        at FCBlockFalling.<init>(FCBlockFalling.java:14)
        at FCBlockBucket.<init>(FCBlockBucket.java:15)
        at FCBlockBucketFull.<init>(FCBlockBucketFull.java:11)
        at FCBlockBucketMilk.<init>(FCBlockBucketMilk.java:11)
        at FCBetterThanWolves.InstantiateModBlocks(FCBetterThanWolves.java:1215)
        at FCBetterThanWolves.Initialize(FCBetterThanWolves.java:742)
        at FCAddOnHandler.InitializeMods(FCAddOnHandler.java:49)
        at aab.<init>(World.java:172)
        at iz.<init>(WorldServer.java:55)
        at net.minecraft.server.MinecraftServer.a(SourceFile:177)
        at hz.c(SourceFile:177)
        at net.minecraft.server.MinecraftServer.run(SourceFile:306)
        at gp.run(SourceFile:573)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
        Minecraft Version: 1.5.2
        Operating System: Linux (amd64) version 4.15.0-42-generic
        Java Version: 1.8.0_144, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 370369840 bytes (353 MB) / 394788864 bytes (376 MB) up to 7484735488 bytes (7138 MB)
        JVM Flags: 0 total; 
        AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        Suspicious classes: FCBlockFullBlock, FCBlockStone, FCBlockPlanks, ...]
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        Profiler Position: N/A (disabled)
        Player Count: 0 / 20; []
        Is Modded: Unknown (can't tell)
        Type: Dedicated Server (map_server.txt)
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: Error building server for BTW-ABCFAFBFC

Post by FlowerChild »

Just checked and there's a server-specific error in the init for that block. I'm not at a place where I can put out a release right now (Minecraft is laying in little pieces all over my living room floor as part of a bug-fix marathon I'm on), but I *think* you can work around it by either removing the config file from your run directory, or by deleting the line:

fcBlockBucketCementID=1060

From the config file.

The two bucket blocks, cement and milk, are both using that line to assign the blockID for both blocks, resulting in that error.

I'll fix it up for next release, but that might be awhile.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: Error building server for BTW-ABCFAFBFC

Post by FlowerChild »

Yup, I just tested and confirmed this. Either of the workarounds I mentioned above (delete config or delete line) works.
LannyRipple
Posts: 60
Joined: Sun Oct 26, 2014 6:16 am

Re: Error building server for BTW-ABCFAFBFC

Post by LannyRipple »

Thanks, FC! Pulled the line and it's working.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: Error building server for BTW-ABCFAFBFC

Post by FlowerChild »

LannyRipple wrote:Thanks, FC! Pulled the line and it's working.
Spoiler
Show
LannyRipple
Posts: 60
Joined: Sun Oct 26, 2014 6:16 am

Re: Error building server for BTW-ABCFAFBFC

Post by LannyRipple »

Spoiler
Show
:)

You are also a flood, and sometimes a pestilence to your people too. But I guess we don't get the one without risking the other.
Post Reply