Results 1 to 4 of 4
  1. #1
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,356
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused

    [Help]Ca closing by Deactivating Glass wall

    hay..
    My Ca is Closing when i want Deactivate the Glass wall hack...
    I can Activate it perfect but not deactivate then its shutting down...

    My source...

    Code:
    if(GetAsyncKeyState(VK_NUMPAD9)&1){
    if(wall){
    Sleep(200);
    {
    memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
    }
    wall = false;
    }else{
    Sleep(200);
    {
    memcpy((LPVOID)0x57206A, "\x6A\x00", 2);
    }
    wall = true;
    }
    }
    Thanks...

    PS: i added bool wall = false;
    Last edited by Zoom; 08-01-2010 at 11:31 PM.

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    /Added code tags.
    -Rest in peace leechers-

    Your PM box is 100% full.

  3. The Following User Says Thank You to Zoom For This Useful Post:

    Sydney (08-01-2010)

  4. #3
    Solify's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Frankfurt, Germany
    Posts
    2,291
    Reputation
    143
    Thanks
    2,477
    My Mood
    Aggressive
    shouldnt it be
    Code:
    bool memcpy( void * pDest, char * szPatch, size_t sSize ) { 
            DWORD dwOrgProtect = NULL; 
            if( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect )) 
            return FALSE; 
            memcpy( pDest, szPatch, sSize ); 
            VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
            return TRUE; 
            memcpy((LPVOID)GW, "\x6A\x01", 2);
            }
    Code:
    if(GetAsyncKeyState(VK_NUMPAD9)&1){
    if(wall){
    Sleep(200);
    memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
    wall = false;
    }else{
    Sleep(200);
    memcpy((LPVOID)0x57206A, "\x6A\x00", 2);
    wall = true;
    }
    }
    try that ...

  5. #4
    Sydney's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Germany...
    Posts
    1,356
    Reputation
    37
    Thanks
    1,144
    My Mood
    Amused
    Quote Originally Posted by Cristyboy View Post
    shouldnt it be
    Code:
    bool memcpy( void * pDest, char * szPatch, size_t sSize ) { 
            DWORD dwOrgProtect = NULL; 
            if( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect )) 
            return FALSE; 
            memcpy( pDest, szPatch, sSize ); 
            VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
            return TRUE; 
            memcpy((LPVOID)GW, "\x6A\x01", 2);
            }
    Code:
    if(GetAsyncKeyState(VK_NUMPAD9)&1){
    if(wall){
    Sleep(200);
    memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
    wall = false;
    }else{
    Sleep(200);
    memcpy((LPVOID)0x57206A, "\x6A\x00", 2);
    wall = true;
    }
    }
    try that ...
    Error:





    Thanks
    Last edited by Sydney; 08-02-2010 at 12:01 AM.

Similar Threads

  1. [Help]Ca closing by Deactivating Glass wall
    By Sydney in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 08-02-2010, 06:31 AM
  2. [Help] Glass Walls keep crashing cannot find a fix?
    By ®Jack in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-02-2010, 03:15 AM
  3. Could someone help please with glass wall
    By Night Sky in forum Visual Basic Programming
    Replies: 7
    Last Post: 10-27-2007, 02:44 AM
  4. glass wall coding [help]
    By pbguy145 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 10-09-2007, 07:52 AM
  5. Quick Question on Glass Walls
    By markfracasso11 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 10-01-2007, 09:29 AM