thanks man <3 !function WriteSignatures(targetSignature, overrideSignature, codePage)
local byteLine = overrideSignature:gsub("%w+", "0x%0,"):sub(1,-2)
local results = AOBScan(targetSignature, codePage)
if (results == nil) then return end
for i = 0, results.Count-1 do
local address = getAddress(results.getString(i))
local lineCode = 'writeBytes('..address..','.. byteLine..')'
loadstring(lineCode)()
end
results.destroy()
end
function recoilon()
local targetSignature = '54 73 6C 52 65 63 6F 69 6C 43 6F 6D 70 6F 6E 65 6E 74'
local overrideSignature = '91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91'
local codePage = '-X*C*W'
WriteSignatures(targetSignature, overrideSignature, codePage)
end
function recoiloff()
local targetSignature = '91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91'
local overrideSignature = '54 73 6C 52 65 63 6F 69 6C 43 6F 6D 70 6F 6E 65 6E 74'
local codePage = '-X*C*W'
WriteSignatures(targetSignature, overrideSignature, codePage)
end
createHotkey(recoilon, VK_INSERT)
createHotkey(recoiloff, VK_DELETE)
you can use that with cheat engine.function WriteSignatures(targetSignature, overrideSignature, codePage)
local byteLine = overrideSignature:gsub("%w+", "0x%0,"):sub(1,-2)
local results = AOBScan(targetSignature, codePage)
if (results == nil) then return end
for i = 0, results.Count-1 do
local address = getAddress(results.getString(i))
local lineCode = 'writeBytes('..address..','.. byteLine..')'
loadstring(lineCode)()
end
results.destroy()
end
function recoilon()
local targetSignature = '54 73 6C 52 65 63 6F 69 6C 43 6F 6D 70 6F 6E 65 6E 74'
local overrideSignature = '91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91'
local codePage = '-X*C*W'
WriteSignatures(targetSignature, overrideSignature, codePage)
end
function recoiloff()
local targetSignature = '91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91 91'
local overrideSignature = '54 73 6C 52 65 63 6F 69 6C 43 6F 6D 70 6F 6E 65 6E 74'
local codePage = '-X*C*W'
WriteSignatures(targetSignature, overrideSignature, codePage)
end
createHotkey(recoilon, VK_INSERT)
createHotkey(recoiloff, VK_DELETE)
this method still works, sometimes I useyou can use that with cheat engine.
this is not a macro! script removes recoil on all weaponsmacro download)))
#NoEnv
Suspend, On
SendMode Input
_auto := true
~LButton::autofire()
~Numlock::_auto := ! _auto
~MButton::
Suspend
ToolTip,% a_isSuspended?"Normal OFF":"Normal ON", 0, 900
return
autofire()
{
global _auto
if _auto
{
Loop
{
if GetKeyState("LButton", "P")
{
SendInput {LButton DownTemp}
Sleep 1
mouseXY(0, 20)
Sleep 1
SendInput {LButton Up}
Sleep 25
}
else
break
} ;; loop
} ;; if
} ;; autofire()
mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}