Results 1 to 14 of 14
  1. #1
    XarutoUsoCrack's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    CFAL Honra & Glória Server
    Posts
    1,087
    Reputation
    51
    Thanks
    2,543
    My Mood
    Relaxed

    Wink Weapon Hack HookBase

    #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
    // Windows Header Files:
    #include <windows.h>
    #include <windows.h>
    DWORD WINAPI Hacks(LPVOID)
    {
    bool weaponhack = false;
    bool weaponhack1 = false;
    bool weaponhack2 = false;
    bool weaponhack3 = false;
    bool weaponhack4 = false;

    while(1)
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + ))+25*4);
    DWORD* m12 = (DWORD*)((*(DWORD*)(CShell + ))+206*4); //m4 gold
    DWORD* wep = (DWORD*)((*(DWORD*)(CShell + ))+351*4); //M4 silver
    DWORD* wep1 = (DWORD*)((*(DWORD*)(CShell + ))+532*4); //M4 liberty
    DWORD* wep2 = (DWORD*)((*(DWORD*)(CShell + ))+121*4); //ak 47 scope
    {
    if(GetAsyncKeyState(VK_F1))
    { weaponhack2 = false;
    weaponhack1 = false;
    weaponhack = true;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack)
    {

    if ((m16 != NULL) && (m12 != NULL))
    *m16 = *m12;

    }
    {
    if(GetAsyncKeyState(VK_F2))
    { weaponhack = false;
    weaponhack2 = false;
    weaponhack1 = true;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack1)
    {
    if ((m16 != NULL) && (wep1 != NULL))
    *m16 = *wep1;

    }
    {

    if ((m16 != NULL) && (wep2 != NULL))
    *m16 = *wep2;

    if(GetAsyncKeyState(VK_F3))
    { weaponhack = false;
    weaponhack2 = true;
    weaponhack1 = false;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack2)
    {

    if ((m12 != NULL) && (wep2 != NULL))
    *m12 = *wep2;

    }
    }
    }





    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 )
    {
    //optional
    MessageBoxA(0, "Message Title","Message Board", 0);


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

    Legend
    = See In My New Updates Addys In Source Code Section.

    Credits
    @Code[VB]
    @giniyat101
    Last edited by XarutoUsoCrack; 11-17-2011 at 11:27 AM.

  2. The Following 2 Users Say Thank You to XarutoUsoCrack For This Useful Post:

    Dragon(H)ell (11-17-2011),pDevice (07-25-2012)

  3. #2
    CrossRaiders's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    1,586
    Reputation
    29
    Thanks
    1,214
    Thanks for sharing. Good for beginers and leechers to use however, you could of put the code in the code tags.

  4. #3
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    Fix Credit :

    @Code[VB]
    @giniyat101
    @Swiftdude // Base Function

  5. #4
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    Easy & Basic Way : -

    Code:
    DWORD wPM16 =  *(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*25));
    DWORD wPgoldenak = *(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*56)); 
    
    
    	{
                        for(int i=1 ; i<=9556 ; i++)
                        {
    						*(DWORD*)( wPM16 + i )		 = *(DWORD*)( wPgoldenak + i );
                        }
          }
    Credit : -
    Machida Log

  6. The Following 2 Users Say Thank You to BlackLite For This Useful Post:

    giniyat101 (11-18-2011),GunBoy120 (11-18-2011)

  7. #5
    Ghost Rider.'s Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    PickaMaterina
    Posts
    200
    Reputation
    22
    Thanks
    315
    My Mood
    Aggressive
    I have a easier way
    Download my injector N3Perx Injector

  8. #6
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281
    Quote Originally Posted by XarutoUsoCrack View Post
    #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers Again fail
    // Windows Header Files:
    #include <windows.h> FAIL!
    #include <windows.h>
    DWORD WINAPI Hacks(LPVOID)
    {
    FAIL
    bool weaponhack = false;
    bool weaponhack1 = false;
    bool weaponhack2 = false;
    bool weaponhack3 = false;
    bool weaponhack4 = false;
    END FAIL

    while(1)
    {
    DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
    FAIL
    DWORD* m16 = (DWORD*)((*(DWORD*)(CShell + ))+25*4);
    DWORD* m12 = (DWORD*)((*(DWORD*)(CShell + ))+206*4); //m4 gold
    DWORD* wep = (DWORD*)((*(DWORD*)(CShell + ))+351*4); //M4 silver
    DWORD* wep1 = (DWORD*)((*(DWORD*)(CShell + ))+532*4); //M4 liberty
    DWORD* wep2 = (DWORD*)((*(DWORD*)(CShell + ))+121*4); //ak 47 scope
    END FAIL
    {
    Haha, you don't know mutch about c++... Look at this code xD This is the very hard way xD
    if(GetAsyncKeyState(VK_F1))
    { weaponhack2 = false;
    weaponhack1 = false;
    weaponhack = true;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack)
    {

    if ((m16 != NULL) && (m12 != NULL))
    *m16 = *m12;

    }
    {
    if(GetAsyncKeyState(VK_F2))
    { weaponhack = false;
    weaponhack2 = false;
    weaponhack1 = true;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack1)
    {
    if ((m16 != NULL) && (wep1 != NULL))
    *m16 = *wep1;

    }
    {

    if ((m16 != NULL) && (wep2 != NULL))
    *m16 = *wep2;

    if(GetAsyncKeyState(VK_F3))
    { weaponhack = false;
    weaponhack2 = true;
    weaponhack1 = false;
    weaponhack3 = false;
    weaponhack4 = false;
    }
    }
    if(weaponhack2)
    {

    if ((m12 != NULL) && (wep2 != NULL))
    *m12 = *wep2;

    }
    }
    }
    fails ends here




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

    DWORD WINAPI Wait(LPVOID) LEECHER its from swiftdude
    {
    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 )
    {
    //optional
    MessageBoxA(0, "Message Title","Message Board", 0);


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

    Legend
    = See In My New Updates Addys In Source Code Section.

    Credits
    @Code[VB]
    @giniyat101
    Haha, a leecher who dumps some codes xD hahahahaha
    Sorry, But this is rubbish

    Edit:
    And why you don't use hex numbers for your guns? It is mutch easier.
    And why you don't make a logisch code?
    And why you want to freeze a value?
    And are you afraid of an array?
    Ant why you use a value to make thing on and off... If you disable them if you call a other "hack"?
    Its a small project, why do you use WIN32_LEAN_AND_MEAN?
    Why do you need to include #include <windows.h> 2 times?
    Why do you copy and past @Swiftdude s base.. And then add some other hacks?

    And there is more xD

    Btw, HERE IS THE HOOK??

    hahahahahahahahha
    Last edited by Brimir; 11-18-2011 at 12:24 AM.
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  9. #7
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by Brimir View Post
    Haha, a leecher who dumps some codes xD hahahahaha
    Sorry, But this is rubbish

    Edit:
    And why you don't use hex numbers for your guns? It is mutch easier.
    And why you don't make a logisch code?
    And why you want to freeze a value?
    And are you afraid of an array?
    Ant why you use a value to make thing on and off... If you disable them if you call a other "hack"?
    Its a small project, why do you use WIN32_LEAN_AND_MEAN?
    Why do you need to include #include <windows.h> 2 times?
    Why do you copy and past @Swiftdude s base.. And then add some other hacks?

    And there is more xD

    Btw, HERE IS THE HOOK??

    hahahahahahahahha
    really a fail...
    look at this part for example:
    Code:
    weaponhack = false;
    weaponhack2 = true;
    weaponhack1 = false;
    weaponhack3 = false;
    weaponhack4 = false;
    he could use something like that:
    Code:
    DWORD WeaponHack = 0;
    then use a switch to handle values 1..5


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  10. #8
    XarutoUsoCrack's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    CFAL Honra & Glória Server
    Posts
    1,087
    Reputation
    51
    Thanks
    2,543
    My Mood
    Relaxed
    this base it's not me. its from @Code[VB]
    It's already patched from 2 months...
    YOu Can Fix.I Don't Does nothing from this base i just c&p. i dont use weaponhack in my hacks i try but not work.
    i c&p , i give credits from SwiftDude

  11. #9
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281
    Quote Originally Posted by giniyat101 View Post
    really a fail...
    look at this part for example:
    Code:
    weaponhack = false;
    weaponhack2 = true;
    weaponhack1 = false;
    weaponhack3 = false;
    weaponhack4 = false;
    he could use something like that:
    Code:
    DWORD WeaponHack = 0;
    then use a switch to handle values 1..5
    Why not an array? Mutch easier. But in this case.. you can use indeed an unsigned int.
    It takes less memory. But why the hotkey's xD if you delete the hotkey's... Then it will be mutch beather.

    The hotkey's are a big "fail". You add them and with a other way you make them useless...
    Last edited by Brimir; 11-18-2011 at 09:24 AM.
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  12. #10
    Dragon(H)ell's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    703
    Reputation
    154
    Thanks
    4,819
    My Mood
    Angelic
    hmm and this code make knifes doesn't work (No one fall damage by them)

  13. #11
    NoJustice's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    I don't care about CF
    Posts
    2,878
    Reputation
    123
    Thanks
    1,752
    My Mood
    Bored
    If i go at this code 1 by 1 i will have written my paper for a doctorate

    Anyways why did you just copy something giniyat posted, give credits, do we need a duplicate thread? What more different! Ha you post him code in Swift base .

  14. The Following 2 Users Say Thank You to NoJustice For This Useful Post:

    Dragon(H)ell (11-18-2011),Ryuesi (11-18-2011)

  15. #12
    Ghost Rider.'s Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    PickaMaterina
    Posts
    200
    Reputation
    22
    Thanks
    315
    My Mood
    Aggressive
    Lecched
    Download my injector N3Perx Injector

  16. The Following User Says Thank You to Ghost Rider. For This Useful Post:

    Dragon(H)ell (11-18-2011)

  17. #13
    philippet's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    but where i put this codes ? sorry im a begginer ! thank you !

  18. #14
    heidkjan1's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Cheerful
    what should i insert for the smiley ?

Similar Threads

  1. I wanna make weapon hack but need help
    By allard123 in forum WarRock - International Hacks
    Replies: 13
    Last Post: 02-19-2007, 08:19 PM
  2. weapon hack?
    By MaskedFox in forum WarRock - International Hacks
    Replies: 0
    Last Post: 02-19-2007, 07:07 PM
  3. weapon hacks
    By pomchris69 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 07-09-2006, 10:17 PM
  4. Wpe weapons hack how?
    By xterminator in forum WarRock - International Hacks
    Replies: 9
    Last Post: 03-17-2006, 02:44 PM
  5. [Searching] Weapons Hack
    By OutZida in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-19-2006, 12:06 PM