CS最强物理外挂(鼠标宏命令、不封号)

CS最强物理外挂(鼠标宏命令、不封号)

注意:是物理辅助外挂,仅供学习使用,无不良引导,且版权所有违者必究。

本外挂原理:

本外挂物理上控制鼠标和键盘,属于宏命令。实现CS游戏上:AK自动压枪、自动急停、连发、鬼跳。

操作很简单,共分为两个步骤:

第一步:下载AutoHotkey工具,用于控制鼠标实现压枪等操作。
https://www.autohotkey.com/

下载完AutoHotkey后,新建AHK文件,并导入本人编辑好的文件内容,如下:

鬼跳 (按F7游戏内开启和关闭):
;Improved Bhop by enHanced+
;Press F11 to toggle
;End key to close the application
;This NEVER will be detected by VAC

ScriptActive = 1
~F7::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return

Hotkey, *~$Space, Toggle

End::
ExitApp

*~$Space::
If ScriptActive = 1
{Sleep 5
Loop
{
GetKeyState, SpaceState, Space, P
If SpaceState = U
break
Sleep 1
Send, {Blind}{Space}
}}
Return

急停、预瞄 (按F8游戏内开启和关闭):
ScriptActive = 1

~*w up::
If ScriptActive = 1
{
if(GetKeyState("s","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {s down}
While (!GetKeyState("s","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("s","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {s up}
}
return

~*a up::
If ScriptActive = 1
{
if(GetKeyState("d","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {d down}
While (!GetKeyState("d","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("d","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {d up}
}
return

~*d up::
If ScriptActive = 1
{
if(GetKeyState("a","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {a down}
While (!GetKeyState("a","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("a","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {a up}
}
return

~*s up::
If ScriptActive = 1
{
if(GetKeyState("w","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {w down}
While (!GetKeyState("w","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("w","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {w up}
}
return


~F8::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return



AK压枪 (按F9游戏内开启和关闭):
;;"static" vars;;
ScriptActive = 1
static_multiplier := -0.8
ak47_magSize := 30
ak47_rpm := 600
ak47_sleepRate := 1000/(600/60)
ak47_pattern :="0,0;0,-80;0,-80;0,-80;-40,-80;-20,-80;-40,-80;20,-60;120,0;120,0;30,-11;50,-7;70,-8;-55,-5;-55,-3;-55,-2;-55,-8;-55,-10;-55,-10;-55,20;10,-5;10,3;10,-5;10,-8;10,-8;10,-3;10,-5;10,5;10,13;10,17;"
stringsplit,ak,ak47_pattern,`;
return

;; 开关设置 ;;
~F9::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return

RemoveToolTip:
    ToolTip
return

;; 核心逻辑 ;;
~LButton::  ; ~ 符号至关重要,它保证了左键点击信号能传给游戏
    if (ScriptActive = 0)
        return

    ; 给游戏一个极短的延迟(5-10ms),确保“开火”指令先被游戏接收
    Sleep, 10 

    Loop, %ak47_magSize%
    {
        ; 检查左键是否松开,松开则停止
        if !GetKeyState("LButton", "P")
            break

        ; 获取当前子弹的偏移
        tempholder := ak%A_Index%
        StringSplit, temp, tempHolder, `,
        
        ; 计算偏移量
        moveX := temp1 * static_multiplier
        moveY := temp2 * static_multiplier
        
        ; 执行移动
        DllCall("mouse_event", "UInt", 0x01, "UInt", moveX, "UInt", moveY, "UInt", 0, "UInt", 0)
        
        ; 等待下一发子弹的时间
        Sleep, %ak47_sleepRate%
    }
return

]::tooltip % (static_multiplier+=0.05)
[::tooltip % (static_multiplier-=0.05)

连发 (按F6游戏内开启和关闭):
#NoEnv
#SingleInstance force
SendMode Input

ScriptActive = 1

FixAmount = 0.7


RecoilFix(amount)
{
DllCall("mouse_event",uint,1,int,x,int,amount,uint ,0,int,0)
}


IfWinActive, Call of Duty 4
{
~Lbutton::
If ScriptActive = 1
{
RecoilFix(FixAmount)
Loop
{
GetKeyState, state, Lbutton, P
if state=U
break
Sendinput {Click down}
Sleep 1
Sendinput {Click up}
Sleep 1
RecoilFix(FixAmount)
}
}
return


;Pauses AutoHotKey Script.

~F6::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}
else if ScriptActive = 0
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return


~NumpadAdd::
~++FixAmount
SoundBeep, 700, 100
SoundBeep, 700, 100
clipboard = %FixAmount%
return


~NumpadSub::
~--FixAmount
SoundBeep, 700, 100
clipboard = %FixAmount%
return

~NumpadDiv::
FixAmount-=0.1
SoundBeep, 600, 100
clipboard = %FixAmount%
return

~NumpadMult::
FixAmount+=0.1
SoundBeep, 600, 100
SoundBeep, 600, 100
clipboard = %FixAmount%
return
}

;M9 = FixAmount 1
;G3 = FixAmount 0.700000
编辑于 2026-04-04 · 著作权归作者所有