|
You last visited: Today at 08:29
Advertisement
Kleines Problem mit meinen (Aim)Bot
Discussion on Kleines Problem mit meinen (Aim)Bot within the AutoIt forum part of the Coders Den category.
03/28/2010, 21:19
|
#1
|
elite*gold: 103
Join Date: Mar 2009
Posts: 1,721
Received Thanks: 927
|
Kleines Problem mit meinen (Aim)Bot
Guten Abend,
ich hätte hier mal eine Frage/Problem zu meinem (Aim)Bot.
Also, der Bot soll nach einem Klick auf den Start-Button linke Mausklicks auf einen bestimmten Pixel(0xEB1609) im Bereich des fast ganzen Bildschirms machen.
Immer einen Mausklick auf den Pixel, danach den Nächsten, und so weiter.
Nur leider will der nicht ganz so, wie ich will.
Wenn ich Start drücke fährt die Maus nur auf den Pixel, macht aber weiter nix, auch keinen Klick???
Hier einmal mein Scipt:
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include-once
HotKeySet("{End}", "Ende")
Func Ende()
Exit
EndFunc
Func AimTo($Farbe, $shade)
$PS = PixelSearch(35, 173, 1316, 685, $Farbe, $shade)
If IsArray($PS) = 1 Then
While 1
MouseClick("left", $PS[0], $PS[1])
WEnd
EndIf
EndFunc
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Aimbot", 166, 69, 193, 125)
$Start = GUICtrlCreateButton("Start", 16, 8, 131, 49, 0)
GUICtrlSetFont(-1, 10, 800, 0, "Arial")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
AimTo(0xEB1609, 2)
EndSwitch
WEnd
Ich hoffe und denke mir kann geholfen und der Fehler meines Scripts behoben werden.
Danke im Vorraus!
|
|
|
03/29/2010, 00:16
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 141
Received Thanks: 26
|
Probiers mal so:
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include-once
HotKeySet("{End}", "Ende")
Func Ende()
Exit
EndFunc
Func AimTo($Farbe, $shade)
$pix = PixelSearch(35, 173, 1316, 685, $Farbe, $shade)
If IsArray($pix) Then
While 1
MouseClick("left", $pix[0], $pix[1], 1, 0)
Sleep (50)
WEnd
EndIf
EndFunc
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Aimbot", 166, 69, 193, 125)
$Start = GUICtrlCreateButton("Start", 16, 8, 131, 49, 0)
GUICtrlSetFont(-1, 10, 800, 0, "Arial")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
AimTo(0xEB1609, 2)
EndSwitch
WEnd
|
|
|
03/29/2010, 00:18
|
#3
|
elite*gold: 103
Join Date: Mar 2009
Posts: 1,721
Received Thanks: 927
|
Quote:
Originally Posted by -MARKS-
Probiers mal so:
PHP Code:
#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include-once
HotKeySet("{End}", "Ende")
Func Ende() Exit EndFunc
Func AimTo($Farbe, $shade) $pix = PixelSearch(35, 173, 1316, 685, $Farbe, $shade) If IsArray($pix) Then While 1 MouseClick("left", $pix[0], $pix[1], 1, 0) Sleep (50) WEnd EndIf
EndFunc
#Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Aimbot", 166, 69, 193, 125) $Start = GUICtrlCreateButton("Start", 16, 8, 131, 49, 0) GUICtrlSetFont(-1, 10, 800, 0, "Arial") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit
Case $Start AimTo(0xEB1609, 2) EndSwitch WEnd
|
danke, werd ich morgen ma testen
€: ne geht leider auch nicht
|
|
|
 |
Similar Threads
|
kleines problem
09/08/2010 - Metin2 Private Server - 0 Replies
hi ihr ^^ ich wollte mir nen eigenen server zu testzwecken erstellen aber bekomme ein kleines problem...
PUBLIC_IP: ********* interface de0
hostname first_ch2
PLAYER_SQL: localhost mt2 mt2!@# player
COMMON_SQL: localhost mt2 mt2!@# common
LOG_SQL: localhost mt2 mt2 @!# log
mysql_real_connect: Cant´t connect to local MySql server throug the socket ´/tmp/mysql.sock (2)
Cannot start server while no player sql connected
|
Kleines Problem.
12/11/2009 - Metin2 Private Server - 0 Replies
Hallo.
Wenn man in der DB verändert, dass beim einloggen z.B die Fehlermeldung "Berarbeitung" kommt, dann kommt aber "Du konntest dich aus unbekannten Gründen nicht anmelden. STÜCK VOM TEXT"
Kann man nicht machen, dass nur die Fehlermeldung kommt und nicht das "Du konntest.. " ?
Ich hoffe, dass ihr mir helfen könnt ;)
MfG,
ScHniTzZeL
|
Kleines Problem
08/13/2009 - AutoIt - 2 Replies
Also zuerst mal Hi, und danke das ihr mir hilft also ich habe folgendes Problem:
Ich habe Autoit v3 installiert und dann Scite4Autoit dazu.
Aber das Menü für eine Oberfläche kommt nicht zum Vorschein kann mir da jemand helfen?. Also ich meine die Schaltfläche unter Tools mit dem man z.B Buttons und co erstellt ich bitte um hilfe.
Mfg Gallanty
|
Kleines Problem
07/18/2009 - Metin2 Private Server - 2 Replies
also da bei mir nix mehr geklappt hat .. habe ich folgendes probiert:
ich habe aus dem ungepachten 2007 de ordner die metin.exe in den longjuyt2 ordner gemacht in der hoffnung es könnte deutsch werden(ich weiß dumm idee)
dann hat der irgendwas chinesisches gepacht und wenn ich jetzt einlogge siehst soo aus :
http://thumbs1.bildupload.com/b10cc577a18f9899bf9 8494458f605d6.jpg
das hatte ich nochnie(den hintergrund)
könnte mir einer sagen was ich da jetzt genau gemacht habe ...?
|
Kleines ASM Problem
05/04/2008 - General Coding - 1 Replies
Hey,
Ich wäre sehr froh darüber wenn mir jemand helfen könnte der sich mit ASM auskennt.
Ich habe folgendes Problem:
Ich möchte einen Bot für ein MMORPG schreiben. Dieses MMORPG hat einen Launcher (*.exe) und das eigentliche Spiel (*.dat) was der Launcher startet.
Die *.dat Datei wird anscheinend regelmäßig vom Launcher so verändert das sich einige der Adressen ändern.
-> Vorab sei gesagt: Die Pointer auf die Adressen ändern auch ihre Werte! <-
|
All times are GMT +1. The time now is 08:30.
|
|