Distro Decay package
Posted: Fri Jan 12, 2007 5:16 am
Austin,
The current distro decay package seems to need a wee bit of work.
decayCycle.src needs to reset cur_y after the inner for/endfor loop otherwise it never runs the y loop again.
Also the sleeps are way too long - I've been experimenting with them and haven't found the ideal values yet, but something like a 40mS pause after the inner for/endfor loop seems better to me but may still not get through the world inside 15 minutes.
How long should it take for the decay script to run? Perhaps just under 15 minutes would be ideal to keep the average cycles more constant. I would suggest you not use sleep at the end of a world sweep, simply because you might like the cycle to run every 15 minutes rather than 15 minutes after it last finished.
One final thing - you really don't want to be logging every item decayed. That's going to get huge very fast.
The current distro decay package seems to need a wee bit of work.
decayCycle.src needs to reset cur_y after the inner for/endfor loop otherwise it never runs the y loop again.
Also the sleeps are way too long - I've been experimenting with them and haven't found the ideal values yet, but something like a 40mS pause after the inner for/endfor loop seems better to me but may still not get through the world inside 15 minutes.
How long should it take for the decay script to run? Perhaps just under 15 minutes would be ideal to keep the average cycles more constant. I would suggest you not use sleep at the end of a world sweep, simply because you might like the cycle to run every 15 minutes rather than 15 minutes after it last finished.
One final thing - you really don't want to be logging every item decayed. That's going to get huge very fast.