Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Pilot's Lounge

Pilot's Lounge Members meetup

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-21-2012, 09:25 AM
mazex's Avatar
mazex mazex is offline
Approved Member
 
Join Date: Oct 2007
Location: Sweden
Posts: 1,342
Default An application that will make you get the CloD beta first!

2012-04-23: UPDATED TO 1.0.5.0 (Removed message box about network errors etc that has made the watcher stop, as that naturally made it wait for OK before sending a mail about it...)

Hi!

There is so much frustration here now that I decided to write an application after the last delay this thursday, so I don't have to come here every day and check if there is a beta available It's probably the silliest app I have ever written

So - this small C# application (that requires .NET Framework 4.0) will poll the site http://www.1cfiles.com/IL2_CliffsofDover/ where all the beta torrent files have been posted so far (so I assume that the next one will be published there too - m'kay Blacksix?)... It will poll every ten minutes in the default setting and if it finds a new torrent file it will send an email to you and if desired it will automatically start your torrent application of choice and start the download... So when you get back from work you are all set to fly!

There are a bunch of options that are pretty self explaining, there is a log file created in the app folder and yes, the email password is stored in encrypted format and I don't snoop it... I posted the source on the same site if you want to check or use it for some other stuff

An image of the application running (I have it on a server that always runs):



Download at my Google Site here:

https://sites.google.com/site/mazexx/files

The binary app that most want is called "ClodWatcher_v1.0.3.0.zip" and the source code if anyone want it is called "ClodWatcher_v1.0.3.0_src.zip".

I have only tested the SMTP mail part with gmail where it works fine, and I have only tried the "auto start" torrent part with Vuze(Azureus)... No guarantees... I recommend to try the "Test run" button before leaving it on to see that all works (it will "fake" that the last file on the current site is "new" and act from that - downloading, mailing and starting the torrent app etc).

It uses very little CPU naturally and the load of it polling the 1cfiles site for this simple list once every 10 minutes or so will sure be no problem for them...

So - let's all fire this up and continue doing something useful in our lives, I'm going out in my garden now

Change Log:
--------------------------------------

1.0.5.0 (2012-04-30)
* Fixed so that there is no dialog box shown if a thread error occur - as it will not send an email about the problem before
that box is read...

1.0.4.0 (2012-04-23)
* Added a check for the event FormClosing if the user had left the "watcher loop" running and then closed the app with the "x"
so that it will shut down the background thread itself and not leave it for the garbage collector (it was defined as a
background thread so it would not have kept going any way).
* Added functionality so that the "Test Run" button is disabled when the "watcher loop" is running...
* Changed the internal "splitsleep" that divides the time the user has set in 1000 instead of 100 as before to make the
"abort watcher" go faster... Before it would not handle the "CancellationPending" event until waking from "polltime"/100 sleep. Now
it only updates the GUI every polltime/100 like before but it handles events every polltime/1000, so it will be more responsive...
* Added DoEvents and check for CancellationPending on some places in the "Test run" to make it "snappier" to abort that too...

1.0.3.0 (2012-04-22)
* Fixed an embarrasing bug that in the real scenario that is yet to happen that would make it send an email over and
over again every 30 minutes (or whatever setting for poll time the user had set). The would only have been one torrent DL though...
* Fixed some logging to be more clear
* Added more information to the mail sent if it found a new file
* Anchored the GUI elements (if the user would decide to change the size of the window they will scale nicely)
* Added "select folder" button for the download folder setting
* Made the poll a mandatory dropdown (so users can't set below 10 minutes to avoid anger from server ops, default at 30 minutes).

1.0.2.0 (2012-04-22)
* Internal version

1.0.1.0 (2012-04-21)
* Fix for http timeout that made the "watcher loop" stop... Now it will try 100 times and sleep 10 seconds between the tries if it
gets some network error. You can change the number of retries in the config file with the parameter: httpGetRetryCount.
* Added a feature so the app will also send an email if the poll loop should stop for some reason so you know it...

1.0.0.0 (2012-04-20)
* Original release

/Mazex
__________________
i7 2600k @ 4.5 | GTX580 1.5GB (latest drivers) | P8Z77-V Pro MB | 8GB DDR3 1600 Mhz | SSD (OS) + Raptor 150 (Games) + 1TB WD (Extra) | X-Fi Fatality Pro (PCI) | Windows 7 x64 | TrackIR 4 | G940 Hotas

Last edited by mazex; 04-30-2012 at 09:02 AM. Reason: New version 1.0.5.0 (Same as CloD now!)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.