in reply to Re: Running a script periodically to update player statistics on a web game.
in thread Running a script periodically to update player statistics on a web game.
Unrelated but the $cou+=0 looks a bit dodgy: ++$cou perhaps. I could be wrong as I've no idea what $cou refers to.Dodgy indeed. He appears to be trying to build an infinite loop to keep the game running forever, but he hasn't yet discovered the
construct that most of us use. $cou is presumably a generic counter and I'm guessing the +=0 is intentional so that the loop will never terminate.while (1) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Running a script periodically to update player statistics on a web game.
by kcott (Archbishop) on Nov 02, 2010 at 10:06 UTC | |
by Anonymous Monk on Nov 02, 2010 at 18:00 UTC |