Feat: Roll Timeout #15

Closed
opened 2025-05-21 11:56:54 -07:00 by VD15 · 0 comments
Collaborator

We want to add an adjustable limit on how often a user can roll for characters. This not only helps fight spam, but also lends artificial scarsity to the characters obtained through the gacha, meaning players will value their pulls more.


  • Update the rolling function to query the DB, retreiving the timestamp of the most recent pull done by that player.
  • Update the config file to add an adjustable roll timeout, which will dictate how long a player must wait between pulls.
  • Only allow the player to roll if the time elapsed between now and the timestamp of the last pull exceeds the roll timeout.

I think 20 hours will be a good starting timeout. This is long enough for players to integrate gamba into their daily routine, while being short enough to allow for minor fluctuations in a player's schedule without punishing them. Sometimes life gets in the way of an addiction.

We could also implement a special 'weekly' roll that players can do. This can refresh every Sunday and let a player grab 7 or 10 rolls at once, sort of an equivelant to the 10-pulls some gacha games let you do, only we don't charge you for it! Might run into attachment limits on some instances, though. cough mastodon cough

We want to add an adjustable limit on how often a user can roll for characters. This not only helps fight spam, but also lends artificial scarsity to the characters obtained through the gacha, meaning players will value their pulls more. --- - Update the rolling function to query the DB, retreiving the timestamp of the most recent pull done by that player. - Update the config file to add an adjustable roll timeout, which will dictate how long a player must wait between pulls. - Only allow the player to roll if the time elapsed between now and the timestamp of the last pull exceeds the roll timeout. I think 20 hours will be a good starting timeout. This is long enough for players to integrate gamba into their daily routine, while being short enough to allow for minor fluctuations in a player's schedule without punishing them. Sometimes life gets in the way of an addiction. We could also implement a special 'weekly' roll that players can do. This can refresh every Sunday and let a player grab 7 or 10 rolls at once, sort of an equivelant to the 10-pulls some gacha games let you do, only we don't charge you for it! Might run into attachment limits on some instances, though. *cough* mastodon *cough*
VD15 added the
Feature
label 2025-05-21 11:56:54 -07:00
VD15 self-assigned this 2025-05-23 13:04:05 -07:00
VD15 added reference feat/roll_timeout 2025-05-23 15:24:24 -07:00
VD15 added this to the v1.1 project 2025-05-24 14:36:32 -07:00
VD15 closed this issue 2025-05-24 14:36:46 -07:00
VD15 added this to the v1.1 milestone 2025-05-26 08:28:47 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: waifu/kemoverse#15
No description provided.