1 Star 1 Fork 0

lee / GTA名钻指纹门破解

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
GTA.ahk 4.80 KB
一键复制 编辑 原始数据 按行查看 历史
lee 提交于 2020-06-27 14:36 . 取消灵敏度修改
SetKeyDelay, 10 ;设置键击延时10ms
F1:: ;CEO状态穿甲
IfWinActive,Grand Theft Auto V
{
Send,{m down}
Sleep 10
Send,{m up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;物品栏
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Enter down} ;护甲
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Enter down} ; 穿
Sleep 10
Send,{Enter up}
Sleep 20
Send,{m down}
Sleep 10
Send,{m up}
}
return
F2:: ;CEO状态吃零食
IfWinActive,Grand Theft Auto V
{
Send,{m down}
Sleep 10
Send,{m up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;物品栏
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;零食
Sleep 10
Send,{Enter up}
}
return
F3:: ;普通状态穿甲
IfWinActive,Grand Theft Auto V
{
Send,{m down}
Sleep 10
Send,{m up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;物品栏
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Enter down} ;护甲
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Enter down} ; 护甲
Sleep 10
Send,{Enter up}
Sleep 20
Send,{m down}
Sleep 10
Send,{m up}
}
return
F4:: ;普通状态吃零食
IfWinActive,Grand Theft Auto V
{
Send,{m down}
Sleep 10
Send,{m up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;物品栏
Sleep 10
Send,{Enter up}
Sleep 100
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send,{Down down}
Sleep 10
Send,{Down up}
Sleep 20
Send {Enter down} ;零食
Sleep 10
Send,{Enter up}
}
return
F5:: ;卡下冷却
IfWinActive,Grand Theft Auto V
{
Send {Enter down}
Sleep 5
Send {s down}
Sleep 20
Send {Enter up}
Sleep 100
Send {s up}
}
return
F6:: ;卡上冷却
IfWinActive,Grand Theft Auto V
{
Send {Enter down}
Sleep 5
Send {w down}
Sleep 20
Send {Enter up}
Sleep 100
Send {w up}
}
return
F7:: ;卡末日二前置
IfWinActive,Grand Theft Auto V
{
Send {Space down}
Sleep 30
Send {d down}
Sleep 15
Send {Space up}
Sleep 100
Send {d up}
}
return
F8:: ;卡末日三前置
IfWinActive,Grand Theft Auto V
{
Send {Space down}
Sleep 30
Send {d down}
Send {s down}
Sleep 25
Send {Space up}
Sleep 100
Send {d up}
Send {s up}
}
return
F9:: ;摸指纹
IfWinActive,Grand Theft Auto V
{
GTA_Width :=1920
GTA_Height := 1080
CoordMode Pixel ; 将下面的坐标解释为相对于屏幕而不是活动窗口.
count := 0
grin := Object()
Loop 4
{
count++
ImageSearch, FoundX, FoundY, GTA_Width//2, 0, GTA_Width, GTA_Height, *20 fingerprint\%count%.png
if(ErrorLevel = 0){
Loop 4
{
ImageSearch, PicX, PicY, 460, 260, 755, 835, *50 fingerprint\%count%%A_Index%.png
if(ErrorLevel = 0){
Sindex := 1+(PicX-460)//147.5
Findex := 1+(PicY-260)//143.75
grin[Findex,Sindex]:=1
}
}
break
}
}
intear :=0
Loop 4
{
intear++
Loop 2
{
float_y := intear/1.0
float_x := A_Index/1.0
if(grin[float_y,float_x]=1){
Send,{Enter down} ; 选中
Sleep 10
Send,{Enter up}
Sleep 20
}
Send,{Right down}
Sleep 10
Send,{Right up}
Sleep 20
}
}
Send,{Tab down}
Sleep 10
Send,{Tab up}
Sleep 20
}
return
F10:: ;测试
IfWinActive,Grand Theft Auto V
{
MsgBox You have enabled the Key.
}
return
;RButton::
;Send,{RButton down}
;SPI_GETMOUSESPEED = 0x70
;SPI_SETMOUSESPEED = 0x71
;DllCall("SystemParametersInfo", UInt, SPI_GETMOUSESPEED, UInt, 0, UIntP, OrigMouseSpeed, UInt, 0) ; 获取鼠标当前的速度以便稍后恢复:
;DllCall("SystemParametersInfo", UInt, SPI_SETMOUSESPEED, UInt, 0, Ptr, OrigMouseSpeed//3, UInt, 0) ; 现在在倒数第三个参数中设置较低的速度 (范围为 1-20, 10 是默认值):
;KeyWait RButton ; 这里避免了由于键盘的重复特性导致再次执行 DllCall.
;Send,{RButton up}
;return
;RButton up::
;DllCall("SystemParametersInfo", UInt, 0x71, UInt, 0, Ptr, OrigMouseSpeed, UInt, 0) ; 恢复原来的速度.
;return
1
https://gitee.com/akjdsga/gtamingzuanzhiwenmenpojie.git
git@gitee.com:akjdsga/gtamingzuanzhiwenmenpojie.git
akjdsga
gtamingzuanzhiwenmenpojie
GTA名钻指纹门破解
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891