More Enemies


Simple idea of just having more enemies, with larger and/or more enemy attack groups. Comes with five preset difficulties: Easy(0.1), Vanilla(1), Vanilla+(1.75), Hard(4), and Insanity(11). Each added setting can be configured independently of the selected difficulty to personal taste. Engineer beware - they come for you.

Tweaks
11 days ago
2.0 - 2.1
3.33K
Enemies

b [External compatibility issue] Crash involving Virtual Train Monitor aparently.

2 days ago

The mod More Enemies (0.7.12) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event more-enemies::on_tick (ID 0)
The mod Virtual Train Monitor (0.2.21) caused a non-recoverable error.
Please report this error to the mod author

Error while runnign event virtm::on_entity_cloned (ID 139)
virtm/scripts/backend.lua:597: attempt to index field 'entity' (a nil value)
stack traceback:
virtm/scripts/backend.lua:597 in function 'handler'
core/lualib/event_handler.lua:72: in function
<core/lualib/event_handler.lua:70>
stackback traceback:
[C]: in function 'clone'
more-enemies/scripts/utils/spawn-utils.lua:181:in function 'clone_entity'
more-enemies/scripts/service/spawn-service.lua:521: in function 'on_tick'
more-enemies/scripts/controller/spawn-controller.lua:153: in function
'process_event'
TheEckelmonster-core-library/scripts/event-handler.lua:90: in function
TheEckelmonster-core-library/scripts/event-handler.lua:84>

Hello! Apologies for the issue, but thanks for the report!

Have been able to reproduce the error locally.

Did a little digging/testing to confirm, and found that it is indeed an error on the side of Virtual Train Manager.

As they list a link to their source code on the mod-portal page for VTM, I would open a pull-request with proposed changes/fixes to allow for compatibility, but alas, the repo would appear to be private.


Essentially, either this line can be added at the very beginning of the on_trainstop_built function:

  • if not event or not event.entity or not event.entity.valid then return end

or, I noticed the registered event is not making use of an explicit filter; registering the event with this filter:

  • {{ filter = "name", name = "train-stop", }}

also fixed the issue.


Either of the two above should resolve the error and allow both More Enemies and Virtual Train Manager to be used in tandem.

Thanks again for the report - do let me know if you have any further questions!

a day ago

wtf i forgot to throw this at them. Appreicated tho.

a day ago

Hi, I just changed the source link to the correct location. But I will fix it myself, no PR needed. Thanks for looking into it.

a day ago

Hi, I just changed the source link to the correct location. But I will fix it myself, no PR needed. Thanks for looking into it.

Ah, yes. "Fine i'll do it myself".mp4. Very appreicated though.

a day ago

Should be fixed now.

a day ago

Should be fixed now.

im stupid, your the mod dev. Very appreicated.

New response