Non-Wave Defense 2


This mod is derived from the (.16/.17) official WaveDefense scenario mode. Get funding to upgrade technology by killing biters.

Content
2 years ago
0.18 - 1.1
984
Cheats

b [Fixed]Does not start with 0.18/1.0.0

4 years ago

16.219 Error ModManager.cpp:1514: Failed to load mod "NonWaveDefense2": NonWaveDefense2/non_wave_defense.lua:767: attempt to index global 'game' (a nil value)
stack traceback:
NonWaveDefense2/non_wave_defense.lua:767: in function 'print'

This happens during factorio start up. Disabling the mod makes it work.

4 years ago

I think this happens because this module overrides the global print function, so whenever any othe rmodule tries to print anything, the game will crash.

4 years ago

function print(message)
game.players["Lunzir"].print(tostring(message))
end

It will likely also crash when there is no player called Lunzir. I think this code should simply not exist.

4 years ago

Sorry it took so long to respond. I'll update with that line/function removed (it should never execute in the mod itself, so that might be a legitimate bug).

4 years ago

Uploaded a new version. If there are any problems, please post.

This thread has been locked.