Results 1 to 1 of 1
  1. #1
    memes2stronk's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    MouseMove in game causes my player to spin rapidly

    I am trying to use MouseMove in a FPS game (windowed.)

    Whenever I try to use MouseMove, the player spins rapidly at the ground or at the sky.

    This has happened in 2 games I have tried, here is the part of my code that moves the mouse:

    Code:
    		If $enabled = 1 Then
    			If _IsPressed("01", $dll) = 1 Then
    
    				Do
    					$result = _ImageSearch($picture,1,$x1,$y1,0,0)
    				Until $result = 1
    
    				If $result = 1 Then
    					MouseMove($x1,$y1,50)
    				EndIf
    
    
    			EndIf
    		EndIf
    I have tried changing the speed of the MouseMove higher and lower, and it does the same thing. (I've tried 5, 50, 500, and 5000 speed).
    This color / image is not in the game anywhere else, only where I am trying to aim.
    EDIT: After making this post I tried using
    Code:
    _WinAPI_Mouse_Event($MOUSEEVENTF_MOVE, $x1, $y1)
    And it's better, instead of spinning it moves my aim to the ground but not completely down.

    Any help would be greatly appreciated.
    Last edited by memes2stronk; 06-06-2017 at 04:50 PM.

Similar Threads

  1. Replies: 11
    Last Post: 02-20-2016, 07:18 PM
  2. Replies: 4
    Last Post: 10-09-2012, 10:14 PM
  3. [Request] I see in game many off players using SSG 82 Rapid Fire??
    By Faris Hadzir in forum Blackshot Hacks & Cheats
    Replies: 9
    Last Post: 09-26-2012, 08:01 PM
  4. new version beta is ready play online games tennis 6oooo players
    By pantaziss in forum General Game Hacking
    Replies: 0
    Last Post: 09-16-2012, 06:07 PM
  5. [Help Request] Gameguard stop everytime my game cause of hacks..
    By Scouty in forum Alliance of Valiant Arms (AVA) Help
    Replies: 4
    Last Post: 07-05-2012, 03:07 PM