Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 17:08

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

Advertisement



Nach dem Patcher eine Exe Starten.

Discussion on Nach dem Patcher eine Exe Starten. within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 1
Join Date: Sep 2010
Posts: 413
Received Thanks: 215
Cool Nach dem Patcher eine Exe Starten.

PHP Code:
#cs ################################################################################################
    
Copyright Source by:     Freaky
    Copyright Picture by
:     PixeL

    Lizenz
:
            
Sie dürfen die Source so anpassen wie es ihnen past.
            
Das Copyright darf nicht aus den Bildern entfernt werden.
            
Es dürfen nur die Bilder ausgetauscht werden die kein Copyright besitzen
            
Die Bilder dürfen bearbeitet werden solange das Copyright bleibt.
            
Der Patcher darf in veränderter Form veröffentlicht werden solange das Copyright da ist.
#ce ################################################################################################


#NoTrayIcon
#RequireAdmin

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <SendMessage.au3>
#include <StaticConstants.au3>
#include <String.au3>
#include <WindowsConstants.au3>
#include <GDIpProgress.au3>

TCPStartup ()

Global 
$pIcon ".\icon"$buttons[7][3], $version "1"
Global $titel "Instinct-Network Starter" Titel des Patchers
Global $pName "SelfPatcher.exe"SelfPatcher Name
Global $pUrl "http://instinct-network.de" Hier kommt die Domain zum Patch Server z.Bhttp://www.google.de   NICHT MEHR
Global $click 0

If ProcessExists($pNameThen ProcessClose($pName)
If 
FileExists($pNameThen FileDelete($pName)

If 
TCPConnect (TCPNameToIP ($pUrl),80) = 0 Then
    MsgBox
(0"Fehler""Patch Server nicht erreichbar")
    
TCPShutdown ()
    Exit
Else
    
TCPShutdown()
    
$pUrl &= "/patcher/" Link zum Pfad wo die ganzen Datein zum Patchen liegen die nach der Domain kommens.o.: Patcher.exePack ordner etc.
EndIf
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate($titel606237, Default, Default, $WS_POPUP)

$buttons[1][0] = GUICtrlCreatePic($pIcon "\start0.jpg"36018411119)
$buttons[1][1] = "start"
$buttons[2][0] = GUICtrlCreatePic($pIcon "\beenden0.jpg"47418411119)
$buttons[2][1] = "beenden"
$buttons[3][0] = GUICtrlCreatePic($pIcon "\hp0.jpg"36020511119)
$buttons[3][1] = "hp"
$buttons[4][0] = GUICtrlCreatePic($pIcon "\forum0.jpg"47420511119)
$buttons[4][1] = "forum"
$buttons[5][0] = GUICtrlCreatePic($pIcon "\x0.jpg"57441615)
$buttons[5][1] = "x"
$buttons[6][0] = GUICtrlCreatePic($pIcon "\_0.jpg"55641615)
$buttons[6][1] = "_"

Dim $cNews[4]
For 
$i 0 To 3
    $cNews
[$i] = GUICtrlCreatePic($pIcon "\pixel.jpg"9743 + (($i) * 30), 17617$BS_BITMAP)
Next

$Edit1 
GUICtrlCreateEdit(""36338219124BitOR($ES_WANTRETURN$WS_VSCROLL$ES_READONLY), $ES_READONLY)
GUICtrlSetColor(-10xcccccc)
GUICtrlSetBkColor(-10x151515)

$titel_leiste GUICtrlCreatePic($pIcon "\head.jpg"0060624BitOR($SS_NOTIFY$WS_CLIPSIBLINGS))
$Pic1 GUICtrlCreatePic($pIcon "\bg.jpg"00606237BitOR($SS_NOTIFY$WS_CLIPSIBLINGS))

;~ 
$titel_text GUICtrlCreateLabel($titel13550022)
;~ 
GUICtrlSetColor(-10xFFFFFF)
;~ 
GUICtrlSetFont(-1108000"Arial")
;~ 
GUICtrlSetBkColor(-1$GUI_BKCOLOR_TRANSPARENT)
$read BinaryToString(InetRead($pUrl "data.xml"))
Global 
$data _StringBetween($read"<data>""</data>")
If 
IsArray($dataThen
    
For $i 0 To 3
        $bild 
_StringBetween($data[$i], '<bild="''">')
        
$text _StringBetween($data[$i], '<text="''">')
        
$datum _StringBetween($data[$i], '<datum="''">')
        
$farbe _StringBetween($data[$i], '<farbe="''">')
        
GUICtrlCreatePic("icon\" & $bild[0] & ".jpg", 32, 44 + (($i) * 30), 52, 16)
        GUICtrlCreateLabel(
$text[0], 97, 43 + (($i) * 30), 176, 17)
        GUICtrlSetColor(-1, 
$farbe[0])
        GUICtrlSetFont(-1, 10, 400, 0, "
Candara")
        GUICtrlSetBkColor(-1, 
$GUI_BKCOLOR_TRANSPARENT)
        GUICtrlCreateLabel(
$datum[0], 271, 44 + (($i) * 30), 58, 17)
        GUICtrlSetFont(-1, 8, 800, 0, "
Calibri")
        GUICtrlSetColor(-1, 0xFFFFFF)
        GUICtrlSetBkColor(-1, 
$GUI_BKCOLOR_TRANSPARENT)
    Next
EndIf

;~ 
$Progress1 = GUICtrlCreateProgress (20, 186, 292, 14)
;~ 
$Progress2 = GUICtrlCreateProgress (20, 207, 292, 14)


$Progress1 = _ProgressCreate(20, 186, 292, 14)
_ProgressSetColors(
$Progress1, 0x09B8F8, 0x09B8F8, 0xFFFFFF, 0xFFFFFF); 0x0F8CB3, 0x0F8CB3)
_ProgressSetText(
$Progress1, " ")
$Progress2 = _ProgressCreate(20, 207, 292, 14)
_ProgressSetColors(
$Progress2, 0xefff12, 0xefff12, 0xFFFFFF, 0xFFFFFF); 0xc4d110, 0xc4d110)
_ProgressSetText(
$Progress2, " ")


$Label1 = GUICtrlCreateLabel("0%", 316, 187, 30, 14)
GUICtrlSetFont(-1, 8)
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 
$GUI_BKCOLOR_TRANSPARENT)
$Label2 = GUICtrlCreateLabel("0%", 316, 208, 30, 14)
GUICtrlSetFont(-1, 8)
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 
$GUI_BKCOLOR_TRANSPARENT)

GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    _sleep(100)
WEnd


Func _GUI_hover()
    Local 
$iMouse = GUIGetCursorInfo($Form1)
    If Not @error Then
        For 
$i = 0 To UBound($buttons) - 1
            If 
$iMouse[4] = $buttons[$i][0] Then
                If 
$iMouse[2] And $buttons[$i][2] <> 1 Then
                    GUICtrlSetImage(
$buttons[$i][0], $pIcon & "\" & $buttons[$i][1] & "2.jpg")
                    
$buttons[$i][2] = 1
                ElseIf Not 
$iMouse[2] And $buttons[$i][2] <> 2 Then
                    GUICtrlSetImage(
$buttons[$i][0], $pIcon & "\" & $buttons[$i][1] & "1.jpg")
                    
$buttons[$i][2] = 2
                EndIf
            ElseIf 
$iMouse[4] <> $buttons[$i][0] And $buttons[$i][2] <> 0 Then
                GUICtrlSetImage(
$buttons[$i][0], $pIcon & "\" & $buttons[$i][1] & "0.jpg")
                
$buttons[$i][2] = 0
            EndIf
        Next
    EndIf
EndFunc   ;==>_GUI_hover

Func _buttons()
    
$nMsg = GUIGetMsg()
    Switch 
$nMsg
        Case 
$buttons[1][0]
            
$click += 1
            If 
$click = 1 Then
                
$inet = BinaryToString(InetRead($pUrl & "index.php")); Hier kommt der Name der config Datei rein für die Größe und der Datei
                
$iString = StringSplit($inet, "<br>", 1)
                For 
$l = 1 To UBound($iString) - 1
                    If 
$iString[$l] <> "" Then
                        
$iString2 = StringSplit($iString[$l], "=", 1)
                        ;_ArrayDisplay (
$iString)
                        If StringInStr(
$iString2[1], "/") Then
                            
$eintragen = StringSplit($iString2[1], "/")
                            
$eintragen = $eintragen[2]
                        Else
                            
$eintragen = $iString2[1]
                        EndIf
                        If 
$eintragen <> "" Then
                            If 
$iString2[2] <> FileGetSize(@ScriptDir & "\" & $iString2[1]) Then
                                GUICtrlSetData(
$Edit1$eintragen & " wird aktualisiert" & @CRLF & GUICtrlRead($Edit1))
                                If StringInStr(
$iString2[1], "/") Then
                                    
$iDir = StringSplit($iString2[1], "/")
                                    If Not FileExists(@ScriptDir & "
\" & $iDir[1]) Then DirCreate(@ScriptDir & "\" & $iDir[1])
                                EndIf
                                
$iString2[1] = StringReplace($iString2[1], "/", "\")
                                ;FileDelete (@ScriptDir & "
\" & $iString[$i])
                                
$iGet = InetGet($pUrl & $iString2[1], @ScriptDir & "\" & $iString2[1], 1, 1)
                                
$prozent = ""
                                While InetGetInfo(
$iGet, 2) = False
                                    
$prozent = Round(InetGetInfo($iGet, 0) / InetGetInfo($iGet, 1) * 100, 1)
                                    If GUICtrlRead(
$Label1) <> $prozent & "%" Then __ProgressSet($Progress1$prozent$Label1)
                                    _sleep(100)
                                WEnd
                                __ProgressSet(
$Progress1, 100, $Label1)
                                GUICtrlSetData(
$Edit1$eintragen & " ist fertig geladen." & @CRLF & GUICtrlRead($Edit1))
                            Else
                                GUICtrlSetData(
$Edit1$eintragen & " ist aktuell." & @CRLF & GUICtrlRead($Edit1))
                            EndIf
                            ;GUICtrlSetData(
$Progress2, Round($i / UBound($Config) * 100, 2))
                            
$prozent2 = Round($l / (UBound($iString) - 1) * 100, 1)
                            If GUICtrlRead(
$Label2) <> $prozent2 & "%" Then __ProgressSet($Progress2$prozent2$Label2)
                            _buttons()
                        EndIf
                    EndIf
                Next
                GUICtrlSetData(
$Edit1, "Update wurde beendet." & @CRLF & GUICtrlRead($Edit1))
                __ProgressSet(
$Progress2, 100, $Label2)
                
$click = 0
            ElseIf 
$click = 3 Then
            EndIf
        Case 
$GUI_EVENT_CLOSE
            Exit
        Case 
$buttons[2][0]
            Exit
        Case 
$buttons[3][0]
            ShellExecute("
http://instinct-network.de/") ; Link zur Homepage
        
Case $buttons[4][0]
            
ShellExecute("http://instinct-network.de/board/") ; Link zum Forum
        
Case $buttons[5][0]
            Exit
        Case 
$buttons[6][0]
            
GUISetState(@SW_MINIMIZE$Form1)
        Case 
$titel_leiste
            _SendMessage
($Form1$WM_SYSCOMMAND0xF0120)
    EndSwitch
    
_GUI_hover()
EndFunc   ;==>_buttons


Func __ProgressSet
($Progress$prozent$label)
    
_ProgressSet($Progress$prozent)
    
GUICtrlSetData($label$prozent "%")
EndFunc   ;==>__ProgressSet

Func _sleep
($zeit)
    
Local $timer TimerInit()
    
_buttons()
    Do
        
_buttons()
    
Until TimerDiff($timer) >= $zeit
EndFunc   
;==>_sleep 

Hallo, das ist mein Source, und ich weiß nicht wie man das einbauen kann, das nach den Patchen, eine exe startet...

Kann mir jemand weiter helfen?
Instinct# is offline  
Old 10/20/2010, 20:02   #2
 
bollen's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 221
Received Thanks: 71
einfach
Code:
Run("MeinProgramm.exe")
Dort einbauen wenn der Patcher fertig ist
Das startet dann die .exe Datei
bollen is offline  
Reply


Similar Threads Similar Threads
Metin 2 ohne Patcher starten!
02/24/2012 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 12 Replies
Es nervt bestimmt viele, dass sie beim starten von Metin2 immer den patcher durchlaufenlassen müssen. Da hab ich mir gedacht schreib ich doch ein kleines Programm mit dem ihr Metin ohne Patcher starten könnt. kopiert einfach die Metin2 Starter.exe in euer Metin Verzeichniss. ein screen: http://www.pictureupload.de/originals/pictures/27 0510112105_Metin2_Starter.JPG Wenn ihr auf "Run Metin2" klickt öffnet sich der client. Bei "Einstellungen" öffnet sich dass Config Fenster und bei Exit...
[How To]Mit dem Patcher umgehen (Spiel z.B nicht mit dem Patcher starten)
02/01/2011 - Metin2 Private Server - 5 Replies
Hey leute :'D Also ! Ich will euch nunmal zeigen,wie ihr mit dem Patcher umgehen könnt,also Das spiel Starten ohne mit dem Patcher zu patchen. #1 Öffnet den Editor (a.k.a. Texteditor) und schreibt rein " start Metin2client.bin " (ohne die "") Und speichert es als bypass.bat ab,und kopiert dies in euer beliebiges metin2 ordner ! #2 In eurem metin2 Ordner ist meistens die datei metin2client.bin
Metin 2 ohne patcher starten??
10/06/2010 - Metin2 - 4 Replies
Hey Com, hätte ne frage könnte mir das mal jemand erklären wie ich metin2 ohne patcher starten. Danke im Vorraus
Bypass? Statt Patcher ...Ohen starten.
08/28/2010 - Metin2 Private Server - 0 Replies
Wie mach ich mir ein Bypass so das ich nich ein patcher starten muss? lg
Metin2 ohne Patcher starten
07/26/2010 - AutoIt - 21 Replies
Hallo Leute, Ich hab mir Heute gedacht wie kriegen die das bei easymetin2 hin,dass man ohne patcher startet.Dann hab ich versucht es mit autoit zu machen aber es hat nicht geklappt. Also wollte ich euch mal fragen wisst ihr es? danke schonmal:)



All times are GMT +2. The time now is 17:08.


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.