Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Updates wie?

Discussion on Updates wie? within the AutoIt forum part of the Coders Den category.

Reply
 
Old 08/31/2010, 05:25   #16
 
CroSSiie's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 264
Received Thanks: 686
irgendwie macht ihr das alle bissle konfus xD
also bei meinem bot da schaut er wenn man start ob eine neue version drausen ist
und zwar durch diese quellzeilen hier:
(mit erklärung xD)
PHP Code:
$version IniRead ("data.ini""Info""Version","")    ;liest die akutelle version

FileDelete
("update.txt")    ;Falls die Datei schon vorhanden ist
InetGet
("http://blablabla/update.txt""update.txt"10)    ;läd die datei runter
$file 
FileOpen("update.txt"0)    :;ffnet sie
$ver_server 
FileReadLine($file1)    ;liest zeile 1 (dort steht bei mir eben die version)
If 
$ver_server $version or $ver_server "" Then    ;vergleicht die version
    FileClose
($file)    ;schließt die datei
    FileDelete
("update.txt")    ;und löscht sie
Else
    
$msgbox MsgBox(36"Update!""Es ist ein neues Update verfügbar!"&@CRLF&"Aktuelle Version: "&$ver_server&@CRLF&"Wollen sie es runterladen?")    ;ja-nein.msgbox
    
If $msgbox 6 Then    ;wenn ja
        Tooltip
("Update wird runtergeladen... bitte warten :-)")
        
InetGet("http://blablabla/Boni-Switcher "&$ver_server&" by CroSSie.exe", @scriptDir&"\" &"Boni-Switcher "&$ver_server&" by CroSSie.exe",0 )    ;läd er diese datei hier runter
        IniWrite("
data.ini", "Info", "Version", $ver_server)    ;schreibt die neue version in die ini
        FileClose(
$file)    ;schließt die datei
        FileDelete("
update.txt")    ;löscht die datei
        Tooltip("")    ;das ist wegen dem tooltip...der geht sonst nimmer wech xD
        msgbox(0,"
Update", "Das Programm wurde aktualisiert ;)")    ;bestätigung
        Run("
Boni-Switcher "&$ver_server&" by CroSSie.exe")    ;öffnet die neue version
        Exit    ;schließt die alte
    Else
        FileClose(
$file)
        FileDelete("
update.txt")
    EndIf
EndIf 
CroSSiie is offline  
Reply


Similar Threads Similar Threads
NO GG for the new updates
10/24/2009 - Shaiya - 2 Replies
guys any one know why the no GG files is not working in the new updates of shaiya i need new no GG file ?
GC US new updates! (11-20-09)
10/22/2009 - Grand Chase - 1 Replies
just want to remind,all who using gc us 1 hit hack the new patch has arrive again and a lot of work for this one i hope u can release a new patch for the us script thanks brian..!
May 30 Updates
06/03/2009 - Soldier Front Philippines - 8 Replies
Na Patch na po ba ISO ngayn? Na try ko po kaninang 5am working pa po ang WireFrame USB method pero ang ISO method detect na po...:bandit:
Any Updates?
05/23/2009 - RF Online - 9 Replies
Iam just wondering if there are new WPEs CEs for the latest RF online updates,patches and for private servers aswell and w/c are undetectable? Cause on the private server where i play in dupping items has become rampant and well i just cant beat them soo... You cant beat em join em ;3 so can some1 share me info on how to dupe stuff? w/o getting detected :D



All times are GMT +2. The time now is 01:36.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.