-
-
Notifications
You must be signed in to change notification settings - Fork 20
Only misfire onto present users #53
Comments
IMO this is not a good idea, since it would limit a lot the people who can be shot. Plus, some people are always in "invisible mode", and that would mean they'll never get shot. The bot already makes sure that the victim has played DuckHunt at least a bit (issue #17), and I think that's enough. I'm not closing the issue though, I'll wait for @paris-ci's (and maybe other people?) opinion. |
I agree with @Diagamma, for 1 more reason, the life insurence shop item needs a fair distribution of the players that get killed. |
What I gather from this issue are the following points:
Therefore, I propose the following changes:
[1]: The bot should store message timestamps in the database, but only periodically for each single player or on bot shutdown. Each time a player sends a message, the bot checks the players persisted last message timestamp against the timestamp it just got. If the offset is [x] time, it should persist the new timestamp. |
I'll reopen this, the changes suggested can be implmented with the |
When you miss and hit another user, you can hit some random dude who has never showed up for months.
As such, there is a large chance of the event not having the full impact it is meant to have.
As a solution, only pick from currently online users to give a higher chance of the event having the impact it is meant to have.
The text was updated successfully, but these errors were encountered: