ok in a bit
SplashTextOn("","Checking For the Latest Version..", 250, 45,-1,-1, 1, "", 10, 900)
#notrayicon
FileDelete(@TempDir & "\version.txt" )
InetGet( "http://hoocrax.********/version.txt" ,@TempDir & "\version.txt" , 1 , 0 )
$file = FileOpen (@TempDir & "\version.txt" , 0 )
$ver_server = FileReadLine( $file , 1 )
$ver_pc = IniRead( "Settings.ini" , "Info" , "Version" , "" )
If $ver_server = $ver_pc or $ver_server = "" Then
FileClose ( $file )
FileDelete (@TempDir & "\version.txt" )
splashoff()
SplashTextOn("","You have the latest version !", 250, 45,-1,-1, 1, "", 10, 900)
sleep(600)
splashoff()
Else
splashoff()
$answer = InputBox("Version Too Old !", "The version you are using is old, please download the latest version from the link below !", "http://www.elitepvpers.com/forum/darkorbit/1218546-release-circle-tool-hoocrax.html", "", 400,150)
ProcessClose("Circle-Tool-v1.3.exe")
EndIf
Well not much difference in the main code.Quote:
Then this code is outdated since:
ProcessClose("Circle-Tool-v1.3.exe")
Maybe new version has diffrent code, but I wouldn`t mind a version that is NOT connecting to anything.
Let it be my problem if it`s an old version.
Could you do such a version, that don`t need to connect to anything, not FTP, not any external program?
Thankx!
SplashTextOn("","Checking For the Latest Version..", 250, 45,-1,-1, 1, "", 10, 900)
#notrayicon
FileDelete(@TempDir & "\version.txt" )
InetGet( "http://hoocrax.********/version.txt" ,@TempDir & "\version.txt" , 1 , 0 )
$file = FileOpen (@TempDir & "\version.txt" , 0 )
$ver_server = FileReadLine( $file , 1 )
$ver_pc = IniRead( "Settings.ini" , "Info" , "Version" , "" )
If $ver_server = $ver_pc or $ver_server = "" Then
FileClose ( $file )
FileDelete (@TempDir & "\version.txt" )
splashoff()
SplashTextOn("","You have the latest version !", 250, 45,-1,-1, 1, "", 10, 900)
sleep(600)
splashoff()
Else
splashoff()
$answer = InputBox("Version Too Old !", "The version you are using is old, please download the latest version from the link below !", "http://www.elitepvpers.com/forum/darkorbit/1218546-release-circle-tool-hoocrax.html", "", 400,150)
Exit 0
EndIf