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 12-24-2006, 07:59 AM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default Adding A VAC Checker

By KenshinAMV

Adding A VAC Checker

You must have the source code of the hook to do this...

1) Open up client.cpp and scroll down to the very bottom

2) Just above where it says "DWORD* slots = (DWORD*)0x01EB34C0;" in most source codes copy/paste this in

Code:
//----------vac check-----------
bool CheckVac()
{
unsigned char *vac = (unsigned char*)0x01701000;
if(vac[0] != NULL)
{
gConsole.echo("&rVAC Is Enabled On This Server");
return true;
}
else
gConsole.echo("&rVAC Is Not Enabled On This Server");
return false;
}
//----------end vac check--------
What this does is, when you go into a game and open the console, it will either say

VAC Is Not Enabled On This Server
Or
VAC Is Enabled On This Server

and yes, the VAC offset is 0x01701000

Credits:
LTFX Guy for the code
Ken (me) for adding the "Not enabled part" and writing this simple tutorial :P
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
adding, checker, vac

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 08:19 AM.