Water Turret

by Pi-C

This mod provides an early game Water thrower that does minimal damage but slows down the enemies (use steam for extra damage!) and an advanced turret for extinguishing fires (use "Hardened pipes" to give it extra resistances!).

Content
4 years ago
0.17 - 1.1
6.36K
Combat

b [Fixed?] Attempt to remote call outside of an event

4 years ago
(updated 4 years ago)

When loading a save:

 120.086 Script @__WaterTurret__/control.lua:1: Entered control.lua
 120.224 Error AppManagerStates.cpp:1453: Attempt to remote call outside of an event.
stack traceback:
    __WaterTurret__/control.lua:1212: in main chunk
stack traceback:
    [C]: in function 'call'
    __WaterTurret__/control.lua:1212: in main chunk
4 years ago

Thanks a lot for the report -- fixed for the next version! I thought I'd clean up a bit and move compatibility code down into its own section, but this remote call must be made from script.on_load or script.on_init. If you don't want to wait for the next update, here's what you have to do:

  • Open control.lua, go to line 1208 (' -- Add event handler for "Picker Dollies" ')
  • Delete lines 1208-1219 (' end ')
  • Go to function on_load() -- uncomment lines 777-785 by removing the "--~" at the start of each line.
  • Copy lines 777-785
  • Go to line 755 and insert the line you've just copied there.
4 years ago

Should be fixed with version 1.0.2. Can you confirm that?

New response