Hallo Leute.
Ich hätt noch ein paar kleine Fragen....
Spoiler anzeigen
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Timmy\Desktop\Autoit\WoW-Starter.kxf
$WoW = GUICreate("World of Warcraft Auto Starter / Login © Rubberducky 2008", 633, 447, 194, 128)
GUISetIcon("D:\World of Warcraft\Wow.exe")
GUISetCursor (3)
GUISetBkColor(0x000000)
$Headline = GUICtrlCreateLabel("World of Warcraft Game Starter and Auto Login", 24, 24, 583, 39)
GUICtrlSetFont(-1, 18, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x8022)
$Startandlogin = GUICtrlCreateButton("Start and Login", 16, 400, 177, 33, 0)
GUICtrlSetFont(-1, 9, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x8022)
$Onlylogin = GUICtrlCreateButton("Only Login", 227, 400, 177, 36, 0)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Exit = GUICtrlCreateButton("Exit", 448, 400, 177, 33, 0)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x8022)
$Label1 = GUICtrlCreateLabel("Accountname:", 16, 184, 186, 36)
GUICtrlSetFont(-1, 20, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x8022)
$Label2 = GUICtrlCreateLabel("Password:", 72, 246, 126, 33)
GUICtrlSetFont(-1, 19, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x8022)
$1 = InputBox("Bitte geben sie ihren Accountnamen ein!", "Accountname:", "")
$2 = InputBox("Bitte geben sie ihr Password ein!", "Password:", "")
GUICtrlCreateInput($2, 201, 248, 281, 21)
GUICtrlCreateInput($1, 201, 193, 281, 21)
$Char = GUICtrlCreateList("", 200, 288, 297, 58)
GUICtrlSetData(-1, "Character1|Character2|Character3|Character4|Character5|Character6")
$Label3 = GUICtrlCreateLabel("Charslot:", 88, 299, 108, 33)
GUICtrlSetFont(-1, 19, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x8022)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Headline
Case $Exit
Exit
Case $Onlylogin
Sleep(5000)
SEND($1)
SEND("{TAB}")
SEND($2)
SEND("{ENTER}")
Sleep(1000)
If $Char = "Character1" Then
Send("{ENTER}")
EndIf
If $Char = "Char2" Then
Send("{DOWN}{ENTER}")
EndIf
If $Char = "Char3" Then
Send("{DOWN}{DOWN}{ENTER}")
EndIf
If $Char = "Char4" Then
Send("{DOWN}{DOWN}{DOWN}{ENTER}")
EndIf
If $Char = "Char5" Then
Send("{DOWN}{DOWN}{DOWN}{DOWN}{ENTER}")
EndIf
If $Char = "Char6" Then
Send("{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{ENTER}")
EndIf
Case $Exit
Exit
EndSwitch
WEnd
Frage 1: Wie kann ich autoit sagen, dass er sich den Pfad zur WoW.exe des jeweiligen Pcßs selber sucht????
Frage 2: Wie kann ich die Liste (Character1|Character2........|Character6) einer Variabelen zuordnen. Sprich: ich such mir eines aus und dann folgt er der Anweisung? Nurmal hällt er an dem Charbildschirm an und weiß nicht mehr weiter....
Frage 3:Wie kann ich meinem Loader ein Hintergrund Pic geben????
Frage 4: Wie mache ich, dass wenn ich auf start drück, er automatisch in das offene WoW Fenster geht / Eines öffnet??
Frage 5: Dieses Character1 ect soll durch die eigeneen Charnamen gewechselt werden. WoW hat diese Namen als Ordnernamen gespeichert. Wie mache ich, dass er diese ausließt, dort einfügt und dann Ingame auch erkennt?
Danke schonmal
Rubberducky