Shortwave Fixed


Connect circuit networks via shortwave radio channels.

Content
a day ago
1.1 - 2.0
2.10K
Circuit network

g Error

3 years ago

Modifikace Shortwave for 1.1 (0.3.0) způsobila neopravitelný error.

Error while running event shortwave_fix::on_robot_built_entity (ID 14)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__shortwave_fix
/control.lua:28: in function 'check_channels'
shortwave_fix/control.lua:225: in function <shortwave_fix/control.lua:169>

3 years ago

Do you have any mods that change player teams installed? Like Diplomacy?

Can you post the factorio-current.log when this happens, and maybe a save file?

3 years ago

Thanks for response. I dont know what i am doing wrong, but after 166 hours of playing game crashes everytime I place shortwave radio.

1) No, I don't use any "team" mods.

2) I'am using lots of other mods, like AAi Programable and Space exploration.

3) My savefile has 166 played hours WITHOUT bug - everything works. But now i cannot place or edit existing shortwave. No new mods, actualization or other changes. If i start new game (sandbox) - i can place or edit shortwave normaly. Game suddenly crashes only in my save.

4) text from factorio-current.log when i place shortwave by hand:
191.216 Error MainLoop.cpp:1285: Exception at tick 35995254: Modifikace Shortwave for 1.1 (0.3.0) způsobila neopravitelný error.
Prosím nahlaste tento error autorovi modifikace.

Error while running event shortwave_fix::on_built_entity (ID 6)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__shortwave_fix
/control.lua:28: in function 'check_channels'
shortwave_fix/control.lua:225: in function <shortwave_fix/control.lua:169>
200.215 Quitting: user-quit.

5) I'am using another "radio control" mod: AAi signal transmission. Maybye some interference here? But your mod is 1000x better :-)

6) For now i see only one solution: Start new game and hope that the mistake doesn't appear.

3 years ago
(updated 3 years ago)

Most likely there something corrupted the mod's save data. If I have the save file to examine, I can write a migration script to fix your save file.

Worst case, all you should need to do is uninstall the mod, load and save the game (so that all the radios and the corrupt data are deleted), then reinstall the mod and make new radios.

3 years ago

Thanks,
I disable mod , load and save game, enable mod, wonder why i cannot create radio, research shortwave again :-) and now it works.

3 years ago

If you have a copy of the broken save file, I'm still interested in it. Not my code, but apparently I'm the only one updating it...

New response