Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:15

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

Advertisement



Autoit ^^

Discussion on Autoit ^^ within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
Question Autoit ^^

Ich hatte L.W. und da dachte ich ok schreibste Tariner ...
Jetzt hab ich noch mal ne Frage wie kann ich
Quote:
$write = _MemoryWrite(0x0A9428, $hprocess, 100)
anstat der 100 das so machen das er das nimmt was man eingibt? xD
PS: Suche Autoit Lehrer/in^^
~kau~ is offline  
Old 01/01/2010, 23:01   #2
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,804
Schau dir mal die Inputbox an.
AllesVergeben is offline  
Old 01/01/2010, 23:13   #3
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
Also Ich scheck das net^^ Hier mal der ganze Text
Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 168, 138, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 8, 8, 153, 41, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Button2", 8, 56, 153, 41, $WS_GROUP)
$Input1 = GUICtrlCreateInput("Input1", 8, 104, 153, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
$pid = WinGetProcess("Solitär")
$hprocess = _MemoryOpen($pid)
$read = _MemoryRead(0x0A9428, $hprocess)
MsgBox(0,"Title", "Memory: " & $read)
case $button2
$pid = WinGetProcess("Solitär")
$hprocess = _MemoryOpen($pid)
$read = _MemoryRead(0x0A9428, $hprocess)
$write = _MemoryWrite(0x0A9428, $hprocess, 100)
EndSwitch
WEnd


~kau~ is offline  
Old 01/01/2010, 23:22   #4
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"168138192124)
$Button1 GUICtrlCreateButton("Button1"8815341$WS_GROUP)
$Button2 GUICtrlCreateButton("Button2"85615341$WS_GROUP)
$Input1 GUICtrlCreateInput("Input1"810415321)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$DeinWert Inputbox ( *Hier die Parameter angeben* )

While 
1
$nMsg 
GUIGetMsg()
Switch 
$nMsg
Case $GUI_EVENT_CLOSE
Exit
case 
$button1
$pid 
WinGetProcess("Solitär")
$hprocess _MemoryOpen($pid)
$read _MemoryRead(0x0A9428$hprocess)
MsgBox(0,"Title""Memory: " $read)
case 
$button2
$pid 
WinGetProcess("Solitär")
$hprocess _MemoryOpen($pid)
$read _MemoryRead(0x0A9428$hprocess)
$write _MemoryWrite(0x0A9428$hprocess$DeinWert)
EndSwitch
WEnd 
.nAno is offline  
Thanks
1 User
Old 01/01/2010, 23:48   #5
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
ok habs THX ..ne doch net^^ SRY help pls
Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include<NoMadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("xD", 195, 112, 192, 124)
$Button1 = GUICtrlCreateButton("Info", 64, 8, 65, 65, $WS_GROUP)
$Button2 = GUICtrlCreateButton("set", 8, 8, 49, 65, $WS_GROUP)
$Button3 = GUICtrlCreateButton("run", 136, 8, 49, 65, $WS_GROUP)
$Input1 = GUICtrlCreateInput("", 8, 80, 169, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

Inputbox("lol","1 bis 9999")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
case $button1
$pid = WinGetProcess("Solitär")
$hprocess = _MemoryOpen($pid)
$read = _MemoryRead(0x0A9428, $hprocess)
MsgBox(0,"Title", "Memory: " & $read)
case $button2
$pid = WinGetProcess("Solitär")
$hprocess = _MemoryOpen($pid)
$read = _MemoryRead(0x0A9428, $hprocess)
$write = _MemoryWrite(0x0A9428, $hprocess, 100)
case $button3
run("sol.exe")
EndSwitch
WEnd
Suche Autoit Lehrer/in pls pm me^^
~kau~ is offline  
Old 01/02/2010, 02:02   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,147
Code:
#include <NoMadMemory.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("xD", 195, 112, 192, 124)
$Button1 = GUICtrlCreateButton("Info", 64, 8, 65, 65, $WS_GROUP)
$Button2 = GUICtrlCreateButton("set", 8, 8, 49, 65, $WS_GROUP)
$Button3 = GUICtrlCreateButton("run", 136, 8, 49, 65, $WS_GROUP)
$Input1 = GUICtrlCreateInput("Wert hier eingeben", 8, 80, 169, 21)
GUISetState(@SW_SHOW)

While True
	$pid = WinGetProcess("Solitär")
	$hprocess = _MemoryOpen($pid)
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			$read = _MemoryRead(0x0A9428, $hprocess)
			MsgBox(0,"Title", "Memory: " & $read)
		Case $Button2
			$write = _MemoryWrite(0x0A9428, $hprocess, GUICtrlRead($Input1))
		Case $Button3
			Run("sol.exe")
	EndSwitch
WEnd
Habs mal ein bisschen aufgeräumt ^^
Wenn du auf "Set" drückst schreibt das Programm die Eingabe von deinem Inputfeld in den Speicher
KDeluxe is offline  
Thanks
1 User
Old 01/02/2010, 10:54   #7
 
oO-D&S-Oo's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 35
Received Thanks: 2
Quote:
PS: Suche Autoit Lehrer/in^^
ja...ich würde mich auch sehr freuen, wenn mir jemand den Umgang mit Autoit beibringen/erkläen würde XÞ
oO-D&S-Oo is offline  
Old 01/02/2010, 12:31   #8
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
jo THX nochmal!^^ PS:^^ suche Lehrer/in^^@killer? oder @ .Nano
~kau~ is offline  
Old 01/02/2010, 12:35   #9
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
mach ne schöne GUI und ließ den Wert mit GuiCtrlRead aus

€killer hatte die Idee auch schon. Habs nicht gesehen
HardCore.1337 is offline  
Old 01/02/2010, 13:10   #10
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
Lehrer braucht man für sowas wie AutoIT nicht :P
Frag nen pa Leute einfach nach Source-Codes, schau se dir an und versuch die zu verstehn^^

(schau dir als beispiel mal meinen Anhang an )

Mir war langweilig und ich hab bei dem Game andauernd verloren xD
Hier mal der Link da kannst dus testen

Ich glaub ich hab vergessen die Debugger rauszunehmen aber das hindert dich ja nicht dran den mal auszuprobieren
Attached Files
File Type: rar Curveball Bot.rar (268.2 KB, 7 views)
.nAno is offline  
Thanks
1 User
Old 01/02/2010, 13:27   #11
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
..Da ihr ja sonne tollen HElfer seit hab ich nochmal ne Aufgabe für euch/mich /kp^^
Quote:
#include<IE.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("xD", 214, 140, 192, 124)
$Button1 = GUICtrlCreateButton("Go", 8, 64, 193, 73, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("ID:", 8, 16, 36, 17)
$Label2 = GUICtrlCreateLabel("PW:", 8, 40, 36, 17)
$Input1 = GUICtrlCreateInput("Hier ID", 48, 16, 153, 21)
$Input2 = GUICtrlCreateInput("Hier PW", 48, 40, 153, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
$oIE = _IECreate("https://www.battlefieldheroes.com/")
$oName = _IEFormElementGetObjByName ($oIE, "Email")
$oPass = _IEFormElementGetObjByName ($oIE, "Password")

_IEFormElementSetValue($oName,GUICtrlRead($Input1) )
_IEFormElementSetValue ($oPass,GUICtrlRead($Input2))
EndSwitch
WEnd
THX für die Ganze Hilfe
~kau~ is offline  
Old 01/02/2010, 14:30   #12
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
@.nAno wie soll er sich den source anschauen, wenn du ne exe schickst?! Außerdem braucht man bei so einen Bot doch nur Pixelsearch und mousemove...

@TS fang einfach irgendwas an, wo du Bock drauf hast. Wenn du dann mal nicht weiterkommst, schau in der nach. Wenn du da nichts findest, dann schau hier im Forum oder im nach, ob deine Frage schonmal gestellt wurde. Wenn du dann immer noch nicht schlauer bist, dann poste deine Frage hier. Bitte fang nicht so an wie viele hier und poste deine Frage ohne vorher die Suche zu nutzen...


€: wo ist die Aufgabe? Kannst du auch formulieren was dir fehlt?
| Moep | is offline  
Old 01/02/2010, 15:08   #13
 
elite*gold: 1
Join Date: Oct 2008
Posts: 1,078
Received Thanks: 276
ohh mist, hab das falsche Packet erwischt^^
Ich schick dir den Source nochmal per PM wenn du möchtest

Und ja, auch wenns nur mousemove etc ist, fürn Anfang kann man da ja schonmal einiges lernen
.nAno is offline  
Old 01/02/2010, 18:39   #14
 
~kau~'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
@.Nano ne brauchste net kann pixel bots schon acmhe hatte für das game schon einen xD
und @ meine aufgabe is ich mach was falsch er gibt auf der seite nix ein /vllt falsch formuliert oder so^^
~kau~ is offline  
Old 01/02/2010, 20:09   #15
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,147
Code:
#include<IE.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("xD", 214, 140, 192, 124)
$Button1 = GUICtrlCreateButton("Go", 8, 64, 193, 73, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("ID:", 8, 16, 36, 17)
$Label2 = GUICtrlCreateLabel("PW:", 8, 40, 36, 17)
$Input1 = GUICtrlCreateInput("Hier ID", 48, 16, 153, 21)
$Input2 = GUICtrlCreateInput("Hier PW", 48, 40, 153, 21)
GUISetState(@SW_SHOW)

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			$oIE = _IECreate("https://www.battlefieldheroes.com/user/login")
			$oName = _IEGetObjByName($oIE, "mail")
			_IEFormElementSetValue($oName, GUICtrlRead($Input1))

			$oPass = _IEGetObjByName($oIE, "password")
			_IEFormElementSetValue($oPass, GUICtrlRead($Input2))
	EndSwitch
WEnd
KDeluxe is offline  
Thanks
1 User
Reply




All times are GMT +2. The time now is 01:15.


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.