Necromant

by Losatu

You want killing enemies become more usefull and get some more usefull stuff in this game? Then this mod is for you. Adds enemy drops and exploitation of their corpses. Also provides fireball (incl. towers) and poison ammo.

Content
3 years ago
0.14 - 1.1
1.24K
Enemies

b Crash on joining server

3 years ago
(updated 3 years ago)

Got this error upon joining a server running this mod:

Here's the save that you can sync to:
https://overminddl1.com/Factorio/saves/OverSEServer1a0.zip

3 years ago
(updated 3 years ago)

Perhaps this is causing it in data-updates.lua, should conditionally call code, should never conditionally require files. All files must be required in the same order at the same time in all cases regardless of settings or anything:

if settings.startup["necro-setting-support-ne_enemies"].value == true then
    require("prototypes.updates.updates-corpses_nee")
end

In short, the server won't be able to sync mod settings to the client if they differ if files are conditionally loaded as the hash comparison will fail. It can be worked around be leaving the settings default (they weren't in this case), or copying the mod-settings to the client.

3 years ago

Thanks for report.
I am not sure about this.

@Trblz u did changes in updates-corpses_nee.lua.
Can it be always loaded, ,without if settings are set?

3 years ago

Thanks for report.
I am not sure about this.

@Trblz u did changes in updates-corpses_nee.lua.
Can it be always loaded, ,without check if settings are set?

3 years ago

-

3 years ago

You'd have to ask him about that, or look through the file, perhaps a github ping of him?

New response