Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:38

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

Advertisement



Crosshair HAck erstellen ???

Discussion on Crosshair HAck erstellen ??? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
HAcker240's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 162
Received Thanks: 37
Question Crosshair HAck erstellen ???

Hi

ich bin auf der suche nahc einem hack der immer ein Fadenkreuz am bildschirm zeigt sodass z.B. bei spieln wo der sniper nur mit zoom ein fadenkreuz hat ich auch ohne zu zoomen eines hab.

Ungefähr so :


Würde mich sehr über eure hilfe freuen
HAcker240 is offline  
Old 05/15/2011, 20:18   #2
 
WennsHilft's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 341
Received Thanks: 67
Code:
#include <WindowsConstants.au3>
#include <WinAPI.au3>

mycross(640,400,20); mitte einstellen

func mycross($start_x,$start_y,$mylenght)
    $hDC = _WinAPI_GetWindowDC(0)
    $Color = 0xFF
 $hPen = DLLCall("gdi32.dll","int","CreatePen","int",0,"int",2,"int",$Color)
 $hPen = $hPen[0]
 $obj_orig = _WinAPI_SelectObject($hDC, $hPen)

 _GDI_DrawLine($hDC, $start_x - $mylenght, $start_y, $start_x - 5, $start_y);orizzontale dx
 _GDI_DrawLine($hDC, $start_x  + $mylenght , $start_y, $start_x + 5, $start_y);orizzontale sx
 _GDI_DrawLine($hDC, $start_x, $start_y - $mylenght, $start_x, $start_y - 5);verticale up
 _GDI_DrawLine($hDC, $start_x, $start_y + $mylenght, $start_x, $start_y + 5);verticale down

 Sleep(3000) ; zeigt das CH 3sek.

    _WinAPI_RedrawWindow(_WinAPI_GetDesktopWindow(), 0, 0, $RDW_INVALIDATE+$RDW_ALLCHILDREN)
 _WinAPI_SelectObject($hDC, $obj_orig[0])
 _WinAPI_DeleteObject($hPen)
    _WinAPI_ReleaseDC(0, $hDC)
EndFunc

Func _GDI_DrawLine($DC, $x1, $y1, $x2, $y2)
 DLLCall("gdi32.dll","int","MoveToEx","int",$DC,"int",$x1,"int",$y1,"int",0)
 DLLCall("gdi32.dll","int","LineTo","int",$DC,"int",$x2,"int",$y2)
EndFunc
Code:
HotKeySet("{F5}", "_Run")
HotKeySet("{F6}", "_pause")
HotKeySet("{F7}", "_exit")
$color1=0x0000FF ;gelb = 0x00F0F0 ;  rot = 0x0000FF  ;  grün = 0x00FF00  ;  blau = 0xFF0000  ;  weiß = =0xFFFFFF ; lila=0xAC00A9
TrayTip("Hotkeys:", "F5=Cross ; F6=paused ; F7=Exit", 5)
_pause()

Func _Run()
    $handle = ControlGetHandle("paskjh^2g387zaisug2937856", "", 1);$handle = ControlGetHandle("Counter-Strike", "", 1)
    While 1
    SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2, $color1)
    For $i=1 To 10
        SetPixel($handle, @DesktopWidth/2+$i, @DesktopHeight/2, $color1)
        SetPixel($handle, @DesktopWidth/2-$i, @DesktopHeight/2, $color1)
        Sleep(0.1)
        SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2+$i, $color1)
        SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2-$i, $color1)
    Next
    Sleep(0.1)
    WEnd
EndFunc ;==>_Run

Func SetPixel($handle, $x, $y, $color)
    $dc = DllCall("user32.dll", "int", "GetDC", "hwnd", $handle)
    $setpixel = DllCall("gdi32.dll", "long", "SetPixel", "long", $dc[0], "long", $x, "long", $y, "long", $color)
    $realesedc = DllCall("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0])
EndFunc   ;==>SetPixel

Func _pause()
    While True
        Sleep(1000)
    WEnd
EndFunc ;==>_pause

Func _exit()
    Exit
EndFunc ;==>_exit
Wenns Hilft
WennsHilft is offline  
Thanks
2 Users
Old 05/17/2011, 16:25   #3
 
HAcker240's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 162
Received Thanks: 37
danke genau dass habe ich gesucht
HAcker240 is offline  
Reply


Similar Threads Similar Threads
Crosshair Hack selber erstellen
02/19/2011 - Combat Arms - 19 Replies
Hey, kann mir mal jemand zeigen wie man sich ein Crosshair für ca erstellt bzw. mehrere? Würde dazu auch gerne ein ingame menü basteln. mfg



All times are GMT +2. The time now is 22:38.


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.