renoth / factorio-alien-module

A mod for factorio
MIT License
14 stars 16 forks source link

2 issues - 1) crash due to player dieing and biters dieing after his death. 2) Players perform a restart and want kill count to go to zero #85

Closed vfinn closed 2 months ago

vfinn commented 6 months ago

If you'll post the update. I'll make these two changes.

1 issue is a bug - but a fairly rare condition that could happen when a character is fighting with turret backup. This causes a crash in on_entity_died. I'll setup the test scenario to cause the crash, then add the fix.

2 - I allow a player to restart in Brave New Oarc, or if they lose their main roboport they are forced to restart. I'd like to build a remote interface to enable another mod to reset killcounts/module level for a force.

Let me know what you think. I could get this done pretty quickly and will do a PR.

renoth commented 6 months ago

The latest version is released, you can create PRs for the fixes

vfinn commented 6 months ago

FYI - one more simple addition I am planning to add if you don't object. The above interface for restart - but also an interface to read each players kill count/module level. This enables me to post in my UI each players level. /log_am are good for admins to track, but not each player. They want to see where they stand against other teams. We had a run this week with 17 players and 13 teams - all working well on 1.4.4 so far. image