Page 1 of 1

Add live time to the top of the page

PostPosted: Sun, 10 Jan 2010 01:58:10 +0000
by Rusty
Overview
You can't tell how long it is until a reset without checking the clock tower all the time and so can loose ECs by using them too near the hour or not know when to refresh a page to do gang war kills etc.

Suggested Implementation
In the layouts, add at the top of the page (maybe above user name) the current server time (rather than local time) so we know when the next hourly and daily reset is

Improvements This Makes
You can use ECs nearer the time and can refresh pages knowing the reset has happened, preventing unnecessary refreshing before the reset.

Possible Drawbacks
I don't know how coding/websites work, but having this on every page could slow down the server or something I don't know about :P However, this is already used in the gang war countdown timer (although that is only one page, and doing it on all pages may lag the server (again, i don't know :P)).
You can just use your ECs at a sensible time and continue to f5 reset dependant pages.

Summary
I'm sure this update isn't too hard to code in, and although I don't know about the effects on the server it is already implemented on some pages, and would reduce unneeded pre-reset page loading.

This suggestion has used Rusty's recommended suggestion format! If you like/dislike it, please post a comment there.

Re: Add live time to the top of the page

PostPosted: Sun, 10 Jan 2010 11:15:17 +0000
by born2hack
+1

Re: Add live time to the top of the page

PostPosted: Mon, 11 Jan 2010 00:41:24 +0000
by Orsm
Approved

Re: Add live time to the top of the page

PostPosted: Wed, 13 Jan 2010 12:29:49 +0000
by Andi
Done.

Re: Add live time to the top of the page

PostPosted: Wed, 13 Jan 2010 20:38:52 +0000
by Rusty
I appreciate the fast implementation of this idea, but a key concept of 'live' has been removed from it. Although this is defiantly an improvement, the time is static so much f5ing must still be had near reset times.

Re: Add live time to the top of the page

PostPosted: Wed, 13 Jan 2010 23:53:30 +0000
by PaPPy
kinda like my greasemonkey script a while back?
the javascript would add and iframe always at the top of the page, for directing to this page
http://cyberwars.pappyspage.com/time.php

Re: Add live time to the top of the page

PostPosted: Thu, 14 Jan 2010 00:14:13 +0000
by Rusty
PaPPy wrote:kinda like my greasemonkey script a while back?
the javascript would add and iframe always at the top of the page, for directing to this page
http://cyberwars.pappyspage.com/time.php

Exactly this. Now how do I put this on CW's page? :P
Also pappy, you seem to have some really good stuff just lying around, you should share this with us!

Re: Add live time to the top of the page

PostPosted: Fri, 15 Jan 2010 11:49:42 +0000
by PaPPy

Re: Add live time to the top of the page

PostPosted: Fri, 15 Jan 2010 12:29:48 +0000
by Ozy {DD}
PaPPy wrote:get firefox
get greasemonkey https://addons.mozilla.org/en-US/firefox/addon/748
install this script http://cyberwars.pappyspage.com/clock.user.js

done



Great job Pappy !!

Re: Add live time to the top of the page

PostPosted: Fri, 15 Jan 2010 19:31:51 +0000
by PaPPy
ive had it for years

Re: Add live time to the top of the page

PostPosted: Fri, 15 Jan 2010 19:52:00 +0000
by Rusty
PaPPy wrote:ive had it for years

Any more greasemonkey scripts for CW you willing to share? :P

Re: Add live time to the top of the page

PostPosted: Sat, 16 Jan 2010 09:40:48 +0000
by Ozy {DD}
PaPPy, can you add :
Code: Select all
http://www.cyber-wars.com/jailcounter.php*

To the exceptions in your
Code: Select all
http://cyberwars.pappyspage.com/clock.user.js

Otherwise we have 2 clocks while in Jail ... GRRR ... makes time go slower :D

Re: Add live time to the top of the page

PostPosted: Sat, 16 Jan 2010 18:18:45 +0000
by PaPPy
done u must redownload the script, or edit it urself

Re: Add live time to the top of the page

PostPosted: Sat, 16 Jan 2010 21:55:44 +0000
by Rusty
Thought the jail counter was odd, and I posted here but deleted the edit as when I looked again it was normal and I thought I was going crazy XD