Server Crash Issue

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Freddeh

New Member
Jul 29, 2019
3
0
0
So, I'm currently running a small, private DW20 server, and someone tried to enchant a thaumcraft weapon using an anvil. This proceed to crash the server and now whenever we try to load into the chunk the server crashes with the error:

Java.lang.Error: Tried making item count negative! At (234, 83, -257).

We are currently trying to use MCEdit, but neither of us have a large amount of experience with it. I forgot to restart the auto-updates when we swapped to DW20 so we'd be losing about a weeks worth of work. Any ideas/suggestions on how to fix this or are we just screwed?[DOUBLEPOST=1357165580][/DOUBLEPOST]Possibly relevant next few lines after the initial Java.lang.error that I forgot to add:

at factorization.common.TileEntityBarrel.changeItemCount(TileEntityBarrel.java:107)
at factorization.common.TileEntityBarrel.setItemCount(TileEntityBarrel.java:120)
at factorization.common.TileEntityBarrel.a(TileEntityBarrel.java:473)
at any.c(TileEntity.java:150)
at aam.a(AnvilChunkLoader.java:418)
etc from there.

Could it be a Barrel that is actually causing this issue?
 

ness

New Member
Jul 29, 2019
16
0
0
I'm the guy that discovered the crash. I enchanted a weapon with a book through the anvil when it crashed, so I thought the problem was with that, but it was with a barrel at the above coordinates. After 4 hours of head ache, I can lay down what I did to fix it.

I used MCEdit to locate the block giving the error. I tried saving the world with the deleted blocks, but MCEdit does not speak IC2 or Thaumcraft, so it turned the world into mush. What it did for me was it listed the tags on the block and any IDs associated with them and saw the location of the problem was a barrel at those given coordinates. The tag was named factory_barrel.

Because I couldn't use the MCEdit to make the changes, I found NBTExplorer and used that to find the issue. I loaded the Mystcraft dimension and searched all the files (.mcp) for the value "factory_barrel" and used F3 until I found the one with the correct location. I deleted the entire thread, but I noticed the barrel had a count of -1, which makes sense what that error was.

Such an odd bug...
 

Craftesteur

New Member
Jul 29, 2019
1
0
0
Good morning, I'm french and I've the same problem. I don't understand, how to find the solution, please help me !
Thanks
Craftesteur
 

HybridFox

New Member
Jul 29, 2019
12
0
0
I have a solution guys, First stop ur server and get the barrel coordinates
Then use the coordinates here (http://dinnerbone.com/minecraft/tools/coordinates/) to locate the region
go to your go to your world folder then to your region folder locate the region file u got from the site, delete it start ur server
and your good to go

PS, if u got a house there it will be gone '._.
 

Robert Dalton

New Member
Jul 29, 2019
21
0
1
I didn't share as it removes a 30x30 chunk area and it removed a huge amount of work, I was looking of a more specific way to remove only the blocks causing trouble.