FTBTeam / FTB-Modpack-Issues

Any and all FTB Modpack issues are here! Please create a new issue, add to an existing one or maybe even suggest a feature in the discussions
https://feed-the-beast.com/modpack
40 stars 11 forks source link

[Bug]: Crash with minecolonies UI #1461

Closed Silversnake1245 closed 1 year ago

Silversnake1245 commented 1 year ago

Modpack

FTB Inferno

Modpack version

1.0.3

Log Files

No response

Describe the bug

When the Minecolonies GUI is opened, the client game crash

Steps to reproduce

1.Right click with supply camp or building tool

  1. The game crash

Expected behaviour

When the GUI is opened, the game crash

Screenshots

No response

Additional information

No response

Saereth commented 1 year ago

Need a crash log

SnightOfTheSnurch commented 1 year ago

Not my post, but I've got the same issue on my Aternos server, same modpack. I can send my server logs and a video of the issue as it happens if you want.

Saereth commented 1 year ago

We'll need to see some logs for sure yeah, latest.log from client/server would be useful

SnightOfTheSnurch commented 1 year ago

https://mclo.gs/1qriyhE

This is the only error message that is given immediately after the crash

[net.minecraft.commands.synchronization.ArgumentTypes/]: Could not serialize cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument@44c6c062 (class cpw.mods.inventorysorter.InventorySorterCommand$ContainerClassArgument) - will not be sent to client!

Raidobw2 commented 1 year ago

Do you have your client logs? If this is a client crash, the error will only be listed clientside, not on the server (current server logs don't show the error). In logs and crash-reports on your clients is where you would look for that info.

SnightOfTheSnurch commented 1 year ago

2022-10-19-2.log

SnightOfTheSnurch commented 1 year ago

Do you have your client logs? If this is a client crash, the error will only be listed clientside, not on the server (current server logs don't show the error). In logs and crash-reports on your clients is where you would look for that info.

I have posted my clientside crash log, apologies for the long delay Ya boi was shleepy lol

SnightOfTheSnurch commented 1 year ago

2022-10-19-2.log

It seems the FATAL error consistent with the MineColonies/Structurize tool can be found at [19Oct2022 22:01:25.517]. I'm not even remotely fluent in code so I'm not quite too sure what the error message means, but that is when it seems the client log goes a little apeshit.

tillvit commented 1 year ago

Had the same issue, did some digging in logs. Seems like that structures in the structurize/schematics folder aren't being loaded properly. The mod finds 0 structures to load and the dropdown menu for the GUI tries to index an empty array, crashing the client.

Server Joined:

[13:39:04] [Render thread/INFO] [structurize/]: Load additional huts or decorations from /Users/-/Library/Application Support/.ftba/instances/1f85a1ed-d4e4-4cdd-bb3a-acb614300e47/structurize/2107609c-0e14-4904-a1fe-5e8715067336/schematics
[13:39:04] [Render thread/INFO] [structurize/]: Load cached schematic from /Users/-/Library/Application Support/.ftba/instances/1f85a1ed-d4e4-4cdd-bb3a-acb614300e47/structurize/2107609c-0e14-4904-a1fe-5e8715067336/cache
[13:39:04] [Render thread/INFO] [structurize/]: Load cached schematic from /Users/-/Library/Application Support/.ftba/instances/1f85a1ed-d4e4-4cdd-bb3a-acb614300e47/minecolonies/2107609c-0e14-4904-a1fe-5e8715067336/cache
[13:39:04] [Render thread/WARN] [structurize/]: No file found during schematic discover. Things may break!

Right click build tool, causing crash

[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/fill with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/dig with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/supplycamp/infernosupply with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/fields/warped/basic_farm with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/townhall1 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/library5 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/fletcher4 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/school5 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/mysticalsite4 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/lumberjack1 with md5 null.
[13:39:32] [Render thread/ERROR] [structurize/]: Structures: schematics/warped/builder2 with md5 null.
...

I can't really debug this right now but hopefully this contributes something

Saereth commented 1 year ago

This seems like the client and server have different schematics and the schematics are null (missing or ccupt), looks like a misconfiguration. Please provide a screenshot of client and server schematic files showing file size

tillvit commented 1 year ago

Just checked, the aternos files are missing the schematics. Seems like the installation by them doesn't include them. I added them back, but the client doesn't seem to receive them from the server. Here are the client and server files: Client:

Screenshot 2022-10-21 at 5 01 31 PM

Server:

Screenshot 2022-10-21 at 5 01 22 PM
Saereth commented 1 year ago

the client wont receive them from the server, the client should have them on its own from the installer. try doing a fresh install of the pack with the ftbapp and grab the schematics from there and copy them to your server and client schematics folders

tillvit commented 1 year ago

I tried that, the screenshot of the server files is from downloading the world from aternos after copying client schematics there. Just to check, I tried reinstalling the client files and it still crashes.

Saereth commented 1 year ago

your warped folder is missing a TON of schematics, something is not copying correctly.

tillvit commented 1 year ago

Forgot to expand the last folder, sorry server

Screenshot 2022-10-21 at 5 37 28 PM

client

Screenshot 2022-10-21 at 5 37 24 PM
Saereth commented 1 year ago

ok with the files in place now can I get a freshcrash log

tillvit commented 1 year ago

https://gist.github.com/tillvit/eaf113b36880095ec223c7cd1af466d2 latest.log

Saereth commented 1 year ago

what are the file sizes on those both as well

tillvit commented 1 year ago

They are the exact same Server

Screenshot 2022-10-21 at 6 57 32 PM

Client

Screenshot 2022-10-21 at 6 57 39 PM
SnightOfTheSnurch commented 1 year ago

You guys are smart bois! I wanna say thank you for taking the time to help solve this.

Saereth commented 1 year ago

Does anyone else crash on your serverr with this issue or only you out of curiosity

SnightOfTheSnurch commented 1 year ago

Does anyone else crash on your serverr with this issue or only you out of curiosity

It happens anytime anyone on the server uses a structurize/MineColonies UI related item (Build tool, Supply Camp. Supply Ship, etc.)

tillvit commented 1 year ago

Could be an aternos issue considering the schematic files are missing by default

SnightOfTheSnurch commented 1 year ago

I notified them of the bug in the discord, tried to open a ticket with the bot, and am now just kinda sitting in my DMs waiting for the bot to do literally anything

SnightOfTheSnurch commented 1 year ago

image

SnightOfTheSnurch commented 1 year ago

I guess I will have to wait

tillvit commented 1 year ago

Other player also crashes the same way on aternos server

Saereth commented 1 year ago

This seems like it might be some kind of permission error.. im not sure, the files do appear to be right but the crash is also reporting a zero length for the schematic file. I did just download and setup a fresh server instance on ubuntu 22 and it's working without issue. This is definitely seemingly like something more host specific I can't help with directly. If there is anything FTB can answer in regards to pack permissions for the server host feel free to put them in contact with me

tillvit commented 1 year ago

Ok, did some more digging. It seems like the structures are supposed to be placed in the server directory, not the world/ directory. Aternos only allows you to edit things in the world directory, so there are no structures on the server. Guess I'll have to run the server locally.

Saereth commented 1 year ago

ahh ok guess that makes sense, gonna go ahead and close this then

SnightOfTheSnurch commented 1 year ago

LETS GOOOOOOOOOO image

JulianVennen commented 1 year ago

Hi, Julian from Aternos here: I was just about to comment my message from the screenshot above here too to clear this up.

In addition to that message: Clicking the download button on https://aternos.org/software/v/modpacks/ftb_inferno now will add the folder to your server.

SnightOfTheSnurch commented 1 year ago

Very nice, very kind, much love Julian

Saereth commented 1 year ago

Hi, Julian from Aternos here: I was just about to comment my message from the screenshot above here too to clear this up.

In addition to that message: Clicking the download button on https://aternos.org/software/v/modpacks/ftb_inferno now will add the folder to your server.

Thanks! great to see