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
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