Integrated Dynamics

Integrated Dynamics

63M Downloads

[1.16.5] Dedicated server crash when using incompatible operator for input type in Lazy List Builder

karelmikie3 opened this issue ยท 2 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

The server crashes when using an operator for the Lazy List Builder which is incompatible with the variable taken as an input.
Having looked at the code, it seems to call a client-side method for localizing the error message on the server, which in turn crashes the server as the method is not available.

I have reproduced this issue using only the offending mods.

image
image
image
After inserting the last variable card the server crashes immediately

And to be clear, this only happens when using a dedicated server, not in singleplayer with the integrated server.

Steps to reproduce the problem:

  1. Build a system of three display panels
  2. Make a variable of any type, a boolean for example
  3. Make an operator that is incompatible with the type, in this case integer increment.
  4. Make a 'lazybuilt' with the variable and the incompatible operator.
  5. Insert the variable and operator each in to one of the display panels
  6. Insert the 'lazybuilt' into the third panel and the server crashes immediately.

Expected behaviour:

I expected it not to crash and to display a red cross with a localized error message in the GUI (which also doesn't work when an error actually occurs in game)


Versions:

  • This mod: 1.5.0
  • CommonCapabilities: 2.5.6
  • CyclopsCore 1.11.3
  • Minecraft: 1.16.5
  • Forge: 36.0.42

Log file:

crash report
log
debug log

commented

Thanks for reporting!

commented

Looks like #981 wasn't properly fixed yet.