Cantr Tic Timer

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Cantr Tic Timer

Postby Cdls » Sun Apr 04, 2010 3:29 am

I am new to programming and thought a good way to practice would be to create something that I would actually use :lol: :lol:


Anyways, made a Cantr Tic Timer that will basically countdown the time until the next tic for land travel, sea travel and projects. It will also display the actual time of the next tic. Right now, it is in its early stages and doesn't have a lot of options, but it does do what it was designed to do. If anyone is interested in it, follow the link below:

http://www.smeikle.com/cantr/setupv0.4.exe


For more info:
http://smeikle.com/forum/index.php?topic=2.0
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: Cantr Tic Timer

Postby EchoMan » Sun Apr 04, 2010 7:26 am

"The site you are looking for has not been published. "

And it has already been done: http://joo.freehostia.com/cantr/ticks/

But I'm sure it was fun and you learned something. :)
returner
Posts: 948
Joined: Sun Nov 01, 2009 8:11 am
Location: Melbourne, Australia

Re: Cantr Tic Timer

Postby returner » Sun Apr 04, 2010 8:47 am

Also, the problem with running a program rather than an online one like joo's, is that when Cantr freezes or resets or is down, all the numbers are incorrect (as they are now).

But nice work!
This account is no longer active - please send any PMs to my new one.
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Re: Cantr Tic Timer

Postby Cdls » Sun Apr 04, 2010 1:29 pm

The link has been fixed, not sure what had happened there, my apologies.

Returner,
The same problem exists with Joo's, that is one of the reasons I created one myself, so I can make the adjustments to fix it. Right now, Joo's is running one hour behind the actual tic times.


EchoMan wrote:
And it has already been done: http://joo.freehostia.com/cantr/ticks/

But I'm sure it was fun and you learned something. :)


Yes, it has been done before, but where would we be if people followed the ideology "its been done before, so lets not bother"? We would not have the things we have today, people would not consider improvements because "it has been done before". And in any case, it wasn't really even about replacing the one Joo made, as I said, I am getting into programming and wanted to make something like this, so I did. And you are right, it was a fun and knowledgeable experience, and it is not done yet. Besides, I am not yet done with it, I will be adding an alarm function (toggled off by default) for when tics are about to hit. *shrugs* As I said, just something to learn the basics.
mikki
Posts: 3609
Joined: Tue Oct 26, 2004 7:38 pm
Location: don't you wish you knew
Contact:

Re: Cantr Tic Timer

Postby mikki » Sun Apr 04, 2010 1:40 pm

Well regardless what others say... I like yours but maybe I'm a little partial :wink:
User avatar
Genevieve
Posts: 2114
Joined: Mon Jul 14, 2003 5:31 pm
Location: Palm Springs, CA
Contact:

Re: Cantr Tic Timer

Postby Genevieve » Sun Apr 04, 2010 6:29 pm

:mrgreen: I love it!
User avatar
mojomuppet
Posts: 987
Joined: Tue Sep 22, 2009 2:24 am
Location: Florida, USA

Re: Cantr Tic Timer

Postby mojomuppet » Mon Apr 05, 2010 1:21 am

I could never get Joo's to work.. I heart you for this one :)
3005-7.35: You expertly kill a giraffe using a bare fist.

Image
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: Cantr Tic Timer

Postby EchoMan » Mon Apr 05, 2010 3:13 am

mojomuppet wrote:I could never get Joo's to work.. I heart you for this one :)

Ehhh... you couldn't get a web page to work? How did it go wrong exactly? :)
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Re: Cantr Tic Timer

Postby Cdls » Mon Apr 05, 2010 3:15 am

Her location blocks access to the web server I would imagine....
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Re: Cantr Tic Timer

Postby Cdls » Mon Apr 05, 2010 4:39 am

To anyone interested, I will be uploading a version which will set off an alarm at a user specified tic time within the next couple days :)
User avatar
KAOS
Posts: 856
Joined: Sun Feb 14, 2010 6:53 pm
Location: Berlin, Europa

Re: Cantr Tic Timer

Postby KAOS » Mon Apr 05, 2010 9:42 am

good idea :)

i still like the webpage timer better - but this maybe will change as soon as your program is developed further, who knows. :D
by the way.. why is your timer's standard time set on pst? cantr is international and i don't think pst is the best international reference parameter. *g* i know my time difference to utc, but i had to look up the difference to pst (and i'm sure many people i know wouldn't even guess what "pst" means^^).
Wenn es einen Glauben gibt, der Berge versetzen kann, so ist es der Glaube an die eigene Kraft.
User avatar
EchoMan
Posts: 7768
Joined: Fri Aug 26, 2005 1:01 pm
Location: Stockholm, Sweden

Re: Cantr Tic Timer

Postby EchoMan » Mon Apr 05, 2010 11:28 am

Maybe an idea for a future version is to look up the users local time setting and use that as a base for calculations? :)
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Re: Cantr Tic Timer

Postby Cdls » Mon Apr 05, 2010 3:24 pm

The reason it is set on PST (as of now) is because I developed this primarily for me (living in PST) and as others became interested I realized "Oh damn, time zones will screw with the tic times" and had to adjust for that. The simplest method at the time was to just ask the users the difference in relation to my timezone and recalculate the tic timings.

Echoman, I have actually been screwin around with that idea. One of the bigger hurdles is that I am using a beginning programmers language (Phrogram) and it has limitations on what it can do, as well as functions it can complete. For example, it has no real "minimize" option, I had to find a go around with that (basically just set the screensize to 0,0 and have the user push it off to the background) but considering its user friendliness to beginners, it has been a great help.


As I said, I am a total newb at all this, but learning fairly quick. All of your suggestions and comments are highly appreciated, thanks :)
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Re: Cantr Tic Timer

Postby joo » Fri Apr 09, 2010 9:36 am

I see no problem with giving people a choice between a web-based and desktop-based interface. I will continue to maintain mine, when I am made aware of problems, for those who prefer it.

I assume the server is running on a machine which adjusts its local time for daylight savings, which would explain why my timings are now incorrect.

Cdls, you might find it useful to know that the tick timings are independent from the timing system within Cantr; they just run on a shedule based on real-life time. And, if I am correct, they also depend on the time of year: as far as I can see, the server is running with an offset of 1 hour during British Summer Time.
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Re: Cantr Tic Timer

Postby Cdls » Fri Apr 09, 2010 5:14 pm

Thanks for confirming that Joo, seeing the way how yours counted down, as well as the fact that tics never seem static within the Cantr world, had me thinking that, but wasn't quite sure.


The biggest hurdle I am having is the programming language I am using is very basic, which is great for a newb like me, but annoying when it comes to certain features not being able to be implemented as they are not supported.

Anyways, once I get proficient in this, I will be updating it in a real language.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest