Page 10 of 10 FirstFirst ... 8910
Results 136 to 137 of 137
  1. #136
    swnc26's Avatar
    Join Date
    Nov 2018
    Gender
    male
    Location
    GoldWater
    Posts
    18
    Reputation
    10
    Thanks
    22
    My Mood
    Amazed

    Thumbs up OMG i am looking for this!

    This usefull script AHK for my gameplay, thank man for sharing it for evryone

  2. #137
    Win32-0's Avatar
    Join Date
    Jan 2023
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by ninjaman4bit View Post

    known bugs:

    - sometimes mouse pointer appears in your screen ( for now just press esc to fix)

    You can fix that with this code

    Code:
    DllCall("SystemParametersInfo", UInt, 0x0017, UInt, 0, UInt, 0, UInt, 0x01)
    So your new code is this;

    Code:
    #NoEnv
    SendMode Input
    SetWorkingDir %A_ScriptDir%
    #SingleInstance force
    SetTitleMatchMode, 2
    
    DllCall("SystemParametersInfo", UInt, 0x0017, UInt, 0, UInt, 0, UInt, 0x01)
    
    #ifwinactive, PLAYERUNKNOWN'S BATTLEGROUNDS
    
    activeMonitorInfo(X, Y, Width, Height)
    
    ~V::
    	if (isMouseShown() == true)
    	{
    		ScreenRatio := ((Width/Height) - 0.6)
    		ModResX := (Width/1680) * ScreenRatio
    		ModResY := (Height/1050) * ScreenRatio
    		MouseClickDrag, Left, 88 * ModResX, 156*ModResY, 831* ModResX, 300*ModResY , 0
    		Sleep 1
    		MouseClickDrag, Left, 91* ModResX, 214*ModResY, 831* ModResX, 300*ModResY , 0
    		Sleep 1
    		MouseClickDrag, Left, 165* ModResX, 293*ModResY, 831* ModResX, 300*ModResY , 0
    		Sleep 1
    		MouseClickDrag, Left, 164* ModResX, 401*ModResY, 831* ModResX, 300*ModResY , 0
    		Sleep 1
    	}
    	Sleep 15
    return
    
    isMouseShown()
    {
    	StructSize := A_PtrSize + 16
    	VarSetCapacity(InfoStruct, StructSize)
    	NumPut(StructSize, InfoStruct)
    	DllCall("GetCursorInfo", UInt, &InfoStruct)
    	Result := NumGet(InfoStruct, 8)
    	if Result > 1
    		Return true
    	else
    		Return false
    }
    
    activeMonitorInfo( ByRef X, ByRef Y, ByRef Width,  ByRef  Height  )
    {
    	CoordMode, Mouse, Screen
    	MouseGetPos, mouseX , mouseY
    	SysGet, monCount, MonitorCount
    	Loop %monCount%
    		{ 	SysGet, curMon, Monitor, %a_index%
    			if ( mouseX >= curMonLeft and mouseX <= curMonRight and mouseY >= curMonTop and mouseY <= curMonBottom )
    				{
    				X      := curMonTop
    				y      := curMonLeft
    				Height := curMonBottom - curMonTop
    				Width  := curMonRight  - curMonLeft
    				return
    			}
    		}
    }

Page 10 of 10 FirstFirst ... 8910

Similar Threads

  1. [Outdated] Team Destroy CrossFire Europe TriggerBot V2 | All Resolutions!
    By berryh in forum CrossFire Europe Hacks
    Replies: 820
    Last Post: 11-11-2012, 04:44 AM
  2. [Outdated] Mailbox Retriever, all resolutions supported, color detection added
    By maddoggy00 in forum Vindictus Hacks & Cheats
    Replies: 12
    Last Post: 04-21-2012, 12:00 AM
  3. [Outdated] Mailbox Retriever, all resolutions supported
    By maddoggy00 in forum Vindictus Hacks & Cheats
    Replies: 11
    Last Post: 04-19-2012, 10:26 PM
  4. [Release] [27.12.2010]New Fast ijji Account Maker (faster)
    By TGH Zero. in forum Soldier Front Hacks
    Replies: 18
    Last Post: 01-15-2011, 02:52 PM
  5. [Preview] Fast Reload All Weapons, Faster ROF
    By heydiddledagain in forum CrossFire Mods & Rez Modding
    Replies: 13
    Last Post: 07-04-2010, 10:37 AM