MOD

  • Ich hatte ja schon meinen COD 6 Mod fast fertig hab aber wieder ein Problem, naja eher ne Kleinigkeit...

    [autoit]

    #Include <Misc.au3>

    [/autoit][autoit][/autoit][autoit]

    $dll = DllOpen("user32.dll")

    [/autoit][autoit][/autoit][autoit]

    HotKeySet("#c", "_Close1")

    [/autoit][autoit][/autoit][autoit]

    While 1

    If _IsPressed("01" , $dll) Then
    $pos = MouseGetPos()
    $x1 = $pos[0] + Random(-6, 6, 1)
    $y1 = $pos[1] + Random(-6, 6, 1)
    MouseMove($x1, $y1, 10)
    EndIf
    WEnd

    [/autoit][autoit][/autoit][autoit][/autoit][autoit][/autoit][autoit]

    Func _Close1()
    Exit
    EndFunc

    [/autoit]

    Das funktioniert auch super aber wie bekomme ich das hin das das gleiche bei linker Maustaste ist (genaueres Zielen)
    so einfach wie ich dachte ist das nicht.

  • O.o das soll doch so ne art Aim-Bot sein oder?

    Das ist eher ein Anti-Aimbot, das Zielen wird schwieriger.

    @H43DSH0T: Das ist doch schon für die linke Maustaste. Die rechte Maustaste hat den Ispressed-Code "02".

  • sry ich meinte rechte aber so wie ich das gemacht hab haut das nicht hin
    könntet ihr bitte eure Möglichkeiten ma scripten.

  • Spoiler anzeigen
    [autoit]


    #Include <Misc.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $dll = DllOpen("user32.dll")

    [/autoit] [autoit][/autoit] [autoit]

    HotKeySet("#c", "_Close1")

    [/autoit] [autoit][/autoit] [autoit]

    While 1

    [/autoit] [autoit][/autoit] [autoit]

    If _IsPressed("01" , $dll) Or _IsPressed("02", $dll) Then ;Einfach hier einfügen ...or ... (Wenn gedrückt 01 oder 02 dann ;) )
    $pos = MouseGetPos()
    $x1 = $pos[0] + Random(-6, 6, 1)
    $y1 = $pos[1] + Random(-6, 6, 1)
    MouseMove($x1, $y1, 10)
    EndIf
    WEnd

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func _Close1()
    Exit
    EndFunc

    [/autoit]

    Ganz simpel ;)

  • Ich würde da noch nen Sleep() einbauen sonst klaut Autoit dir deine CPU Ressourcen :D

    21 is only half the truth.