WinkWeapon Hack HookBase

Posts 1–14 of 14 · Page 1 of 1
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
Thanks for sharing. Good for beginers and leechers to use however, you could of put the code in the code tags.
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
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
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
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...
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
hmm and this code make knifes doesn't work (No one fall damage by them)
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 .
but where i put this codes ? sorry im a begginer ! thank you !
what should i insert for the smiley ?
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us