Quickscope Script

Posts 31–43 of 43 · Page 3 of 3
Quote Originally Posted by lukeanalbers View Post
Hmm.. Can you give the link of the autohotkey site?
Code:
http://www.autohotkey.com/download/
Quote Originally Posted by fofogogo23 View Post
Yeah is there any way to fix the issue while running/moving? When we use it while moving it throws our primary grenade. It's pretty annoying, otherwise great script. Also, @Akumos , post screenshots.
If you don't want it to throw a grenade when you click middle mouse just go to options>controls>actions>throw frag/use equipment and set it to G only instead of G/middle mouse click.

You also cannot aim while running at all, the game was made like that. You must stop running to aim.
By the way is there any way to use another hotkey instead of middle mouse click? My mouse is messed up and it's hard to click the middle mouse thingy, any way to change it to a key like F? I tried putting F instead of MouseClick,Middle in the script but it didn't work.
Quote Originally Posted by Yoopi View Post
By the way is there any way to use another hotkey instead of middle mouse click? My mouse is messed up and it's hard to click the middle mouse thingy, any way to change it to a key like F? I tried putting F instead of MouseClick,Middle in the script but it didn't work.
AutoHotKey website (List of Keys and Mouse/Joystick Buttons for Hotkeys and Macros) says to use "f" for F.
Cant get like Mouse4 or anything else to work >.< please help
Quote Originally Posted by Slipe View Post
Cant get like Mouse4 or anything else to work >.< please help
My Mouse 4 works when I use "Xbutton1"

Also I think the wait time may need to be adjusted. It's not very accurate for me. But I dunno, maybe I just suck.
So i tried to edit the script, now i get an error and the program wont start anymore. This is what i get


what can i do to make it work again
Code:
CrosshairAdjust = 11

Process, wait, iw5mp.exe, 0.1
NewPID = %ErrorLevel%  ; Save the value immediately since ErrorLevel is often changed.
if NewPID = 0
{
    Process, wait, iw4mp.dat, 0.1
    NewPID = %ErrorLevel%  ; Save the value immediately since ErrorLevel is often changed.
	if NewPID != 1
	{
	   MsgBox Could not find Modern Warfare 2!
	   ExitApp
	}
}
WinActivate, ahk_pid %NewPID%
WinGetPos,,,ModW, ModH, ahk_pid %NewPID%
NewX := (A_ScreenWidth / 2) - (ModW / 2)
NewY := (A_ScreenHeight / 2 - 11) - (ModH / 2)
WinMove, ahk_pid %NewPID%,, %NewX%, %NewY%
WinGetPos,,,ModW, ModH, ahk_pid %NewPID%

#SingleInstance force
#Persistent

OnExit, ExitRoutine
xpos := A_ScreenWidth/2
ypos := A_ScreenHeight/2
hDrwArea := DllCall("GetDC", "uint", Null)
SetTimer, SetPixel, 1


SetPixel:

; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 1, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 1, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 1, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 1, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 2, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 2, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 3, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 3, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 2, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 2, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 3, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 3, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 4, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 4, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 4, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 4, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 5, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 5, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 5, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 5, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 6, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 6, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 6, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 6, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 7, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 7, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 7, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 7, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 8, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 8, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 8, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 8, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 9, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 9, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 9, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 9, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos - 10, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos, "int", ypos + 10, "uint", 255, "uint", 0, "uint", 0)

DllCall("SetPixel", "uint", hDrwArea, "int", xpos - 10, "int", ypos, "uint", 255, "uint", 0, "uint", 0)
DllCall("SetPixel", "uint", hDrwArea, "int", xpos + 10, "int", ypos, "uint", 255, "uint", 0, "uint", 0)

Return

ExitRoutine:
DllCall("ReleaseDC", UInt, 0, UInt, hDrwArea)
DllCall("FreeLibrary", "UInt", hDrwArea)
ExitApp

~NumLock::Suspend, toggle

$Mbutton::
{    
	GetKeyState, state, Mbutton, T
	if state = D
	{
		send {LAlt Down}
		send {LShift Down}
		sleep 275
		MouseClick,left
		send {LAlt Up}
		send {LAlt Down}
		send {LAlt Up}
		send {LShift Up}
	}
	else
    {
		MouseClick,middle
    }
}
this is the one from mw2 changed to work with mw3..with xhair plus I think everything under 270ms doesn't register or work or whatever...but 275 seems to be ok with sleight of hand and quickdraw for both msr and barret..I didn't write it just changed timing and the exe !

oh yeah mw3 needs to be windowed for the xhair to work!
How to do this thx help me
Code:
F1::suspend
return

$Rbutton::
{
GetKeyState, state, Rbutton, T
if state = D
{
send {RButton Down}
sleep 244
MouseClick,left
send {RButton Up}
}
else
{
send {RButton Down}
sleep 252
MouseClick,left
send {RButton Up}
}
}
right mouse to qs, fixed the run glitch
How can i download from this webside. i cant find the download button, Help me please (-:
Like this :

F1::suspend
return

$XButton1::
{
GetKeyState, state, XButton1, T
if state = D
{
send {RButton Down}
send {~LShift}
sleep 245
MouseClick,left
send {RButton Up}
send {RButton Down}
send {RButton Up}
}
else
{
send {RButton Down}
send {~LShift}
sleep 275
MouseClick,left
send {RButton Up}
send {RButton Down}
send {RButton Up}
}
}

---------- Post added at 11:23 AM ---------- Previous post was at 11:18 AM ----------

Quote Originally Posted by Progoldenfighter View Post
How can i download from this webside. i cant find the download button, Help me please (-:
autohotkey dot com
Or Google it. Autohotkey it will be probably the first website
Posts 31–43 of 43 · Page 3 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us