Welcome to the Browser-Base Game Zone forums!
Not going to make this yet, here we go:Yes, if the endless loop is killed by something, the game world will halt.But, I store the time stamp of the END of current turn, and how long a turn lasts.SNIPIt really takes no more than few lines of code to add such functionality to this -let me face it..) "dumb" solution. I bet its harder to do "on demand" processing of data, not to mention keeping the game world in sync if there is a problem / server shutdown / whatever.
I can send you pics of my cocks if you want reference.
I only store 1 times tamp.Event table only has number of turns left stored.So i only compare 1 time stamp.
Quote from: tellmore on December 29, 2009, 06:41:13 AMI only store 1 times tamp.Event table only has number of turns left stored.So i only compare 1 time stamp.If you used Reastyln's method you would also compare 1 timestamp, for every user. You only need to code it for 1 user, right? It's a very easy solutions that works for most games, much easier than your infinite loop, to me.
Anyways i haven't done a single line of code since i posted last time, I was watching code geass.Not bad but , did like GITS better. I hate that every tv series like code geass shows huge mechanical suits as agile as a human body, fighting with swords and all sortha things they should not do. But at least the story is interesting
Creating something heals my pain, so I would call this project a medicine.
<script type="text/javascript">function submitform(){ document.yerform.submit();}</script>
<form name="yerform" action="whatever.php"><input name="stuff" type ='hidden' value="anything you want"/><a href="javascript: submitform()">some dumb text</a></form><script type="text/javascript">
it seams i got a bit carried away.