Applied Energistics 2

Applied Energistics 2

160M Downloads

crash

gjmhmm8 opened this issue · 9 comments

commented

Describe the bug

When placing a very large item into the AE terminal, it will kick out the player and crash.

How to reproduce the bug

put the very large nbt items(like the Pattern)

Expected behavior

.

Additional details

Snipaste_2024-04-12_05-49-46 ae2_version=15.0.3-alpha [debug.zip](https://github.com/AppliedEnergistics/Applied-Energistics-2/files/14951637/debug.zip) [latest.zip](https://github.com/AppliedEnergistics/Applied-Energistics-2/files/14951639/latest.zip)

Which minecraft version are you using?

1.20

On which mod loaders does it happen?

Forge

Crash log

.

commented

The ME Interface can be normally extracted and inserted.

commented

there is no crashlog, just text
also what kind of item was that?

commented

Such as a multi-layered matryoshka doll box.

commented

some item with very large nbt

commented
commented
commented

you dont need to put every single answer in a new comment, you can edit the old ones

second: if there is a crash, there should be an actual crashlog

third: this crash is happening because you are doing "crazy" stuff (recursive stacked inventorys) which will not only create issues with AE
items that are beyond a certain sane NBT size should not be possible in the first place and prevented by something like blacklisting of large inventorys from being put into each other, i am not expert here so i can not debug it myself (and since you have no actual crash-log i can not even check the stacktrace)

commented

This is sadly not truly fixable and should only happen if a single item already has a megabyte of NBT or more...

We split inventory content into multiple packets to avoid this, but there's nothing really to be done for items that alone already exceed the max packet size.

p.s.: I don't actually see this error message in your log files.

commented

The template terminal can easily create similar NBT items with very large quantities.