unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Counter Strike

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 09-25-2007, 06:31 PM
t10101 t10101 is offline
Junior Member
 
Join Date: Sep 2007
Posts: 21
Default [CSS][C++] Anti-Recoil dosent need to be detected

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
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
antirecoil, cssc, detected, dosent

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:44 PM.