Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:52

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

Advertisement



Bitte um Hilfe

Discussion on Bitte um Hilfe within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 111
Received Thanks: 15
Bitte um Hilfe

Kann mir jemand verrraten wie ich es hin bekomm das dieses script den attack key spämmt für drink und eat das spämmen pausiert und Danach weiter attack key spämmt ? Danke



#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F9}","_Start")
Global $title = 'xxxxxxxx', $Run

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Steinklopfer", 348, 178)
$Group1 = GUICtrlCreateGroup("", 8, 16, 329, 137)
$Label1 = GUICtrlCreateLabel("Attack Key :", 24, 40, 62, 17)
$Label2 = GUICtrlCreateLabel("Drink Key :", 24, 80, 63, 17)
$Label5 = GUICtrlCreateLabel("Eat Key :", 24, 120, 63, 17)
$Input1 = GUICtrlCreateInput("3", 88, 40, 25, 21)
$Input2 = GUICtrlCreateInput("4", 88, 80, 25, 21)
$Input5 = GUICtrlCreateInput("5", 88, 120, 25, 21)
$Label3 = GUICtrlCreateLabel("Wait attack :", 136, 40, 65, 17)
$Label4 = GUICtrlCreateLabel("Wait Drink :", 136, 80, 67, 17)
$Label4 = GUICtrlCreateLabel("Wait Eat :", 136, 120, 67, 17)
$Input3 = GUICtrlCreateInput("500", 200, 40, 33, 21)
$Input4 = GUICtrlCreateInput("10000", 200, 80, 33, 21)
$Input8 = GUICtrlCreateInput("10000", 200, 120, 33, 21)
$Label5 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 40, 78, 17)
$Label6 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 80, 78, 17)
$Label7 = GUICtrlCreateLabel("( 1000 = 1 sec )", 248, 120, 78, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd

Func _Start()
$Run = Not $Run
While $Run
ControlSend($title,'','',GUICtrlRead($Input1))
Sleep(GUICtrlRead($Input3))
ControlSend($title,'','',GUICtrlRead($Input2))
Sleep(GUICtrlRead($Input4))
ControlSend($title,'','',GUICtrlRead($Input5))
Sleep(GUICtrlRead($Input8))
WEnd
EndFunc
ichhaudiraufsei is offline  
Old 05/16/2015, 17:35   #2


 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,495
Received Thanks: 1,769
Kommt drauf an. Wann willst du denn, dass er isst und trinkt? Und für wie lange?
Moneypulation is offline  
Old 05/16/2015, 23:00   #3
 
elite*gold: 0
Join Date: Jun 2012
Posts: 409
Received Thanks: 194
Firstly, you shall put the content of the input in a variable and then use it in your sloop.
Xavierbot is offline  
Reply


Similar Threads Similar Threads
SimCity! Bitte um Hilfe!|Verarbeitung der großen Datei ... bitte warten
04/10/2013 - Technical Support - 4 Replies
Jo Leute, ich habe mir vor etwa 2 Wochen SimCity gekauft und habe gleich mal den Installer bei Origin heruntergeladen. Ich versuche also seit 2 Wochen (!) SimCity zum laufen zu bekommen, da dort die ganze Zeit "Verarbeitung der großen Datei ... bitte warten" steht. Nach ca. 1 Stunde warten bekomme ich eine Fehlermeldung. SMCY5. Habe auch schon von help.ea.com den Lösungsweg für Fehler SMCY5 versucht. Habt ihr da vielleicht ne Idee was man da noch machen kann? Ich habe mal gelesen mit VPN...



All times are GMT +2. The time now is 11:52.


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.