Alvin-vince PH Hacks

Alvin-vince PH Hacks

Keywords

October 2017

MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar

Navigation

Affiliates

free forum

Top posting users this month

Affiliates

free forum

Affiliates

free forum


    Deleted Cshell => CF still working ?!

    Share
    avatar
    alvin-vince
    Admin

    Posts : 58
    Points : 163
    Reputation : 4
    Join date : 28/05/2011

    Deleted Cshell => CF still working ?!

    Post  alvin-vince on Sat Aug 25, 2012 11:11 am

    I fine some offset and addy in Schell and i wirite a base hack for me
    Only wall hack working (Beacause offset wall hack in cf.exe)
    I'm tried to delete Cshell file and CF still working fine.
    So where i can find the offset addy(object.dll, cf.exe, ...) ?

    Thanks for reading

    Code:


    #include <Windows.h>
    #include <fstream>
    #define WeaponMgr 0xAE8414//0xAE8414
    #define NoReload 0x26A4 // 0x2748//
    #define WeaponChangeDelay 0x26A8
    #define BasicPlayerInfo 0xA021F8
    #define Ammo 0x7FC //101374AB 8981 FC070000 MOV DWORD PTR DS:[ECX+7FC
    #define knives (i == 5 || i == 35 || i == 74 || i == 120 || i == 132 || i == 176 || i == 177 || i == 178 || i == 182 || i == 195 || i == 196 || i == 197 || i == 198 || i == 199 || i == 223 || i == 224 || i == 225 || i == 226 || i == 227 || i == 228 || i == 244 || i == 302 || i == 303 || i == 304 || i == 305 || i == 306 || i == 307 || i == 318 || i == 345 || i == 346 || i == 376 || i == 404 || i == 405 || i == 406 || i == 407 || i == 408 || i == 409 || i == 437 || i == 455 || i == 456 || i == 457 || i == 517 || i == 518 || i == 548 || i == 576)

    using namespace std;

    #define HookShell (DWORD)GetModuleHandleA("CShell.dll");

    void IfLuX ( void )
    {

    bool wallhack = 1;
    bool knifes = true;
    bool seeghost=1;
    bool ammo=true;
    bool noreload=true;
    //*(WORD*)(CShell+Offset_WeaponMgr-0x2) Total Weapon


    //DWORD CShell = HookShell;
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
    DWORD pBasicPlayerInfo = *(DWORD*)(CShell + BasicPlayerInfo);
    while(1)
    {




    if (wallhack==1)
    {

    memcpy((VOID*)0x6D067C, "\x00\x00\x00\x00\x00\x00", 6);
    }
    if(seeghost==1)
    {
    if(pBasicPlayerInfo){
    *(float*)(pBasicPlayerInfo+ 0x88) = 300.0f;
    *(float*)(pBasicPlayerInfo+ 0x8C) = 300.0f;
    *(float*)(pBasicPlayerInfo+ 0x90) = 300.0f;

    }
    }
    if(ammo)
    {
    if (pWeaponMgr)

    for(int i=0; i<670; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x7FC) = 990;
    }
    }
    if(noreload)
    {
    if (pWeaponMgr) // Look above if you dont remember what it is ;p
    {

    for(int i=0; i<670 ; i++) // Weapon Loop. 445 = the number of the weapons
    {

    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0x26A4) = 100; // 100 is the value for no reload
    }
    }
    }


    }

    }












    void Hook ( HINSTANCE hDLL )
    {
    DWORD CShell = HookShell;
    if (CShell==0)
    {
    IfLuX();
    }
    }
    BOOL WINAPI DllMain ( HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    if (dwReason == DLL_PROCESS_ATTACH)
    {
    MessageBoxA(0, "Loaded" ,"Injected", 0);
    DisableThreadLibraryCalls(hDll);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
    }
    return TRUE;
    }

      Current date/time is Sat Oct 21, 2017 8:33 pm