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

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 04-21-2012, 09:49 AM
Strike Strike is offline
Approved Member
 
Join Date: Jul 2010
Location: Norway
Posts: 684
Default

Epic! What a way to state a point really :p

Made me laugh
Reply With Quote
  #3  
Old 04-21-2012, 10:02 AM
PeterPanPan PeterPanPan is offline
Approved Member
 
Join Date: Oct 2009
Location: London, UK
Posts: 559
Default

Thanks Mazex. A bloody mazing!!! There are some seriously talented individuals on this forum.

+1

PPP
__________________
Intel Core i7 2600 3.4 GHz | 1GB Gainward GTX 460 GS | Corsair 4GB XMS3 PC3-12800 1600MHz (1x4GB) | Gigabyte GA-P67A-UD3P B3 (Intel P67) | Windows 7 Home Premium 64 BIT | 600W PSU | 1 TB SATA-II HDD 7200 32MB | 22" Samsung T220 screen.
Reply With Quote
  #4  
Old 04-21-2012, 10:16 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

WOW! Thanks for this

Maybe you would wish to help Banks with his project ? See his messages below too.
Reply With Quote
  #5  
Old 04-21-2012, 10:17 AM
335th_GRAthos 335th_GRAthos is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,240
Default

You are the man!

Thanks Mazex! !!!!!!!

And obviously, you are the one who used his time most constructively (instead of most of us with one finger above the F5 key... LOL).

Now I only need an application to poll the forum every 5min, and if it finds any new post related to the patch update to send an SMS to my phone. Oh, it should also have an ignore list!
Just joking...




~S~

Last edited by 335th_GRAthos; 04-21-2012 at 10:21 AM.
Reply With Quote
  #6  
Old 04-21-2012, 10:37 AM
JG52Uther's Avatar
JG52Uther JG52Uther is offline
Approved Member
 
Join Date: Oct 2007
Location: UK
Posts: 2,358
Default

What a great idea! Kudos to you Mazex.
(Athos with my ignore list the forum is quiet )
Reply With Quote
  #7  
Old 04-21-2012, 10:46 AM
klem's Avatar
klem klem is offline
Approved Member
 
Join Date: Nov 2007
Posts: 1,653
Default

mazex, sometimes I worry about you
__________________
klem
56 Squadron RAF "Firebirds"
http://firebirds.2ndtaf.org.uk/



ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU
Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders
Reply With Quote
  #8  
Old 04-21-2012, 11:14 AM
Kankkis Kankkis is offline
Approved Member
 
Join Date: Mar 2011
Location: Turku, Finland
Posts: 584
Default

Crazy people here
I must reload again my ipad battery, because of refressing bananaforum
Reply With Quote
  #9  
Old 04-21-2012, 11:19 AM
mazex's Avatar
mazex mazex is offline
Approved Member
 
Join Date: Oct 2007
Location: Sweden
Posts: 1,342
Default

Quote:
Originally Posted by klem View Post
mazex, sometimes I worry about you
Me too , but it felt like a better way to spend the thursday evening and saturday morning than browsing the endless rants here

I now found out that my own "Watcher" had stopped after a temporary timeout to the 1cfiles site - so I updated to version 1.0.1.0 to avoid that by retrying a number of times and send a mail if the loop should stop for some reason - see first post...
__________________
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
Reply With Quote
  #10  
Old 04-21-2012, 11:23 AM
Foo'bar Foo'bar is offline
Approved Member
 
Join Date: Oct 2007
Location: Niedersachsen, Deutschland
Posts: 662
Default

Now we have the guarantee that the next patch will be uploaded elsewhere
Reply With Quote
Reply


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 08:46 AM.


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