Enemy Race Manager

by heyqule

Add support to have multiple races of enemies and add various RTS elements. Enemy become tougher as you kill them. Added aerial enemies. Support free for all or 1vN. Search "ERM -" mods to download the new enemies.

Content
a month ago
1.1 - 2.0
23.3K
Combat Enemies Environment Mining Manufacturing

b Crash on GUI click

3 months ago

I get this error message when I try to open planet progression window of any faction.

The mod Enemy Race Manager (2.0.36) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event enemyracemanager::on_gui_click (ID 1)
Invalid SurfaceIdentification. Surface does not exist.
stack traceback:
    [C]: in function 'get_evolution_factor'
    __enemyracemanager__/gui/quality_point_window.lua:87: in function 'show'
    __enemyracemanager__/gui/events.lua:107: in function 'event_action'
    __enemyracemanager__/gui/events.lua:300: in function 'handler'
    __core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>

There's a strange entry, which I can't really attribute to any of my mods.
[space-location=kr-air-purifier-helper] kr-air-purifier-helper
This sounds like something from Krastorio, but I don't use the mod in my current game. SA v.2.0.55 mod-list.json

3 months ago

probably internal data issue. I'll need your save to test.

3 months ago
(updated 3 months ago)

I found the issue. ERM is trying to read a missing or removed mod surface.
At some point I had Krastorio 2 - Air Purifier & Krastorio 2 - air purifier helper in my savegame for testing, but removed later on.

Here's how to reproduce.
1. Install aforementioned mods
2. Start a new game
3. Save the game, disable the mods and reload the savegame
alternatively /c game.delete_surface("kr-air-purifier-helper")
4. Open ERM > Details > Planet Progressions
5. See error message.

Not sure if this is on ERM's part or that purifier helper's mod.

3 months ago

ok

3 months ago

2.0.37 fixes it.

New response