question about your games

For any posts that don't belong in any other category
Post Reply
User avatar
SalyaDarken
Posts: 45
Joined: Sun Jun 07, 2020 7:37 pm
Location: Realm of Darkness
Contact:

question about your games

Post by SalyaDarken »

I know it's a setting in the codes, but just how to you make sure members don't awards two times a day like how you got it with your games?
Image
Image

User avatar
desbrina
Posts: 62
Joined: Sat Aug 03, 2019 10:02 pm
Location: Somewhere...
Contact:

Re: question about your games

Post by desbrina »

When a game is played it records it in the database. The user, which game and the date

For daily games, it simply checks if a record already exists.

For weekly, it calculates the previous Saturdays date and the next fridays date, the checks if there’s any records existing between them
Might get around to making something for here :D

User avatar
SalyaDarken
Posts: 45
Joined: Sun Jun 07, 2020 7:37 pm
Location: Realm of Darkness
Contact:

Re: question about your games

Post by SalyaDarken »

oooh. I got games for my forum but I didn't use the database. oh well. Thank you. ^^
Image
Image

Post Reply