Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:41

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

Advertisement



Hilfe bei Script

Discussion on Hilfe bei Script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
bollemann's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 152
Received Thanks: 17
Hilfe bei Script

Hallo, ich habe ein problem und zwar willl ich gerade einen wow logg in bot basteln nur komm ich nicht weiter und zwar soll wenn ich die die Inputbox etwas reinschreibe eine ini datei erstellt werden und die soll wenn wow gestartet wurde abgerufen werden und halt in den acc einloggen



Ich hab so angefangen



#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Log-in Saver by Lukas", 244, 149, 192, 124)
$Button1 = GUICtrlCreateButton("Save", 56, 104, 131, 33, $WS_GROUP)
$Edit1 = GUICtrlCreateEdit("", 40, 8, 9, 1)
GUICtrlSetData(-1, "Edit1")
$Accountname = GUICtrlCreateInput("Accountname", 16, 8, 121, 21)
$Accountpasswort = GUICtrlCreateInput("Accountpasswort", 16, 48, 121, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Exit
MsgBox ( 0, "Erfolg", "Du hast erfolgreich dein Account gespecihert" )
EndSwitch
WEnd














Soll bei Button one nich gleich schließen sondern ini datei schreiben und die dann später abrufen
bollemann is offline  
Old 01/23/2011, 13:09   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
hab hier ein fertiges, das eig. ganz in ordnung ist...

PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"372188192124)
$Input1 GUICtrlCreateInput("name"245212121)
$Input2 GUICtrlCreateInput("password"249212121BitOR($ES_PASSWORD,$ES_AUTOHSCROLL))
$Button1 GUICtrlCreateButton("speichern"176509530$WS_GROUP)
$Button2 GUICtrlCreateButton("laden"176909530$WS_GROUP)
$Button3 GUICtrlCreateButton("Start"275759530$WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

Global $Ini = @ScriptDir "\save.ini"
Global $name IniRead($ini"NAME""name""")
Global 
$password IniRead($ini"PASSWORD""password""")

While 
1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            IniWrite
($ini"NAME""name"GUICtrlRead($Input1))
            
IniWrite($ini"PASSWORD""password"GUICtrlRead($Input2))
        Case 
$Button2
            GUICtrlSetData
($Input1$name)
            
GUICtrlSetData($Input2$password)
        Case 
$Button3
            start
()
EndSwitch
WEnd

Func start
()
ShellExecute( - pfad zur wow.exe )
WinWaitActive( ... wow ...)
Sleep(1000)
Send($name)
Send("{TAB}")
Sleep(1000)
Send($password)
Sleep(1000)
Send("{ENTER}")
;;
;;
Exit
EndFunc 
omer36 is offline  
Thanks
1 User
Old 01/24/2011, 16:41   #3
 
elite*gold: 0
Join Date: Sep 2009
Posts: 445
Received Thanks: 286
Schöner noch das:

PHP Code:
#include <String.au3>
$ecryString=StringEncrypt(1,$Input1,"3ncrypt10nPW",1)
Iniwrite("save.dll","Save,"Name,$ecryString
Banana.Crafts is offline  
Reply


Similar Threads Similar Threads
WoW Lua Script Hilfe
11/20/2010 - World of Warcraft - 3 Replies
Hallo ich habe da mal ne frage und zwar habe ich ein teleporter Npc Und den will ich nun eine funktion hinzufügen das er wen der Spieler dadrauf klickt MaxWeapon skill griegt Es sieht im mom so aus das er nichts macht^^ auser porten und er soll dan den spieler mittels Gm Comando : .char advanceallskills 99999 die waffenfertikeiten auf max setzen blos das macht er nicht^^ (man ist der Faul) Joke^^ davor hatte ich noch das drin
Cs Script Hilfe
08/16/2010 - Counter-Strike - 4 Replies
Also ich habe grad nen Longjump script ausprobiert und bin super zufrieden damit ! Nur stört mich eine Sache Unzwar er läuft automatisch an und springt auch automatisch nach oben und macht dann die longjump bewegungen , vielleicht kann mir jemand den script so bauen das er nur die longjump bewegungen auf knopfdruck macht und ich selber anlauf nehme ! Hier der Script : // 0 - 1 kzh_autoduck 0
Script Hilfe
07/19/2010 - AutoIt - 4 Replies
Hallo, schreibe grad ein kleines Script: Koda: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3>
Hilfe !!!! (Script)
05/18/2010 - Metin2 - 1 Replies
Hallo, Könnt ihr mir Bitte Helfen ich hab ein script gemacht und hatte ein Problem wurde aber gelöscht jetzt is wieder ein Problem da ich bitte euch mir zu helfen ! -Ich hab ein script und will wiesen wie ich in dieses script was einbauen kann das der oder die denn script startet und dann keine acctionenen mit der maus und mit der Tastatur machen kann so lange der script leuft pls Help me.:confused:
[Hilfe] Log In Script
08/03/2009 - AutoIt - 9 Replies
Hey Ja nochmal ich ^^ Wollte fragen ob sich jemand mal dieses script angucken kann und mir sagen kann warum das ab nem gewissen punkt nicht das macht was es soll ... Hab alles mögliche probiert schon seit 4std -_- Weiß nicht mehr was ich machen soll =X



All times are GMT +1. The time now is 18:45.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.