age-series / ElectricalAge

Electrical Age (ELN) is a Minecraft Mod offering the ability to perform large-scale in-game electrical simulations.
Other
65 stars 30 forks source link

Current source crashes #284

Closed MsAlPatina closed 12 months ago

MsAlPatina commented 12 months ago

version: 1.21.2

to replicate: Set Current source to something like 50A

Note: it also makes it so you cant enter the world anymore as it crashes upon joining.

latest.log crash-2023-07-04_17.54.23-server.txt

jrddunbr commented 12 months ago

https://github.com/age-series/ElectricalAge/blob/1.21.x/src/main/java/mods/eln/sim/process/destruct/ValueWatchdog.kt#L41

Hmm. Cute.

jrddunbr commented 12 months ago

What was in your circuit? Can't seem to isolate what place we are missing the configuration of the watchdog. The current source itself doesn't have a watchdog so something connected to it caused the error.

MsAlPatina commented 12 months ago

An closed relay, i think it was the HV one, not the high current one

jrddunbr commented 12 months ago

Fixed by dbb8033 (1.21.3). Uploading shortly.

jrddunbr commented 12 months ago

https://github.com/age-series/ElectricalAge/releases/tag/1.21.3