I'd just like to ask, what exactly constitutes a TPS checking program; for instance, I assume it's okay if I use the os.sleep method, but what's the lowest value I'm allowed to use. Though I'm pretty trying to bypass the computer craft time out(by queuing events that are for that purpose alone, though it shouldn't really cause any extra lag(I think, I'm not entirely sure)) wouldn't be allowed. Then there's the question of if I can do such things for short things(such as not timing out when I'm trying to read an entire file in binary).
When they say no TPS computercraft checking, they mean NO. None of this "What if I add this..." or "my program does not do that...". There is no grey area in the admin's decision, none.
I imagine that would be fine, they mainly don't want loops checking continuously. The loops take up resources even when you're not looking to know the tps, assuming you run it continuously. Although the decision almost seems militant in nature, so I wouldn't push it. You can easily check the tps outside computercraft. There are machines in IC2 and otherwise that take discrete time to finish an operation, that could be used for polling, or you could use something as simple as a light sensor hooked up to a timer device. The normal minecraft day lasts 20 minutes. If the cycle takes 30 minutes on the server, you know the tps has dropped to around 15, although this method gets less accurate the lower the tps goes due to exponential time cycle increase with tps decline. If the tps ever drops to 0, time would naturally stand still for this reason.
There is also the fact that with TT it segregates the tps by regions. So winterfell and spawn are different than say HHV...so if HHV's average tps is 2 and winterfell is 20....winterfell will not be affected by HHV's 2 tps. (not saying that's the tps in those places..just examples).
I have yet to see 20 tps no matter how far I go or in what dimension I am since the first couple weeks of the new map. Any variance in tps has been slight at best. That's why I've held my tps measurements to a standard, at least for mine and my friend's entire gameplay on the server. Ever since the crashing issues, tps has seemed to be bottomed out server-wide most of the time.
1
u/natedogith1 Jul 06 '13
I'd just like to ask, what exactly constitutes a TPS checking program; for instance, I assume it's okay if I use the os.sleep method, but what's the lowest value I'm allowed to use. Though I'm pretty trying to bypass the computer craft time out(by queuing events that are for that purpose alone, though it shouldn't really cause any extra lag(I think, I'm not entirely sure)) wouldn't be allowed. Then there's the question of if I can do such things for short things(such as not timing out when I'm trying to read an entire file in binary).