Your address is out of date.Code:#define ADDR_S_BULLETS 0x374201ED
IM TRYING TO MAKE A SIMPLE HACK SUPER BULLETS HACK FOR COMBAT ARMS IM USING THIS CODE https://www.mpgh.net/forum/207-combat...mple-hack.html (ALL CREDITS TO flameswor10)can someome help me plz?HERES THE CODE ALL OF ITS FROM flameswor10 just differnt adress thats all!HERES THE CODE:#include <window.h>
int HackOn = 0;
bool test = false;
#define ADDR_S_BULLETS 0x37428EFD
void Main (void)
{
while(1)
{
if (GetAsyncKeyState(VK_NUMPAD1)&1)
{
test = (!test);
}
if (GetAsyncKeyState(VK_NUMPAD2)&1)
{
HackOn ++;
}
if (HackOn == HackMax)
}
if (test)
{
memcpy( (PBYTE)ADDR_S_BULLETS, (PBYTE) "\x33\xC0\x90", 3 );
}else{
memcpy( (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x0F\x94\xC0", 3 );
}
}
}
DWORD WINAPI Lesson (LPVOID)
Main();
return 1;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL);DWORD WINAPI Lesson (LPVOID)
}
return TRUE;
}
Your address is out of date.Code:#define ADDR_S_BULLETS 0x374201ED
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
matypatty (05-24-2012)
Using memcpy is detected by HackShield I belive.
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Just wrote this then, probs more elegant ways of doing it though :3
Code:void *memcpy_n(void *dest, void *src, size_t sz, DWORD flProtect = 0) { DWORD temp; DWORD *dwDest = (DWORD*)dest; DWORD *dwSrc = (DWORD*)src; if (flProtect > 0) VirtualProtect(dest, sz, flProtect, &temp); for(size_t i = 0; i < ((sz - ( sz % 4 )) >> 2); i++, dwDest++, dwSrc++) *dwDest = *dwSrc; if (sz & 2) *(WORD*)dwDest = *(WORD*)dwSrc; if (sz & 1) *((BYTE*)dwDest + (sz & 2)) = *((BYTE*)dwSrc + (sz & 2)); if (flProtect > 0) VirtualProtect(dest, sz, temp, &flProtect); return dest; } EDIT: Neatened the code after I looked at it for a while.
Last edited by Jason; 05-25-2012 at 04:30 AM.
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
[MPGH]Flengo (05-25-2012)
Wait, is that all the code O_O? You aren't even making the memcpy function, so how is it supposed to work.
Unless there is more.
If you're talking about @Jason's function, it works. Tested it in Combat Arms.
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)