Showing posts with label freedom. Show all posts
Showing posts with label freedom. Show all posts

20060904

Reconnect Freedom after Two hour Time out


run("C:\Java\JRE15~1.0_0\bin\javaw.exe -jar C:\Freedom\freedom.jar", "C:\Freedom")
While 1
WinWaitActive("Your Freedom 2006")

ProcessClose ( "javaw.exe" )
ProcessWaitClose ( "javaw.exe" )

run("C:\Java\JRE15~1.0_0\bin\javaw.exe -jar C:\Freedom\freedom.jar", "C:\Freedom")
WEnd


  • Platform : windows

  • Script : autoit

  • desc :

    The 'Your Freedom' servers follow a policy to disconnect the free accounts after 120min(which used to be 240min earlier.) This scripts watches for the warning/info window and reconnects the service by killing and creating another instance of freedom.


  • ToDo :

    You need to select the option to autoconnect in freedom. Also it would be advisable to have the minimise on startup option enabled.


  • alt :

    The process manager shows 3-5% CPU usage, which is quite high for a dormant process. Though it did not slow down my machine, an efficient solution would be to remove the loop and schedule it to runevery 2hrs using scheduled jobs in windows.