by
Lix
I noticed some one posted something about some Anti-Recoil program being detected and well I am going to show you all how easy it is to make your own.
This is all you need to do to make a program that compensates for the recoil 'errection' pulling the crosshair down at the same rate it's being pulled up at.
This code is written in C++.
Code:
#include <windows.h>
#include <iostream.h>
#define VK_OEM_PLUS 0xBB
#define VK_OEM_MINUS 0xBD
#define VK_OEM_4 0xDB
#define VK_OEM_6 0xDD
static int time_effector = 1;
static int pixel_effector = 0;
int main()
{
cout << "ANTIRECOIL by LiX";
while(1)
{
Sleep(time_effector);
if(GetAsyncKeyState(VK_LBUTTON)&0x8000)
{
POINT pos;
GetCursorPos(&pos);
SetCursorPos(pos.x, pos.y-pixel_effector);
}
if(GetAsyncKeyState(VK_OEM_PLUS)&1){time_effector++;}
if(GetAsyncKeyState(VK_OEM_MINUS)&1){time_effector--;}
if(GetAsyncKeyState(VK_OEM_4)&1){pixel_effector++;}
if(GetAsyncKeyState(VK_OEM_6)&1){pixel_effector--;}
if(GetAsyncKeyState(VK_DELETE)&1){ExitProcess(0);}
}
}
That's it.
Hotkeys:
"+" increases the ammount of pixels to pull the mouse down by on the loop when leftmouse button is pressed.
"-" decreases the ammount of pixels to pull the mouse down by on the loop when leftmouse button is pressed.
"]" increase the speed of the loop (in milliseconds).
"[" decrease the speed of the loop (in milliseconds).
"DEL" will exit the program.
With that you can perfectly calculate the anti-recoil. Obvously you might want to make some preset's in the code to set the perfect anti-recoil for each weapon at the touch of the button.
If you use this code thats okay, it would be nice if you linked to
http://www.valvesoftware.co.uk and thanked me if you do decide to use this code.
Thanks,
LiX