Thread: Code Help

Results 1 to 4 of 4
  1. #1
    jpjb5138's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    109
    Reputation
    10
    Thanks
    6
    My Mood
    Blah

    Code Help

    hello mpgh i work on a code but i get banned from the server

    help please

    credits :

    swiftdude , base

    me addys make it work ( fore 99%)

    don't use code fore you own

    //coded by: jpjb5138
    //and: tambre
    //for more hacks go to: mpgh.net

    #include <Windows.h>




    DWORD WINAPI Hacks(LPVOID)
    {
    bool Change = true,
    bool NoReload = true,
    bool SingleFire = false,
    bool GunRange = true;




    while(1);
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pLtClient = *(DWORD*)(CShell + 0xA2A7E8 );



    if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { SingleFire = true;Beep(550, 120); }
    if(GetAsyncKeyState(VK_F6) || GetAsyncKeyState(VK_F6) &1) { NoReload = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F7) || GetAsyncKeyState(VK_F7) &1) { Change = true; Beep(550, 120); }
    if(GetAsyncKeyState(VK_F8) || GetAsyncKeyState(VK_F8) &1) { GunRange = true; Beep(550, 120); }



    if(Change)
    {
    if (pLtClient)
    {
    for(int i=0; i<532; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0x2428 ))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x2428 ) = 0;
    }
    }
    }


    if(SingleFire)
    {
    if (pLtClient)
    {
    for(int i=0; i<532; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0xa38 ))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0xa38 ) = 100;
    }
    }
    }


    if(GunRange)
    {
    if (pLtClient)
    {
    for(int i=0; i<533; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0x7ec))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x7ec) = 99999;
    }
    }
    }




    if(NoReload)
    {
    if (pLtClient)
    {
    for(int i=0; i<533; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0x2424 ))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+pLtClient)) +(4*i))) + 0x2424 ) = 9999;
    }
    }
    }
    {
    }

    Sleep(100);
    }
    }

    bool Ready2Hook()
    {
    if(GetModuleHandleA("CShell.dll") != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
    return 0;
    }

    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);

    if ( dwReason == DLL_PROCESS_ATTACH )
    {




    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
    }
    return 1;
    }

    MY TEAM :



    To Do list :

    done : [] , not done : [], working one : []

    win kriss super v []
    win thommy gun []
    win ak knife []
    win 6 per guns from bl []
    get a galaxy s phone []
    make a private cf hack [ ]
    make a pub cf hack []
    get a new pc []

  2. #2
    dragonattak's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Italy,Rome.. Post:141732
    Posts
    704
    Reputation
    -19
    Thanks
    411
    My Mood
    Devilish
    Single fire value should be 1 i think O.O
    You didnt define LTClient or any addy...


  3. #3
    Royku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    G-Force.dll
    Posts
    3,015
    Reputation
    381
    Thanks
    3,308
    My Mood
    Devilish
    Dude man learn to code....
    No Change is 100..
    no Reload is 100..
    Single Fire is total wrong..


    Quote Originally Posted by dragonattak View Post
    Single fire value should be 1 i think O.O
    You didnt define LTClient or any addy...


    ye its 1 ... and it isnt Float..
    and he defined the addys in the Source but its wrong how he did it...
    Last edited by Royku; 08-02-2011 at 12:00 PM.

  4. #4
    dragonattak's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Italy,Rome.. Post:141732
    Posts
    704
    Reputation
    -19
    Thanks
    411
    My Mood
    Devilish
    Quote Originally Posted by royku View Post
    Dude man learn to code....
    No Change is 100..
    no Reload is 100..
    Single Fire is total wrong..




    ye its 1 ... and it isnt Float..
    and he defined the addys in the Source but its wrong how he did it...
    Yes but it a bad way to use, and he didnt define the LTClient

Similar Threads

  1. [Help Request] Need Code Help.
    By [CF]Hackers in forum CrossFire Help
    Replies: 10
    Last Post: 09-10-2011, 10:20 AM
  2. [Help Request] GSC coding help
    By Brabomclaren in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 06-12-2011, 03:05 AM
  3. glass wall coding [help]
    By pbguy145 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 10-09-2007, 07:52 AM
  4. Hack codes HELP
    By TheBlueMax in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-05-2007, 02:39 PM
  5. KWR Verification Code [HELP]!
    By Hispiforce in forum WarRock Korea Hacks
    Replies: 9
    Last Post: 06-09-2007, 09:25 PM