SevTech-Ages icon indicating copy to clipboard operation
SevTech-Ages copied to clipboard

Crash: Better with mods gearbox + Refined Storage pattern grid issue

Open nitrous24 opened this issue 7 years ago • 6 comments

Issue / Bug

Client crashes when trying to shift-click the recipe for better with mods gearbox into a crafting terminal/pattern grid with the error: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes

Expected Behavior

I would expect not to crash out of the game when creating a pattern for the gearboxes in better with mods via the refined storage pattern grid

Possible Solution

I do not know, but i assume this has something to do with the fact that the better with mods sawed blocks (siding/moulding/etc.) recently changed

Steps to Reproduce (for bugs)

  1. Create refined storage system
  2. Make Pattern Grid
  3. Look at the recipe for the gearbox from better with mods (specifically the one that uses better with mods moulding blocks
  4. If you proceed to shift-click to fill the recipe into the pattern grid (or the crafting grid) the client will crash (not the server, server stays running). Or, when on single-player the game will just hang.

Context

I am in the process of trying to automate the better with mods blocks (cauldron, kiln, crucible, etc). However, when i go to try to make a pattern for the gearbox (the recipe that includes better with mods moulding blocks) i crash with the error: java.lang.IllegalArgumentException: Payload may not be larger than 32767 bytes

It has happened every time i have tried. This isn't the only weird issue with better with mods/refined storage either. Just the only one that has crashed my client so far. I will include a gist link later on with the last end of my latest log where i crash.

The other better with mods issues i have seen are with the pistons being crafted from the sidings. I can shift+click the little + symbol that adds the recipe just fine, but when i create the pattern it changes to an "invalid pattern" however, regardless of this seemingly invalid pattern my pistons still craft.

Logs

The client log is what happened when i tried to replicate the issue in single player. It didn't so much crash as much as it just hung making me force exit the game (which led to java opening and me finally being able to get a crash log). These "crash log" is the crash portion of my latest log. That's why there are different timestamps, i wanted to see if it happened in both single and multi-player.

  • Client Log: https://gist.github.com/nitrous24/53725711a8517d761bb0e1c67a65c272
  • Crash Log: https://gist.github.com/nitrous24/01f1ff00a7c3d05df2aeab46744f24e3 It's not a full crash log because i didn't hard crash out of the game when on a server.

Client Information

  • Modpack Version: 3.0.7
  • Java Version: 1.8.0_161
  • Launcher Used: Twitch
  • Memory Allocated: 8192
  • Server/LAN/Single Player: Server (hosted on a local computer)
  • Resourcepack Enabled?: no
  • Optifine Installed?: no

nitrous24 avatar May 17 '18 20:05 nitrous24

Oh, as an addition, this crash only happens if i shift-click the recipe into the pattern/crafting grid. If i fill it myself the recipe doesn't show the completed item, but i can create the pattern and, when the pattern is placed in a crafter, i can auto-craft the gearboxes just fine. So it is only the process of the game trying to auto-fill the recipe.

nitrous24 avatar May 17 '18 20:05 nitrous24

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for reporting to the tracker.

stale[bot] avatar Jun 17 '18 23:06 stale[bot]

This issue has been marked as stale for a week now with no new responses. As such, it has been automatically closed.

stale[bot] avatar Jun 25 '18 00:06 stale[bot]

I'm assuming this will not get fixed anymore? :(

NilsMoller avatar Mar 07 '20 18:03 NilsMoller

This issue occurs with the Better With Mods Gearbox and Better With Mods Filtered Hopper as well. Based on the recipes, it is potentially a result of including Better With Mods Mouldings in the crafting recipe.

MatteoGisondi avatar Feb 10 '21 01:02 MatteoGisondi

For anybody who is searching for a solution: The issue was found and fixed in later versions of refined storage: https://github.com/refinedmods/refinedstorage/issues/1790 I've backported the proposed hotfix to 1.12: https://github.com/Duke-of-Karamel/refinedstorage-1.12.2 It's not a perfect solution but the game no longer crashes (it just won't fill in the recipe).

Duke-of-Karamel avatar Mar 20 '25 22:03 Duke-of-Karamel