View Single Post
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Jul 16, 2009, 11:22 AM
djazz is offline
Quote:
Originally Posted by Jerrythabest View Post
Hmmm... it appears to me the CPU usage of that GiP script could be reduced significantly if all those timers (2 per server plus one for the refresh if I'm correct... that makes 17 at the moment) were merged into just one that calls 3 functions:
-one to reduce the refresh timer (and perform the refresh at -1 of course)
-one to loop through the servers and increase their uptimes with one second
-one to loop through the servers to ping them

Which, I admit, isn't a simple, but still a very easy-to-perform change in the JS code as you've got all the functional code already there.
Good idea, I put it on todo

Quote:
Originally Posted by Jerrythabest View Post
One final note: as I've stated in numerous threads already, the JJ2 GiP list could definitely use a complete overhaul, preferably with co-operation of the listservers.
You mean, that the GiP lists should be combined or work together, and that the programmers should work together to one complete GiP? or am I completely wrong?
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler