1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. Kev

Beiträge von Kev

  • Button finden und Klicken

    • Kev
    • 28. Mai 2010 um 13:10

    XD Geil

    okay pass auf, geh auf start, programme, autoIT, autoIt windows info, dann öffnet sich nen tool zum auslesen von buttons.

    dann klickste auf dein.. ach mom

    les:

    Klick mich

  • Button-Rand-Farbe

    • Kev
    • 27. Mai 2010 um 13:52

    Ich bezweifel das du des weggkriegst. Notfalls bastelste dir das einfach via. SkinCrafter

    Gruß

  • Fileselectfolder

    • Kev
    • 27. Mai 2010 um 11:24

    das sind 1800 zeilen code ^^ und bei mir gehts so net :S naja egal

    trotzdem thx

  • Fileselectfolder

    • Kev
    • 27. Mai 2010 um 11:08

    same thing, 2 mal Verzeichnis erfolgreich ausgelesen.

    egal auf welchen button ich klick

  • Fileselectfolder

    • Kev
    • 27. Mai 2010 um 10:57

    joa help hab ich probiert ich krieg trotzdem immer das falsche raus:

    sprich:

    [autoit]

    $path = StringTrimRight(FileOpenDialog($language[36], @ProgramFilesDir, "(Avguard.exe)"), 7)
    if @error then
    MsgBox(4096, "", $language[37])
    else
    TrayTip("Installer", $language[38], 5, 1)
    logfile("path read: " & $path & " -" & @HOUR & ":" & @MIN & ":" & @SEC & " am " & @MDAY & "." & @MON & "." & @YEAR)
    EndIf

    [/autoit]

    $language[37] = Keine Datei ausgewählt!
    $language[38] = Verzeichnis erfolgreich ausgelesen.

    ich krieg immer raus, das des verzeichnis erfolgreich ausgelesen wurde. immer, egal was ich klick.

  • Fileselectfolder

    • Kev
    • 27. Mai 2010 um 10:43
    [autoit]

    $path = StringTrimRight(FileOpenDialog($language[36], @ProgramFilesDir, "(Avguard.exe)"), 7)

    [/autoit]

    Frage, da kommt ne file Auswahl da kann man öffnen auswählen oder abbrechen, ich hätt gern ne rückgabe bei öffnen, okay is gesetzt und bei abbrechen, kein file ausgewählt.

    bloß wie.

    gruß

  • Func rückgabewert

    • Kev
    • 27. Mai 2010 um 08:13

    danke ^^ ich weiß wie ich ne func bau mit adlibregister :D trotzdem thx :)

    jede 50ms frisst das nicht resourcen wie sonst was?

  • Problem mit Windows7

    • Kev
    • 26. Mai 2010 um 22:19

    umgehen mit AutoIT kannste das aber soweit ich weiß nicht

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 18:18

    Heyja :)

    Funktioniert Top, eine Frage , eine wichtige Frage, nach jedem Patch öffnet sich eine Launcher.exe die ich auch wieder schließen lasse. Bloß hätte ich das gerne Dauerhaft.
    Wo bau ich das denn am Besten in diesem SCript ein, das wenn der launcher existiert er den schließt. sprich:

    [autoit]

    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")

    [/autoit]


    Spoiler anzeigen
    [autoit]

    ;________________________Func Patch Status_______________________________________________________________________________________________--
    ;###############################################################################################################################################
    Func Patchstatus()
    InetGet("http://www.Keanu-AutoIT.de/RisingGods/wowversion.txt", @TempDir & "\wowversion.txt")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    Switch $versionlocal
    Case "2.3.3.7799"
    Patch1()
    Case "2.4.0.8089"
    Patch2()
    Case "2.4.1.8125"
    Patch3()
    Case "2.4.2.8278"
    Patch4()
    Case "2.4.3.8606"
    Patch5()
    Case "3.0.1.8874"
    Patch6()
    Case "3.0.2.9056"
    Patch7()
    Case "3.2.0.10192"
    Patch8()
    Case "3.2.0.10314"
    Patch9()
    Case "3.2.2.10482"
    Patch10()
    Case "3.2.2.10505"
    Patch11()
    Case "3.3.0.10958"
    Patch12()
    Case "3.3.0.11159"
    Patch13()
    Case "3.3.2.11403"
    Patch14()
    Case "3.3.3.11685"
    Patch15()
    EndSwitch
    EndFunc ;==>Patchstatus

    [/autoit] [autoit][/autoit] [autoit]

    Func Ende()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    $versionextern = FileRead(@TempDir & "\wowversion.txt")
    If $versionlocal = $versionextern Then
    $var = True
    Else
    $var = False
    EndIf
    Return $var
    EndFunc ;==>Ende
    ;____________End of Function - Patch1 - 2.3.3.7799________________________________________________________________________________________________--
    ;###############################################################################################################################################
    ;________________________Func Patch1 - 2.3.3.7799________________________________________________________________________________________________--
    Func Patch1() ;2.3.3.7799
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 2.3.3.7799 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, $language[4], $language[51])
    logfile("RG WoW Installer: Can't connect to http://www.wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 2.4 - Deutsch (2.3.3.7799 -> 2.4.0.8089) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10037&mirror=1", $wowpath & "Patch 2.4 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10037&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 2.4 - Deutsch (2.3.3.7799 -> 2.4.0.8089)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, $language[4], $language[22])
    ProgressOff()
    MsgBox(-1, $language[4], $language[21])
    logfile("Patch Download: DL NOT succesfull - Patch 2.4 - Deutsch 2.3.3.7799 -> 2.4.0.8089")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 2.4 - Deutsch (2.3.3.7799 -> 2.4.0.8089) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 2.4 - Deutsch.zip", $wowpath & "Patch 2.4 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 2.4 - Deutsch\", "*.exe")
    Run($wowpath & "Patch 2.4 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch1
    ;________________________End of Function - Patch1 - 2.3.3.7799________________________________________________________________________________________________--
    ;###############################################################################################################################################
    ;________________________Func Patch2- 2.4.0.8089____________________________________________________________________________________________________________
    Func Patch2()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 2.4.0.8089 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 2.4.1 - Deutsch (2.4.0.8089 -> 2.4.1.8125) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10035&mirror=1", $wowpath & "Patch 2.4.1 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10035&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 2.4.1 - Deutsch (2.4.0.8089 -> 2.4.1.8125)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- Patch 2.4.1 - Deutsch 2.4.0.8089 -> 2.4.1.8125")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 2.4.1 - Deutsch (2.4.0.8089 -> 2.4.1.8125) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 2.4.1 - Deutsch (2.4.0.8089 -> 2.4.1.8125) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 2.4.1 - Deutsch.zip", $wowpath & "Patch 2.4.1 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 2.4.1 - Deutsch\", "*.exe")
    Run($wowpath & "Patch 2.4.1 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch2
    ;________________________End of Function - Patch2 - 2.4.0.8089__________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch3 - 2.4.1.8125________________________________________________________________________________________________
    Func Patch3()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 2.4.1.8125 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 2.4.2 - Deutsch (2.4.1.8125 -> 2.4.2.8278) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10033&mirror=1", $wowpath & "Patch 2.4.2 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10033&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 2.4.2 - Deutsch (2.4.1.8125 -> 2.4.2.8278)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- Patch 2.4.2 - Deutsch 2.4.1.8125 -> 2.4.2.8278")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 2.4.2 - Deutsch was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 2.4.2 - Deutsch (2.4.1.8125 -> 2.4.2.8278) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "Patch 2.4.2 - Deutsch.zip", $wowpath & "Patch 2.4.2 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 2.4.2 - Deutsch\", "*.exe")
    Run($wowpath & "Patch 2.4.2 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch3
    ;________________________End of Function - PatchMiD- 2.4.1.8125_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch4 - 2.4.2.8278________________________________________________________________________________________________
    Func Patch4()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 2.4.2.8278 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 2.4.3 - Deutsch (2.4.2.8278 -> 2.4.3.8606) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10031&mirror=1", $wowpath & "Patch 2.4.3 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10031&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 2.4.3 - Deutsch (2.4.2.8278 -> 2.4.3.8606)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- Patch 2.4.3 - Deutsch 2.4.2.8278 -> 2.4.3.8606")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 2.4.3 - Deutsch (2.4.2.8278 -> 2.4.3.8606) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 2.4.3 - Deutsch (2.4.2.8278 -> 2.4.3.8606) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 2.4.3 - Deutsch.zip", $wowpath & "Patch 2.4.3 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 2.4.3 - Deutsch\", "*.exe")
    Run($wowpath & "Patch 2.4.3 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch4
    ;________________________End of Function - Patch4 - 2.4.2.8278_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch5 - 2.4.3.8606________________________________________________________________________________________________
    Func Patch5()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 2.4.3.8606 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.0.1 - EU / The Burning Crusade Version (2.4.3 -> 3.0.1) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10029&mirror=1", $wowpath & "Patch 3.0.1 - EU.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10029&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.0.1 - EU / The Burning Crusade Version (2.4.3 -> 3.0.1)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.0.1 - EU / The Burning Crusade Version 2.4.3 -> 3.0.1")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.0.1 - EU / The Burning Crusade Version (2.4.3 -> 3.0.1) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.0.1 - EU / The Burning Crusade Version (2.4.3 -> 3.0.1) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.0.1 - EU.zip", $wowpath & "Patch 3.0.1 - EU", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.0.1 - EU\Updates\WoW-2.4.3-to-3.0.1-TBC-EU-Update\", "*.exe")
    Run($wowpath & "Patch 3.0.1 - EU\Updates\WoW-2.4.3-to-3.0.1-TBC-EU-Update\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch5
    ;________________________End of Function - Patch5 - 2.4.3.8606_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch6 - 3.0.1.8874________________________________________________________________________________________________
    Func Patch6()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.0.1.8874 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.0.2 - EU (3.0.1 -> 3.0.2) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10028&mirror=1", $wowpath & "Patch 3.0.2 - EU.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10028&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.0.2 - EU (3.0.1 -> 3.0.2)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.0.2 - EU (3.0.1 -> 3.0.2)")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.0.2 - EU (3.0.1 -> 3.0.2) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.0.2 - EU (3.0.1 -> 3.0.2) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.0.2 - EU.zip", $wowpath & "Patch 3.0.2 - EU", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.0.2 - EU\Updates\WoW-3.0.1-to-3.0.2-Update\", "*.exe")
    Run($wowpath & "Patch 3.0.2 - EU\Updates\WoW-3.0.1-to-3.0.2-Update\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch6
    ;________________________End of Function - Patch´6 - 3.0.1.8874_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch7 - 3.0.2.9056________________________________________________________________________________________________
    Func Patch7()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.0.2.9056 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.0.2 - EU (3.0.1 -> 3.0.2) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10006&mirror=2", $wowpath & "Patch 3.2 - Full.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10006&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.2 - Full", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.2 - Full")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.2 - Full was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.2 - Full : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.2 - Full.zip", $wowpath & "Patch 3.2 - Full", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.2 - Full\", "*.exe")
    Run($wowpath & "Patch 3.2 - Full\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch7
    ;________________________End of Function - Patch7 - 3.0.2.9056_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch8 - 3.2.0.10192________________________________________________________________________________________________
    Func Patch8()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.2.0.10192 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.2.0a - Deutsch (3.2.0.10192-> 3.2.0.10314) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10026&mirror=1", $wowpath & "Patch 3.2.0a - Deutsch.zip", 1, 1)
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10026&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.2.0a - Deutsch (3.2.0.10192-> 3.2.0.10314)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- Patch 3.2.0a - Deutsch (3.2.0.10192-> 3.2.0.10314")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.2.0a - Deutsch (3.2.0.10192-> 3.2.0.10314) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.2.0a - Deutsch (3.2.0.10192-> 3.2.0.10314) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.2.0a - Deutsch.zip", $wowpath & "Patch 3.2.0a - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.2.0a - Deutsch\", "*.exe")
    Run($wowpath & "Patch 3.2.0a - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch8
    ;________________________End of Function - Patch8 - 3.2.0.10192_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch9 - 3.2.0.10314_______________________________________________________________________________________________
    Func Patch9()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.2.0.10314 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10024&mirror=1", $wowpath & "Patch 3.2.2 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10024&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.2.2 - Deutsch (3.2.0.10314 -> 3.2.2.10482)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.2.2 - Deutsch (3.2.0.10314 -> 3.2.2.10482)")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.2.2 - Deutsch (3.2.0.10314 -> 3.2.2.10482) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.2.2 - Deutsch (3.2.0.10314 -> 3.2.2.10482) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.2.2 - Deutsch.zip", $wowpath & "Patch 3.2.2 - Deutsch", 4)
    $exe = _FileListToArray($wowpath & "Patch 3.2.2 - Deutsch\", "*.exe")
    Run($wowpath & "Patch 3.2.2 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch9
    ;________________________End of Function - Patch9 - 3.2.0.10314_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch10 - 3.2.2.10482_______________________________________________________________________________________________
    Func Patch10()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.2.2.10482 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10022&mirror=1", $wowpath & "Patch 3.2.2a - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10022&mirror=1")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505) ")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.2.2a Deutsch (3.2.2.10482 -> 3.2.2.10505) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    #RequireAdmin
    _zip_unzipall($wowpath & "Patch 3.2.2a - Deutsch.zip", $wowpath & "Patch 3.2.2a - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.2.2a - Deutsch\", "*.exe")
    Run($wowpath & "Patch 3.2.2a - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch10
    ;________________________End of Function - Patch10- 3.2.2.10505_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch11 - 3.2.2.10482_______________________________________________________________________________________________
    Func Patch11()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.2.2.10505 " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.3 - Deutsch (3.2.2.10505 -> 3.3) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10020&mirror=2", $wowpath & "Patch 3.3 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10020&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.3 - Deutsch (3.2.2.10505 -> 3.3)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- Patch 3.3 - Deutsch (3.2.2.10505 -> 3.3)")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.3 - Deutsch (3.2.2.10505 -> 3.3) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.3 - Deutsch (3.2.2.10505 -> 3.3) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "Patch 3.3 - Deutsch.zip", $wowpath & "Patch 3.3 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.3 - Deutsch\wow-3.2.2-to-3.3.0-deDE-Win-patch", "*.exe")
    Run($wowpath & "Patch 3.3 - Deutsch\wow-3.2.2-to-3.3.0-deDE-Win-patch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch11

    [/autoit] [autoit][/autoit] [autoit]

    ;________________________End of Function - Patch11- 3.3.0.10958_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch12 - 3.3.0.10958_______________________________________________________________________________________________

    [/autoit] [autoit][/autoit] [autoit]

    Func Patch12()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.3.0.10958 - " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "WoW Patch 3.3a - Deutsch (3.3.0.10958-> 3.3.0.11159) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10018&mirror=2", $wowpath & "Patch 3.3a - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10018&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of WoW Patch 3.3a - Deutsch (3.3.0.10958-> 3.3.0.11159)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull- WoW Patch 3.3a - Deutsch (3.3.0.10958-> 3.3.0.11159)")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "WoW Patch 3.3a - Deutsch (3.3.0.10958-> 3.3.0.11159) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("WoW Patch 3.3a - Deutsch (3.3.0.10958-> 3.3.0.11159) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "Patch 3.3a - Deutsch.zip", $wowpath & "Patch 3.3a - Deutsch\", 0)
    $exe = _FileListToArray($wowpath & "Patch 3.3a - Deutsch\", "*.exe")
    Run($wowpath & "Patch 3.3a - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch12
    ;________________________End of Function - Patch12- 3.3.0.10958_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch13 - 3.3.2.11403_______________________________________________________________________________________________
    Func Patch13()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.3.0.11159 - " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.3.0.11159 -> 3.3.2.11403 wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10016&mirror=2", $wowpath & "WoW Patch 3.3.2 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10016&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.3.0.11159 -> 3.3.2.11403", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.3.0.11159 -> 3.3.2.11403")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.3.0.11159 -> 3.3.2.11403 was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.3.0.11159 -> 3.3.2.11403 : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "WoW Patch 3.3.2 - Deutsch.zip", $wowpath & "WoW Patch 3.3.2 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "WoW Patch 3.3.2 - Deutsch\", "*.exe")
    ShellExecute($wowpath & "WoW Patch 3.3.2 - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch13
    ;________________________End of Function - Patch13- 3.3.0.10958_________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch14 - 3.3.2.11403_______________________________________________________________________________________________
    Func Patch14()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.3.2.11403 - " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "WoW Patch 3.3.3 wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10008&mirror=2", $wowpath & "WoW Patch 3.3.3 - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10008&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of WoW Patch 3.3.3", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull: WoW Patch 3.3.3")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "WoW Patch 3.3.3 was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("WoW Patch 3.3.3 : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "WoW Patch 3.3.3 - Deutsch.zip", $wowpath & "WoW Patch 3.3.3 - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "WoW Patch 3.3.3 - Deutsch\wow-3.3.2-to-3.3.3-deDE-Win-patch\", "*.exe")
    Run($wowpath & "WoW Patch 3.3.3 - Deutsch\wow-3.3.2-to-3.3.3-deDE-Win-patch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch14
    ;________________________End of Function - Patch14- 3.3.2.11403________________________________________________________________________________
    ;###############################################################################################################################################
    ;________________________Func - Patch15 - 3.3.3.11685_______________________________________________________________________________________________
    Func Patch15()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    logfile("Starte Patchvorgang : Schleife 3.3.3.11685 - " & "Locale Version: " & $versionlocal)
    Ping("www.wow.4fansites.de")
    If @error Then
    MsgBox(-1, "ERROR", "Can't connect to wow.4fansites.de Server")
    TrayTip("RG WoW Installer", "Fehler - Kann keine Verbindung zu WoW 4 Fansites herstellen.", 5, 1)
    logfile("RG-Starter: Can't connect to wow.4fansites.de - " & @HOUR & ":" & @MIN & ":" & @SEC)
    Else
    $Error = 0
    TrayTip("RG WoW Installer", "Patch 3.3.3a - Deutsch (3.3.3.11685-to-3.3.3.11723) wird runtergeladen...", 5, 1)
    $inetgethandle = InetGet("http://wow.4fansites.de/download.php?download=10064&mirror=2", $wowpath & "WoW Patch 3.3.3a - Deutsch.zip", 1, 1)
    $Size = InetGetSize("http://wow.4fansites.de/download.php?download=10064&mirror=2")
    $Percent = $Size / 100
    ProgressOn("Download of Patch 3.3.3a - Deutsch (3.3.3.11685-to-3.3.3.11723)", "Size = " & $Size & " Bytes", "0%")
    For $i = 0 To 100 Step 1
    While 1
    If InetGetInfo($inetgethandle, 0) >= $Percent * $i - 1 Then
    ProgressSet($i, $i & "%")
    Sleep(100)
    If $i == 100 Then
    ProgressOff()
    EndIf
    ExitLoop
    ElseIf InetGetInfo() == "" Then
    ProgressSet(100, "ERROR", "An Error Occured!!!")
    ProgressOff()
    MsgBox(-1, "ERROR", "An Error Occured!!!")
    logfile("Patch Download: DL NOT succesfull - Patch 3.3.3a - Deutsch (3.3.3.11685-to-3.3.3.11723)")
    $Error = 1
    EndIf
    WEnd
    Next
    If $Error == 0 Then
    TrayTip("RG WoW Installer", "Patch 3.3.3a - Deutsch (3.3.3.11685-to-3.3.3.11723) was downloaded to your WoW Dir.", 5, 1)
    MsgBox(-1, "Succes", "Download Complete!!! -" & $wowpath, 3)
    logfile("Patch 3.3.3a - Deutsch (3.3.3.11685-to-3.3.3.11723) : DL succesfull")
    TrayTip("RG WoW Installer", "Patch wird entpackt und gestartet, bitte haben Sie Geduld", 5, 1)
    _zip_unzipall($wowpath & "WoW Patch 3.3.3a - Deutsch.zip", $wowpath & "WoW Patch 3.3.3a - Deutsch", 0)
    $exe = _FileListToArray($wowpath & "WoW Patch 3.3.3a - Deutsch\", "*.exe")
    Run($wowpath & "WoW Patch 3.3.3a - Deutsch\" & $exe[1])
    WinWait("100% - Blizzard Updater", "Patchvorgang war erfolgreich.")
    ControlClick("100% - Blizzard Updater", "&OK", "Button1")
    Sleep(2000)
    If ProcessExists("launcher.exe") Then ProcessClose("launcher.exe")
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    If Ende() = True Then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    Else
    Patchstatus()
    EndIf
    EndIf
    $Error = 0
    EndIf
    EndFunc ;==>Patch15

    [/autoit]

    WIe ihr seht, Patch func, patch ende func und die 15 patches, ich will jetz das dauerhaft in den 15 patches abgefragt wird, wenn launcher.exe da ist, mach zu ^^
    ne while schleifer, aber wo b au ich das am besten ein.

    gruß

  • benötige hilfe bei funcs

    • Kev
    • 26. Mai 2010 um 16:06
    [autoit]


    eins()

    [/autoit][autoit][/autoit][autoit]

    Func eins()
    iniwrite(@scriptdir &"\Nummern.ini","Zahlen","1",$a1)
    zwei()
    Endfunc
    Func zwei()
    iniwrite(@scriptdir &"\Nummern.ini","Zahlen","2",$a2)
    drei()
    EndFunc
    Func drei()
    iniwrite(@scriptdir &"\Nummern.ini","Zahlen","3",$a3)
    EndFunc

    [/autoit]
  • benötige hilfe bei funcs

    • Kev
    • 26. Mai 2010 um 15:55

    du drückst dich iwie fail aus^^

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 15:37

    ende() wird ja nur ausgeführt wenn die zutrifft, also wenn die versionen gleich sind.
    falls das nicht so ist, ruft der solange die patch funktion auf bis die ende() zutrifft. sollte so gehn

    mach mir net so angst ! :D

    gruß

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 15:19

    jop und wenn ich gepatched hab un da am ende ein fehler is, darf ich runterpatchen ( ca. halbe stunde ) und 3h neupatchen :D dsw frag ich lieber 10 ma, das ichs net umsonst mach

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 15:13

    kay dann versuch ichs so nochmal, wird eh weida 3h patchen umsonst ;) un losgeht :D

  • Ähm...

    • Kev
    • 26. Mai 2010 um 14:53

    das war UEZ mit seinem spoiler in der shoutbox, machter die raus, solltees wieder gehn ;)
    sb archiv löschen ftw

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 13:54

    du fragst im patch ab

    if Ende() = true

    aber in der Ende()
    hast du ja angegeben $var = true

    stimmt das wirklich so?
    müsste das im patch nicht heißen

    [url='http://translation.autoit.de/onlinehilfe/intro/lang_variables.htm']

    [autoit]

    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    if $var = true then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    else
    Patchstatus()
    EndIf

    [/autoit]

    und $var global deklariern sonst meckert der oda?
    ?

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 12:22

    also? so?

    [autoit]

    global $var

    [/autoit][autoit]


    Func Ende()
    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    $versionextern = FileRead(@TempDir & "\wowversion.txt")
    if $versionlocal = $versionextern then
    $var = true
    else
    $var = false
    Endif
    Endfunc

    [/autoit]

    und im patch dann?

    [autoit]

    $versionlocal = FileGetVersion($wowpath & "\WoW.exe")
    if $var = true then
    MsgBox(0, "", "Auf Rising Gods Stand gepatcht")
    logfile("Patchstand Rising Gods: " & $versionlocal)
    else
    Patchstatus()
    EndIf

    [/autoit]

    ?!??!

  • Happy Birthday anno2008 und SEuBo

    • Kev
    • 26. Mai 2010 um 12:02

    Alles GUte und weiterhin reingehaun ;)

  • Patchfunktion - do until - so richtig?

    • Kev
    • 26. Mai 2010 um 11:56

    hab ich auch gedacht :D es geht so net glaub mir xD
    dann meckerter, file nicht gefunden, ohne backslash gehts top ;) er patcht ja :D

    //edit habs umgebaut so das es geht ;) komplett bis auf eine sache ich krieg keine fertigmeldung
    look anderer thread :D

  • Func rückgabewert

    • Kev
    • 26. Mai 2010 um 11:47
    Zitat

    Soll das ein hack oder bot werden?

    typische nerd frage.

    gegenfrage: ist ein patchdownload ein bot? oder ein hack?

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™