Shortwave Fixed


Connect circuit networks via shortwave radio channels.

Content
a month ago
1.1 - 2.0
2.35K
Circuit network

g [Fixed] Error on pasting by robot

3 months ago
(updated 3 months ago)

Game version: 2.0.28
Mode version: 0.4.6
Both single- and multi- player

  1. Create radio 1, set channel, connect to network.
  2. Create radio 2, set channel.
  3. Cut (Cmd+X) radio 2. Robot comes and takes it away
  4. Paste (Cmd+V) radio 2. Robot comes, places it and game crashes immediately
The mod Shortwave for 2.0 (0.4.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event shortwave_fix::on_robot_built_entity (ID 15)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __shortwave_fix__/control.lua:148: in function 'radio_tune'
    __shortwave_fix__/control.lua:191: in function <__shortwave_fix__/control.lua:163>
3 months ago

One more, on GUI closed:

The mod Shortwave for 2.0 (0.4.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event shortwave_fix::on_gui_closed (ID 97)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __shortwave_fix__/control.lua:148: in function 'radio_tune'
    __shortwave_fix__/control.lua:218: in function <__shortwave_fix__/control.lua:204>
3 months ago

Mod list:
Base mod @ 2.0.28
Elevated rails @ 2.0.28
Quality @ 2.0.28
Space Age @ 2.0.28
AAI Containers & Warehouses @ 0.3.1
AAI Signals @ 0.7.1
Chest Auto Sort @ 1.3.0
Edit Map Settings @ 0.1.5
Factorio Library @ 0.16.0
Far Reach @ 2.0.0
fCPU @ 0.4.33
Fluid level indicator @ 0.9.7
Rate Calculator @ 3.3.2
Shortwave for 2.0 @ 0.4.6
Squeak Through 2 @ 0.1.2
Visible Planets in Space @ 1.2.7

3 months ago

I'll try to disable some mods to see if this goes away

3 months ago
(updated 3 months ago)

Disable all except these:
Base mod @ 2.0.28
Elevated rails @ 2.0.28
Quality @ 2.0.28
Space Age @ 2.0.28
AAI Containers & Warehouses @ 0.3.1

Re-placed shortwave radios
Radio gets broken after some short time - it doesn't send any signal.
Entering knob UI and then exiting it causes error above.

Here is the save game: https://drive.google.com/file/d/1CngVsAKdEuwSKWEs49kHtS7oXsBRQuvg/view?usp=sharing

3 months ago

Thanks for the report. I'll take a look when I get a chance.

a month ago

I tried to replicate this on Factorio 2.0.42 with Shortwave-fixed 0.4.6 and did not experience any issues. Please test with the newly-released Shortwave-fixed 0.5.0 and Factorio 2.0.42 and post more details if you experience another crash.

a month ago

I found the link entity that was invalid and probably causing your issues. The latest version has several other checks to make sure missing links are repaired so this should be fixed.

a month ago

I recreated the bug and fixed it with another refactor. 0.5.1 actually prevents every crash and recreates links whenever one is disturbed for any reason. Thanks for the report and the save file!

New response