Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:24

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

Advertisement



[Need Help] Aimbot [2D]

Discussion on [Need Help] Aimbot [2D] within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 24
Received Thanks: 3
[Need Help] Aimbot [2D]

Also, ich hab nen kleinen Aimbot geschrieben, aber der zielt immer nur ~ zur Koordinate 1720:42 oder so. Die Map ist 2farbig, und keine der beiden Farben ähnelt den Farben, die ich finden möchte.. Hier der Code:

Code:
#include <WindowsConstants.au3>

Global $Team = 'Blue'
Global $Processing = false
Global $coord[2]

$GUI = GUICreate("", 100, 180, -1, 0, $WS_POPUP, $WS_EX_TOPMOST)
$Teaml = GUICtrlCreateLabel("Team:    " & $Team, 0, 0)
$Pausedl = GUICtrlCreateLabel("Paused: " & Not $Processing, 0, 20)
$Exit = GUICtrlCreateButton("Exit", 0, 40, 100, 20)
$Teamb = GUICtrlCreateButton("Team", 0, 60, 50, 20)
$Pauseb = GUICtrlCreateButton("Pause", 50, 60, 50, 20)
GUISetState(@SW_SHOW)

While 1
	While $Processing
		Switch GUIGetMsg()
		Case $Exit
			Exit
		Case $Teamb
			_tTeam()
		Case $Pauseb
			_tPause()
		EndSwitch
		Switch $Team
		Case 'Blue'
			$coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, 0xC05151)
			If Not @error Then
				MouseClick("left", $coord[0], $coord[1], 1, 0)
			EndIf
		Case 'Red'
			$coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, 0x5178C0)
			If Not @error Then
				MouseClick("left", $coord[0], $coord[1], 1, 0)
			EndIf
		EndSwitch
	WEnd

	While Not $Processing
		Switch GUIGetMsg()
		Case $Exit
			Exit
		Case $Teamb
			_tTeam()
		Case $Pauseb
			_tPause()
		EndSwitch
	WEnd
WEnd

Func _tPause()
	$Processing = Not $Processing
	GUICtrlSetData($Pausedl, "Paused: " & Not $Processing)
EndFunc

Func _tTeam()
	If $Team = 'Blue' Then
		$Team = 'Red'
	Else
		$Team = 'Blue'
	EndIf
	GUICtrlSetData($Teaml, "Team:    " & $Team
EndFunc
Wäre toll, wenn ihr mir helfen könntet!
_Ikaron() is offline  
Old 04/04/2011, 19:03   #2
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Hast du schonmal das AutoIT window info tool ausprobiert?
Ludder231 is offline  
Old 04/04/2011, 19:17   #3
 
elite*gold: 0
Join Date: Dec 2010
Posts: 24
Received Thanks: 3
Jop. Aber ich seh nicht, was das hier bringen könnte, da die Funktionen meienr Meinung nach passen. Natürlich kann es nicht sein, dass alles passt, weil es sonst ja gehen würde xD
Nunja, ich würde aber trotzdem sagen, dass du hier nicht postest wenn du nichts sinnvolles beizutragen hast.
_Ikaron() is offline  
Old 04/04/2011, 19:37   #4
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Gesehen hab ich jetzt nichts falsches aber nehm mal die Pixel Farbe von der Coordinate. Vllt hat sich ja ein Pixel eingeschlichen, das dort nicht hin gehört.
BlackHybrid is offline  
Old 04/04/2011, 19:52   #5
 
elite*gold: 0
Join Date: Dec 2010
Posts: 24
Received Thanks: 3
Ich kann auch laufen, und selbst wenn ich springe etc, immer diese Coord..
_Ikaron() is offline  
Old 04/04/2011, 20:33   #6
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
Wie ich bereits gesagt hab ich hatte es schon öfters gehabt, dass die pixel irgendwo noch vorhanden sind. Scann einfach nochmal die Koordinate.
BlackHybrid is offline  
Old 04/05/2011, 13:17   #7
 
Fly™'s Avatar
 
elite*gold: LOCKED
Join Date: Feb 2010
Posts: 589
Received Thanks: 89
Um welches Spiel handelt es sich?
Fly™ is offline  
Old 04/17/2011, 10:34   #8
 
elite*gold: 0
Join Date: Dec 2010
Posts: 24
Received Thanks: 3
Das spiel heißt "Teeworlds".
_Ikaron() is offline  
Reply




All times are GMT +1. The time now is 06:24.


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