Timer to check database
#1

Hi there!

As I'm working on a webshop system I am trying to figure out if it's possible to make the GM check certain values in the SQL database every 5/10 minutes..

For example:

Player buys 4 gold coins

DB player account:
"gold" was 0 is now 4

Timer checks and notices "coins" is 4

Gamemessage for player if value changed (if unchanged, no matter what number)
You have bought 4 gold coins!

Or is there a better way to do this?

Thanks
Reply


Messages In This Thread
Timer to check database - by NLDBrian - 23.01.2018, 14:43
Re: Timer to check database - by InfiniTy. - 23.01.2018, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)