AdamGundry
04-09-2003, 12:37 PM
Hi everyone
I am developing a multiplayer empire management web game using PHP and MySql. For this, I intended to have players gain turns every five minutes or so, which would seem to necessitate using a database trigger.
However, it turns out MySql does not support triggers. Does anyone know a way I could emulate this functionality (i.e. adding to a field for each record in a database once every 5 minutes)? How much lag would this cause?
Unfortunately, I am not running my own host so I do not have access to any other technologies, though Perl might be available.
Any ideas? Or do I have to rethink the game design?
Adam
I am developing a multiplayer empire management web game using PHP and MySql. For this, I intended to have players gain turns every five minutes or so, which would seem to necessitate using a database trigger.
However, it turns out MySql does not support triggers. Does anyone know a way I could emulate this functionality (i.e. adding to a field for each record in a database once every 5 minutes)? How much lag would this cause?
Unfortunately, I am not running my own host so I do not have access to any other technologies, though Perl might be available.
Any ideas? Or do I have to rethink the game design?
Adam