Results 1 to 1 of 1
  1. #1
    asd_89
    asd_89 is offline
    Guest
    Join Date
    2013 Dec
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Counter-Striker edit memory address

    This is simple base memory hacking for Counter-Strike 1.6
    This is program edit value memory address.

    First we need include library:
    PHP Code:
    #include <iostream>
    #include <windows.h> 
    Next we need to find Windows name "Counter-Strike":
    PHP Code:
        HWND fenster NULL;
        while(
    fenster == NULL)
        {
        
    fenster FindWindow (NULLTEXT ("Counter-Strike"));
            
    Sleep(100);
        } 
    find protsesid by name prozoretsa:
    PHP Code:
        DWORD prozessid;
        
    GetWindowThreadProcessId(fenster, &prozessid); 
    Open process and change the values ​​of memory address:
    PHP Code:
        DWORD puffer NULL;
        
    int can 250;
        
    int cy=250,para=30000,mermi=900;

        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A17C78, &can, (DWORD)sizeof(can),NULL);//can // healt hack
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A19544, &cy, (DWORD)sizeof(cy),NULL);//celik yelek  // armour
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A1B9FC, &para, (DWORD)sizeof(para),NULL);//para  // money
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A16368, &mermi, (DWORD)sizeof(mermi),NULL);//mermi  // ammo 
    This is full code:
    PHP Code:
    #include <iostream>
    #include <windows.h>

    using namespace std;

    int main()
    {
        
    cout << "Test Hack" << endl << "Memory hacking" << endl;
        
    HWND fenster NULL;
        while(
    fenster == NULL)
        {
        
    fenster FindWindow (NULLTEXT ("Counter-Strike"));
            
    Sleep(100);
        }
        
    cout << "CS:S has been found!" << endl;

        
    DWORD prozessid;
        
    GetWindowThreadProcessId(fenster, &prozessid);

        
    HANDLE handleprozess;
        
    handleprozess OpenProcess(PROCESS_ALL_ACCESSFALSEprozessid);

        
    Sleep(3000);


        
    DWORD puffer NULL;
        
    int can 250;
        
    int cy=250,para=30000,mermi=900;

        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A17C78, &can, (DWORD)sizeof(can),NULL);//can // healt hack
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A19544, &cy, (DWORD)sizeof(cy),NULL);//celik yelek  // armour
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A1B9FC, &para, (DWORD)sizeof(para),NULL);//para  // money
        
    WriteProcessMemory(handleprozess, (LPVOID)0x01A16368, &mermi, (DWORD)sizeof(mermi),NULL);//mermi  // ammo

        
    CloseHandle(handleprozess); return 0;

    I hope I was helpful.

Similar Threads

  1. [Dev] Forsaken World Offsets, Base Address, Memory Structure
    By Dwar in forum Forsaken World Bots, Hacks, Cheats
    Replies: 18
    Last Post: 2014-01-25, 01:55 PM
  2. [Help] Finding Memory Address by value
    By ZorroY in forum VB, .NET Framework
    Replies: 1
    Last Post: 2013-06-18, 01:29 AM
  3. [Help] Edit aika in memory.
    By Pablison3m in forum Aika Bots, Hacks, Cheats
    Replies: 3
    Last Post: 2012-08-04, 04:13 PM
  4. 1 Dynamic address and 3 levels of pointers but no base address found?
    By UncleFester in forum General Game Research
    Replies: 1
    Last Post: 2012-06-11, 02:17 AM
  5. [Tutorial] Editing Skins - VTF Edit - CSS - Counter Strike Source.
    By GMX9 in forum Counter Strike
    Replies: 0
    Last Post: 2012-03-07, 03:06 PM
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •