Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rav3n

Pages: [1] 2 3 4 5 6 ... 28
Whats the betting that video was made in a woods near hackney...

Off Topic / Re: Hello to all
« on: October 08, 2011, 07:34:39 pm »

Jumped back on VC again the other day and realised i didnt have any hacks, came back here and grabbed some and it made the game extremely fun and pissed off everyone in the process.  :icon_thumbsup

Hello all,

@Medic - you crack me up mate good to see your still active  :icon_thumbsup
nice allways wanted one of these , where do i save it to?

@[TKC]Symantic - Thanks mate, its really OLD but does the job.

Posted this OLD code so people can actually make a hack rather than just asking for them.

Its OLD code so of course it can be improved, but for anyone wanting to just make a hack with their memory findings this will do it.

Any questions, just post back.

This is simple C++ code to make an application that can manipulate memory in any program / game, works with all versions of windows.

Simply copy and paste into a new C++ main.c file, build your Form and your good to go.

Code: [Select]
#include <windows.h>
#include <tlhelp32.h>
#include "resource.h"

#pragma comment(linker,"/FILEALIGN:512 /MERGE:.rdata=.text / /SECTION:.text,EWR /IGNORE:4078")
BOOL GameRunning;

/** Start of Declarations here **/
BOOL GetProcessList( );

// Below is the about text that is shown when "About" button is clicked

char *about   =
"C++ Memory Changer /n"
"Vietcong Hud on/off"
"Thanks to Medic and Subsky";

char *gameWindow = "vietcong.exe"; // exe name here
DWORD pid; HWND hwndWindow; DWORD bytes; HANDLE hand = NULL;

HANDLE pFile; //Used for logging address to file (not implimented in this build)

//below you will list the BOOLs for function toggles
BOOL IsHack1On,FirstTime1;
BOOL dlgReadSuccess = FALSE;

////Global Variables

Modapp on Code
BYTE Hud[1] = {0x92};
// add more below here

Modapp off Code
BYTE original_code[1] = {0x96};
// Dont forget to add the original code to turn it off


/** End of Declarations here **/

void aboutButton(HWND hwnd)

void Initialize(HWND hwnd,WPARAM wParam, LPARAM lParam) {
         GetWindowThreadProcessId(hwndWindow, &pid);
hand = OpenProcess(PROCESS_ALL_ACCESS,0,pid);
SetTimer(hwnd, 1, 200, NULL); //Timer speed is 200ms, you can change it here
{ //Error message for when game not found in process list
MessageBox(NULL, "Vietcong not detected. Please run the game before running the trainer", "Error", MB_OK + MB_ICONWARNING);

FirstTime1=TRUE; //This is the true / false flag for "is this the first time the trainers read the game code

         GetWindowThreadProcessId(hwndWindow, &pid);
hand = OpenProcess(PROCESS_ALL_ACCESS,0,pid);
SetTimer(hwnd, 1, 200, NULL); //Timer speed is 200ms, you can change it here
{ //Error message for when game not found in process list
MessageBox(NULL, "Vietcong not detected, please run the game before running the trainer", "Error", MB_OK + MB_ICONWARNING);

void HookExe() //This function ensures we are attatched to the game at all times

    GetProcessList( );
    GetWindowThreadProcessId(hwndWindow, &pid);
hand = OpenProcess(PROCESS_ALL_ACCESS,0,pid);


/*----- Here comes the good stuff -----*/

void timerCall() //functions in here run according to timer above
//char name = (); //this is our buffer to catch the current value
//int bytes = 0; //used temporarily for Read/WriteProcessMemory functions
//int prevAccessProtection = 0; //used temporarily for VirtualProtectEx function
HookExe(); //Call to function above (game always attatched)

/////ReadProcMem arrays are used to read and store original code so we
/////toggle the code on and off

if(FirstTime1==TRUE) //checks to see if this is the first time its run, if it is continue

ReadProcessMemory(hand, (void*) 0xEB0F44 , &original_code, 1, &bytes); // reads the bytes at address 0xEB0F44 and stores them
// What we are doing here is reading 3 bytes of the games code for VC Hud and storing them in a variable called "original_code"
// The number in sqaure brackets is the number of bytes, this has to match the number after our variable
// "original_code" in the ReadProcessMemory line.

// You can add more addresses in, just be sure to have unique varible names and specify the right number of bytes.

/////Start Hotkey Functions Below

/* --Vietcong HUD on/off Example Function-- --------------------------------------- */

if(GetAsyncKeyState(VK_NUMPAD1)) // User Pressed the NumPad1 to switch on HUD
if(IsHack1On==FALSE) //if this modapp is not on do this........

WriteProcessMemory(hand, (void*)0xEB0F44, &Hud,1, &bytes);  //Change the memory to activate the Modapp

IsHack1On=TRUE; //Sets our "Is On" flag to "on"
else // .... do this

WriteProcessMemory(hand, (void*)0xEB0F44, &original_code,1, &bytes); // Write the original code into memory

IsHack1On=FALSE; //Sets our "Is On" flag to "off"

/// Copy and paste the above function and change the variables to add another modapp


//The function above will toggle between hack on and hack off status. For a list of virtual keys please visit:
/* --Example Function --END------------------------------------ */

/** End **/


BOOL GetProcessList( )
  HANDLE hProcessSnap;
  HANDLE hProcess;
  DWORD dwPriorityClass;
  int PidTest;
  // Take a snapshot of all processes in the system.
  hProcessSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
  if( hProcessSnap == INVALID_HANDLE_VALUE ) return( FALSE );

  // Set the size of the structure before using it.
  pe32.dwSize = sizeof( PROCESSENTRY32 );

  // Retrieve information about the first process,
  // and exit if unsuccessful
  if( !Process32First( hProcessSnap, &pe32 ) )
    CloseHandle( hProcessSnap );     // Must clean up the snapshot object!
    return( FALSE );

  // Now walk the snapshot of processes, and
  // display information about each process in turn
    // Retrieve the priority class.
    dwPriorityClass = 0;
    hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, pe32.th32ProcessID );
    if( hProcess != NULL )
      dwPriorityClass = GetPriorityClass( hProcess );
      if( !dwPriorityClass )
      CloseHandle( hProcess );

    PidTest=strcmp(gameWindow, pe32.szExeFile);
if(PidTest==0){ pid=pe32.th32ProcessID; GameRunning=TRUE;}

  } while( Process32Next( hProcessSnap, &pe32 ) );

  // Don't forget to clean up the snapshot object!
  CloseHandle( hProcessSnap );
  return( TRUE );

BOOL CALLBACK DialogProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)

    switch (message)
return TRUE;

switch (LOWORD(wParam))
return TRUE;

case IDC_EXIT:
EndDialog (hwnd, 0);
return TRUE;
return TRUE;

return TRUE;

case WM_CLOSE:
return TRUE;
case WM_TIMER:
return TRUE;
    return FALSE;

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )

return 0;

Enjoy  :icon_thumbsup

General Modding & Programming / Other Games / Re: BF3 mod-apped
« on: October 06, 2011, 01:41:34 am »
ROFL   Thats why mod-apps exist because people want to push the boundarys and test their own skills.

It cant be stopped!!

Off Topic / Re: hot hot hot
« on: October 05, 2011, 03:37:17 pm »
Ooooh yeah loving this weather  :icon_thumbsup

Vietcong 1 & 2 / Re: help
« on: October 01, 2011, 08:41:18 pm »
NOP the value at this address to disable gun raise:

Code: [Select]
This is the original value so you can turn it back on again:

Code: [Select]
GAM_MP_InetStats_Init+446DA - 89 9E C00A0000  - mov [esi+00000AC0],ebx
Hope that helps.

Random Insanity Board / Re: FREE HACKS!!
« on: October 15, 2009, 10:24:02 pm »
I dont remember starting this thread........

LMAO at Rav3ns hack = kick ass...  they are shit

Random Insanity Board / MrMedics Land Rover
« on: October 15, 2009, 10:17:00 pm »
Ok, so im on my way home from work when suddenly this Land rover pulls out in front of me, i think ah fuck but then........

I see the number plate ....

(i know the pic is shit but you try and take a photo of a car doing 70+ with a 3megapixel camera phone while dodging headshots)

OMG its Medic!

I dropped back about 10 car lengths...

Random Insanity Board / Re: test
« on: October 03, 2009, 08:10:31 pm »
      |/      |
      |       o
      |      /|\
      |       /\

owned ! lol


Random Insanity Board / Re: lol Rav3n
« on: October 03, 2009, 08:09:12 pm »
Arrrrrrrrrgh... shit hot!

Ill have to redo mine now then,  :icon_laugh

Armed Assault 2 / Re: ArmA2 lowest price (FREE)
« on: July 07, 2009, 01:58:08 am »
Get a Rapidshare account and Pm me for a site to get some links.

Random Insanity Board / FREE HACKS!!
« on: July 07, 2009, 01:57:05 am »

Yeah right, just want to see how many people actually click this.

Random Insanity Board / Re: [SURVEY] What do you think about This ...
« on: July 01, 2009, 01:23:39 am »
Well.... LOL its obvious.

                  .: I :.

Because im evil. :icon_devil

Medic, you have contributed so much to the game hacking community, you deserve more recognition.

If you download the above file please say thankyou, it takes time and effort to create these hacks.

Thankyou MrMedic for another excellent release.

Pages: [1] 2 3 4 5 6 ... 28