Dragon(H)ell (11-17-2011),pDevice (07-25-2012)
#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.
Dragon(H)ell (11-17-2011),pDevice (07-25-2012)
Thanks for sharing. Good for beginers and leechers to use however, you could of put the code in the code tags.
Fix Credit :
@Code[VB]
@giniyat101
@Swiftdude // Base Function
Easy & Basic Way : -
Credit : -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 ); } }
Machida Log
giniyat101 (11-18-2011),GunBoy120 (11-18-2011)
I have a easier way
Download my injector N3Perx Injector
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
[img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]
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
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
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 .
Dragon(H)ell (11-18-2011),Ryuesi (11-18-2011)
Lecched
Download my injector N3Perx Injector
Dragon(H)ell (11-18-2011)
but where i put this codes ? sorry im a begginer ! thank you !
what should i insert for the smiley ?