Open Cooldude2606 opened 3 years ago
The counter should track the kills if the player is in the vehicle. But auto defence by spidertron or what should not be counted?
Auto kills will need to be ignored, I am unaware of any simple way to relate these kills back to a player beyond keeping an index of who and when remotes were used. As such I believe updating the filter to include vehicles with players in them will be a sufficient fix.
the only thing not sure about is artillery remote kills but it may be better not to include it in this update.
Should artillery even be counted? It less of the player killing things and more just the player asking for stuff to be killed.
other than checking for character type it can check for vehicles as well. when there is a driver or passenger it should be counted as well
Factorio version Version number: 1.1.37
Scenario version Version number: 6.2.0
Bug description The datastore statistics for player kills are not increased when the player is in a vehicle. The issue is because the filter during on_entity_died is too restrictive. There is a good chance that this issue also effects the on_entity_damaged event as this uses a similar filter.
Reproduction method Steps to reproduce the behavior:
Expected behavior The counter should track all player kills.