Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool

    Talking My second try to make CF hack

    hi dudes where i am wrong :

    #include<windows.h>

    #define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))


    #define WeaponMgr 0xA2A7E8
    #define NoReload 0x2424
    #define WeaponDamage 0x0754
    #define NochangeDelay 0x2428

    float Hithard = 999.0f;
    float FragDmg = 0.0f;

    char Msg[] = {'M','a','d','e',' ','B','y',' ','k','m','a','n','e','v','0','7','3',0 };
    char Title[] = {'I','n','j','e','c','t','e','d',' ','!',0 };

    DWORD WINAPI Hacks(LPVOID)
    {
    bool reload = false,
    fragdmg = false,
    change = false;

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

    //hotkeys toggle + beep sounds
    if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_F9) &1) { reload = true; Beep(512, 100); }
    if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_F10) &1) { fragdmg = true; Beep(512, 100); }
    if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_F11) &1) { change = true; Beep(512, 100); }

    if(reload)
    {
    if (p0xA2A7E8)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + NoReload) = 100;
    }
    }
    }

    if(fragdmg)
    {
    if (p0xA2A7E8)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL && (grenades))
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x0754) = 0;
    }
    }
    }

    if(change)
    {
    if (p0xA2A7E8)
    {
    for(int i=0; i<445; i++)
    {
    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2428) = 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 )
    {

    MessageBoxA(0, "Made by kmanev073","Injected !", 0);
    system("start https://www.mpgh.net");

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

    the error this time is only one :e:\my documents\visual studio 2010\projects\ko4ex hack\ko4ex hack\dllmain.cpp(100): fatal error C1075: end of file found before the left brace '{' at 'e:\my documents\visual studio 2010\projects\ko4ex hack\ko4ex hack\dllmain.cpp(88)' was matched


    HELP PLS

    yea i have leached a little bit ...

  2. #2
    Snoopys's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    69
    Reputation
    8
    Thanks
    49
    My Mood
    Hot
    Please stop Leetch SwifDude Base
    I selling that:

  3. #3
    HLBOT's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    HCM City
    Posts
    533
    Reputation
    36
    Thanks
    1,355
    My Mood
    Amazed
    Code:
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
       }
            return 1;
       } // <~~ add below
    I dont have C++, but may add it. If still error add double }}
    It's finally Over!

  4. The Following User Says Thank You to HLBOT For This Useful Post:

    kmanev073 (07-27-2011)

  5. #4
    Ryuesi's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Right here.
    Posts
    7,339
    Reputation
    413
    Thanks
    2,397
    My Mood
    Relaxed
    Problem Is You Are Leecher





    Contributor Since 24-11-2011 ~ 26-12-2011
    VM / PM




  6. #5
    Never take life seriously. Nobody gets out alive anyway.
    MPGH Member
    Jigsaw's Bitch's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    1,333
    Reputation
    107
    Thanks
    71
    My Mood
    Bitchy
    Yes ! He leech. But you know what ? He can do it. Are you able to do it ?
    Jigsaw's Bitch since 2011-10-09.

  7. #6
    nonameav's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    22
    At at the end of the file a }

    omg xD

    Code:
    #include<windows.h>
    
    #define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))
    
    
    #define WeaponMgr       0xA2A7E8
    #define NoReload        0x2424
    #define WeaponDamage    0x0754
    #define NochangeDelay   0x2428
    
    float Hithard = 999.0f;
    float FragDmg = 0.0f;
    
    char Msg[] = {'M','a','d','e',' ','B','y',' ','k','m','a','n','e','v','0','7','3',0 };
    char Title[] = {'I','n','j','e','c','t','e','d',' ','!',0 };
    
    DWORD WINAPI Hacks(LPVOID)
    {
    	bool reload = false,
    		fragdmg = false,
    		change = false;
    
    	while(1)
    	{
    		DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
    		DWORD p0xA2A7E8 = *(DWORD*)(CShell + 0xA2A7E8);
    
    		//hotkeys toggle + beep sounds
    		if(GetAsyncKeyState(VK_F9)  || GetAsyncKeyState(VK_F9) &1) { reload = true; Beep(512, 100); }
    		if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_F10) &1) { fragdmg = true; Beep(512, 100); }
    		if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_F11) &1) { change = true; Beep(512, 100); }
    
    		if(reload)
    		{
    			if (p0xA2A7E8)
    			{
    				for(int i=0; i<445; i++)
    				{
    					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
    						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + NoReload) = 100;
    				}
    			}
    		}
    
    		if(fragdmg)
    		{
    			if (p0xA2A7E8)
    			{
    				for(int i=0; i<445; i++)
    				{
    					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL && (grenades))
    						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x0754) = 0;
    				}
    			}
    		}
    
    		if(change)
    		{
    			if (p0xA2A7E8)
    			{
    				for(int i=0; i<445; i++)
    				{
    					if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
    						*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x2428) = 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 )
    	{
    
    		MessageBoxA(0, "Made by kmanev073","Injected !", 0);
    		system("start https://www.mpgh.net");
    
    		CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    	}
    	return 1;
    }
    I did't look at the rest, but you can compile it with out errors.
    Last edited by nonameav; 07-27-2011 at 09:42 AM.

  8. The Following User Says Thank You to nonameav For This Useful Post:

    kmanev073 (07-27-2011)

  9. #7
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    ty all i will press it

    yessssssss yesssssssssss my second hack i havent made hack from Push to console laway toutorial
    Last edited by kmanev073; 07-27-2011 at 11:50 AM.

  10. #8
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive
    your ammodmg is still wrong. 0x07F8
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  11. The Following User Says Thank You to JusCaus For This Useful Post:

    kmanev073 (07-27-2011)

  12. #9
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    ok
    ty i will press it

  13. #10
    Royku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    G-Force.dll
    Posts
    3,015
    Reputation
    381
    Thanks
    3,308
    My Mood
    Devilish
    Nice leeched from SwiftDude Dont help this guy lol

  14. #11
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    i have copiled it you can close the tread now it leached but i have added some things

  15. #12
    Royku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    G-Force.dll
    Posts
    3,015
    Reputation
    381
    Thanks
    3,308
    My Mood
    Devilish
    Quote Originally Posted by kmanev073 View Post
    i have copiled it you can close the tread now it leached but i have added some things

    pleas tell me what you added?

  16. #13
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    i have added the addys i ahve found them but Ammo damage was there and i leve it thanks to JusCaus now my addys are correct

    and also i have changed the hotkeys

  17. #14
    Code[VB]'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    CODER
    Posts
    608
    Reputation
    11
    Thanks
    702
    My Mood
    Bitchy
    lol 100% leech! Hope that MPGH make the Rule (Bann leecher 4 ever!)

    hatte leechers!!!!!!!

    ps. Look at your Full leech code on float and the *
    Last edited by Code[VB]; 07-28-2011 at 12:50 AM.

  18. #15
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    xD yea its leeched from toutorial how i can know that the creator of toutorial is leecher becouse him now you call me leecher ok i agree you are mad becouse you cant leech like me :P

Page 1 of 2 12 LastLast

Similar Threads

  1. Hack are Buggy ? Probleme with the Second try.
    By killerld in forum WarRock Discussions
    Replies: 1
    Last Post: 09-14-2009, 02:28 PM
  2. hey ima try to make a god mode hack!
    By Hagerad in forum Combat Arms Discussions
    Replies: 13
    Last Post: 09-07-2009, 07:34 AM
  3. Who is trying to make hacks?
    By MrParo in forum Combat Arms Hacks & Cheats
    Replies: 36
    Last Post: 08-14-2009, 03:13 PM
  4. trying to make a hack in vb08
    By Botter1993 in forum Visual Basic Programming
    Replies: 4
    Last Post: 03-22-2009, 01:33 PM
  5. trying to make a hack in vb8
    By Botter1993 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 03-22-2009, 03:15 AM