This game is called BlackShot and runs on GameGuard AC system.
The hack I'm trying to make is weapon hack, before this, my friend gave me the pointer before, but I want to try to find it myself, any of you can give any suggestions?
Code before:
Code: Select all
#include <Windows.h>
int WEAP = 0x00A32FDC;
VOID WINAPIV VIP(LPVOID)
{
while (1)
{
if (GetAsyncKeyState(VK_F7))
{
*(BYTE*)0x0054642B = 0xFF;
*(BYTE*)0x0054642C = 0x75;
{
while (1)
{
if (GetAsyncKeyState(VK_F8))
{
*(BYTE*)0x0054642B = 0x00;
*(BYTE*)0x0054642C = 0x74;
{
while (1)
{
if (GetAsyncKeyState(VK_F9))
{
*(DWORD*)(*(DWORD*)WEAP + 0x33EC8) = 274;//HK416
*(DWORD*)(*(DWORD*)WEAP + 0x38FE8) = 277;//MP5
*(DWORD*)(*(DWORD*)WEAP + 0x38908) = 362;//SSG82
*(DWORD*)(*(DWORD*)WEAP + 0x349C8) = 363;//Knife
*(DWORD*)(*(DWORD*)WEAP + 0x6AC08) = 275;//M870
*(DWORD*)(*(DWORD*)WEAP + 0x35BA8) = 280;//Frag Grenade
*(DWORD*)(*(DWORD*)WEAP + 0x35FC8) = 309;//AK47
*(DWORD*)(*(DWORD*)WEAP + 0x3EAA8) = 261;//UZI
*(DWORD*)(*(DWORD*)WEAP + 0x50748) = 356;//M4 Super 90
*(DWORD*)(*(DWORD*)WEAP + 0x37728) = 278;//Kukri Knife
*(DWORD*)(*(DWORD*)WEAP + 0x4DF68) = 220;//Model24 Grenade
*(DWORD*)(*(DWORD*)WEAP + 0x37E08) = 276;//M24
*(DWORD*)(*(DWORD*)WEAP + 0x37CA8) = 123;//MK23
*(DWORD*)(*(DWORD*)WEAP + 0x38388) = 163;//SWM500
*(DWORD*)(*(DWORD*)WEAP + 0x3bd48) = 66;//AWP
*(DWORD*)(*(DWORD*)WEAP + 0x3FB28) = 68;//M3 Super90
*(DWORD*)(*(DWORD*)WEAP + 0x42888) = 69;//MEAT HAMMER
*(DWORD*)(*(DWORD*)WEAP + 0x38A68) = 88;//M16A1
*(DWORD*)(*(DWORD*)WEAP + 0x39568) = 203;//M4A1
*(DWORD*)(*(DWORD*)WEAP + 0x39ae8) = 225;//G36
*(DWORD*)(*(DWORD*)WEAP + 0x3a5e8) = 331;//SCAR
*(DWORD*)(*(DWORD*)WEAP + 0x3b248) = 370;//K2
*(DWORD*)(*(DWORD*)WEAP + 0x3cdc8) = 350;//GALIL
*(DWORD*)(*(DWORD*)WEAP + 0x3e528) = 254;//FAMAS
*(DWORD*)(*(DWORD*)WEAP + 0x3f5a8) = 189;//AUG
*(DWORD*)(*(DWORD*)WEAP + 0x40a48) = 218;//TAVOR
*(DWORD*)(*(DWORD*)WEAP + 0x52dc8) = 51;//A91
*(DWORD*)(*(DWORD*)WEAP + 0x60708) = 282;//Kriss Vector
*(DWORD*)(*(DWORD*)WEAP + 0x35628) = 53;//MP7
*(DWORD*)(*(DWORD*)WEAP + 0x517c8) = 115;//Drum Shotgun-G
*(DWORD*)(*(DWORD*)WEAP + 0x63308) = 72;//T-5000
*(DWORD*)(*(DWORD*)WEAP + 0x5af08) = 267;//McMilan Tac-50
*(DWORD*)(*(DWORD*)WEAP + 0x6b5a8) = 231;//Party Horn
*(DWORD*)(*(DWORD*)WEAP + 0x5e4a8) = 329;//Hatchet Thorn
*(DWORD*)(*(DWORD*)WEAP + 0x4bd08) = 262;//Jack O Bomb
*(DWORD*)(*(DWORD*)WEAP + 0x41d88) = 359;//TYPE 64
*(DWORD*)(*(DWORD*)WEAP + 0x4ff08) = 75;//M4SOPMODD
*(DWORD*)(*(DWORD*)WEAP + 0x34b28) = 85;//XM8
*(DWORD*)(*(DWORD*)WEAP + 0x42308) = 112;//TYPE 89
*(DWORD*)(*(DWORD*)WEAP + 0x3a068) = 129;//P90
*(DWORD*)(*(DWORD*)WEAP + 0x6c788) = 35;//WA2000
*(DWORD*)(*(DWORD*)WEAP + 0x350a8) = 52;//PSG1
*(DWORD*)(*(DWORD*)WEAP + 0x5f7e8) = 39;//MK12-MOD0
*(DWORD*)(*(DWORD*)WEAP + 0x5d848) = 137;//Steyr Scout
*(DWORD*)(*(DWORD*)WEAP + 0x481e8) = 268;//M21
*(DWORD*)(*(DWORD*)WEAP + 0x3f028) = 322;//Dragunov
*(DWORD*)(*(DWORD*)WEAP + 0x4b788) = 364;//Wrench
*(DWORD*)(*(DWORD*)WEAP + 0x63b48) = 257;//Dive Knife
*(DWORD*)(*(DWORD*)WEAP + 0x3b7c8) = 321;//Glock18
*(DWORD*)(*(DWORD*)WEAP + 0x61798) = 166;//Ketupat
*(DWORD*)(*(DWORD*)WEAP + 0x34448) = 64;//Desert Eagle//
*(DWORD*)(*(DWORD*)WEAP + 0x36548) = 63;//AKS74U//
*(DWORD*)(*(DWORD*)WEAP + 0x36c28) = 263;//Flash Bang//
*(DWORD*)(*(DWORD*)WEAP + 0x371a8) = 262;//Smoke Grenade//
*(DWORD*)(*(DWORD*)WEAP + 0x3acc8) = 70;//MP5KPDW//
*(DWORD*)(*(DWORD*)WEAP + 0x3c6e8) = 226;//BERETTA93R//
*(DWORD*)(*(DWORD*)WEAP + 0x3d348) = 264;//EMP Flash Bang//
*(DWORD*)(*(DWORD*)WEAP + 0x3d8c8) = 265;//Spiked Bomb//
*(DWORD*)(*(DWORD*)WEAP + 0x3dfa8) = 199;//Glock21//
*(DWORD*)(*(DWORD*)WEAP + 0x404c8) = 143;//SIG552//
*(DWORD*)(*(DWORD*)WEAP + 0x40a48) = 121;//TAVOR//
*(DWORD*)(*(DWORD*)WEAP + 0x430c8) = 334;//Flash Frag//
*(DWORD*)(*(DWORD*)WEAP + 0x43648) = 335;//Gas Grenade//
*(DWORD*)(*(DWORD*)WEAP + 0x45b68) = 343;//MP5KPDW-D//
*(DWORD*)(*(DWORD*)WEAP + 0x45e28) = 336;//Red Smoke//
*(DWORD*)(*(DWORD*)WEAP + 0x467c8) = 354;//UMP//
*(DWORD*)(*(DWORD*)WEAP + 0x481e8) = 125;//M21//
*(DWORD*)(*(DWORD*)WEAP + 0x48768) = 333;//Browning//
*(DWORD*)(*(DWORD*)WEAP + 0x49268) = 112;//MAT49//
*(DWORD*)(*(DWORD*)WEAP + 0x497e8) = 135;//CAR 15//
*(DWORD*)(*(DWORD*)WEAP + 0x49ec8) = 197;//PPSH41//
*(DWORD*)(*(DWORD*)WEAP + 0x40048) = 241;//M1 Carbine//
*(DWORD*)(*(DWORD*)WEAP + 0x4ea68) = 255;//F2000//
*(DWORD*)(*(DWORD*)WEAP + 0x4efe8) = 318;//Chain Saw//
*(DWORD*)(*(DWORD*)WEAP + 0x52dc8) = 142;//M1911 Calliber//
*(DWORD*)(*(DWORD*)WEAP + 0x50cc8) = 156;//RK.95//
*(DWORD*)(*(DWORD*)WEAP + 0x52008) = 247;//JatiMatic//
*(DWORD*)(*(DWORD*)WEAP + 0x53348) = 250;//MP412 REX//
*(DWORD*)(*(DWORD*)WEAP + 0x547e8) = 319;//Crowbar//
*(DWORD*)(*(DWORD*)WEAP + 0x552e8) = 327;//PP-19//
*(DWORD*)(*(DWORD*)WEAP + 0x55f48) = 308;//MG36//
*(DWORD*)(*(DWORD*)WEAP + 0x568e8) = 179;//Kris//
*(DWORD*)(*(DWORD*)WEAP + 0x57288) = 271;//AS VAL//
*(DWORD*)(*(DWORD*)WEAP + 0x57c28) = 219;//Shamshir//
*(DWORD*)(*(DWORD*)WEAP + 0x58888) = 270;//Browning HP//
*(DWORD*)(*(DWORD*)WEAP + 0x59648) = 332;//Ultimax100//
*(DWORD*)(*(DWORD*)WEAP + 0x59d28) = 316;//LWRC//
*(DWORD*)(*(DWORD*)WEAP + 0x5b488) = 314;//Colt Woodsman//
*(DWORD*)(*(DWORD*)WEAP + 0x5c248) = 299;//UMP GreyWolf//
*(DWORD*)(*(DWORD*)WEAP + 0x5f268) = 82;//KAC PDW//
*(DWORD*)(*(DWORD*)WEAP + 0x61208) = 131;//FN57//
*(DWORD*)(*(DWORD*)WEAP + 0x62c28) = 140;//HK45//
*(DWORD*)(*(DWORD*)WEAP + 0x64648) = 150;//Kimber//
*(DWORD*)(*(DWORD*)WEAP + 0x66f88) = 165;//SAI//
*(DWORD*)(*(DWORD*)WEAP + 0x677c8) = 183;//MP9//
*(DWORD*)(*(DWORD*)WEAP + 0x6b028) = 196;//K7//
*(DWORD*)(*(DWORD*)WEAP + 0x60128) = 207;//PP2000//
*(DWORD*)(*(DWORD*)WEAP + 0x60808) = 238;//Cleaver//
*(DWORD*)(*(DWORD*)WEAP + 0x60088) = 251;//P226//
*(DWORD*)(*(DWORD*)WEAP + 0x6e9e8) = 281;//ARX100//
*(DWORD*)(*(DWORD*)WEAP + 0x70658) = 293;//MAGPUL PDR//
*(DWORD*)(*(DWORD*)WEAP + 0x74768) = 297;//FMG//
*(DWORD*)(*(DWORD*)WEAP + 0x75688) = 358;//RFB//
*(DWORD*)(*(DWORD*)WEAP + 0x75ec8) = 355;//M1A SOCOM//
*(DWORD*)(*(DWORD*)WEAP + 0x76de8) = 369;//SR2 VERESK//
{
while(1)
{
if (GetAsyncKeyState(VK_F5))
{
*(DWORD*)(*(DWORD*)WEAP + 0x33EC8) = 1;//HK416
*(DWORD*)(*(DWORD*)WEAP + 0x38FE8) = 21;//MP5
*(DWORD*)(*(DWORD*)WEAP + 0x38908) = 19;//SSG82
*(DWORD*)(*(DWORD*)WEAP + 0x349C8) = 3;//Knife
*(DWORD*)(*(DWORD*)WEAP + 0x6AC08) = 292;//M870
*(DWORD*)(*(DWORD*)WEAP + 0x35BA8) = 7;//Frag Grenade
*(DWORD*)(*(DWORD*)WEAP + 0x35FC8) = 10;//AK47
*(DWORD*)(*(DWORD*)WEAP + 0x3EAA8) = 42;//UZI
*(DWORD*)(*(DWORD*)WEAP + 0x50748) = 147;//M4 Super 90
*(DWORD*)(*(DWORD*)WEAP + 0x37728) = 15;//Kukri Knife
*(DWORD*)(*(DWORD*)WEAP + 0x4DF68) = 133;//Model24 Grenade
*(DWORD*)(*(DWORD*)WEAP + 0x37E08) = 17;//M24
*(DWORD*)(*(DWORD*)WEAP + 0x37CA8) = 16;//MK23
*(DWORD*)(*(DWORD*)WEAP + 0x38388) = 18;//SWM500
*(DWORD*)(*(DWORD*)WEAP + 0x3bd48) = 30;//AWP
*(DWORD*)(*(DWORD*)WEAP + 0x3FB28) = 45;//M3 Super90
*(DWORD*)(*(DWORD*)WEAP + 0x42888) = 58;//MEAT HAMMER
*(DWORD*)(*(DWORD*)WEAP + 0x38A68) = 20;//M16A1
*(DWORD*)(*(DWORD*)WEAP + 0x39568) = 22;//M4A1
*(DWORD*)(*(DWORD*)WEAP + 0x39ae8) = 23;//G36
*(DWORD*)(*(DWORD*)WEAP + 0x3a5e8) = 25;//SCAR
*(DWORD*)(*(DWORD*)WEAP + 0x3b248) = 28;//K2
*(DWORD*)(*(DWORD*)WEAP + 0x3cdc8) = 36;//GALIL
*(DWORD*)(*(DWORD*)WEAP + 0x3e528) = 41;//FAMAS
*(DWORD*)(*(DWORD*)WEAP + 0x3f5a8) = 44;//AUG
*(DWORD*)(*(DWORD*)WEAP + 0x40a48) = 50;//TAVOR
*(DWORD*)(*(DWORD*)WEAP + 0x52dc8) = 158;//A91
*(DWORD*)(*(DWORD*)WEAP + 0x60708) = 230;//Kriss Vector
*(DWORD*)(*(DWORD*)WEAP + 0x35628) = 6;//MP7
*(DWORD*)(*(DWORD*)WEAP + 0x517c8) = 151;//Drum Shotgun-G
*(DWORD*)(*(DWORD*)WEAP + 0x63308) = 245;//McMilan Tac-50
*(DWORD*)(*(DWORD*)WEAP + 0x6b5a8) = 296;//Party Horn
*(DWORD*)(*(DWORD*)WEAP + 0x5e4a8) = 216;//Hatchet Thorn
*(DWORD*)(*(DWORD*)WEAP + 0x4bd08) = 119;//Jack O Bomb
*(DWORD*)(*(DWORD*)WEAP + 0x41d88) = 56;//TYPE 64
*(DWORD*)(*(DWORD*)WEAP + 0x4ff08) = 144;//M4SOPMODD
*(DWORD*)(*(DWORD*)WEAP + 0x34b28) = 4;//XM8
*(DWORD*)(*(DWORD*)WEAP + 0x42308) = 57;//TYPE 89
*(DWORD*)(*(DWORD*)WEAP + 0x3a068) = 24;//P90
*(DWORD*)(*(DWORD*)WEAP + 0x6c788) = 306;//WA2000
*(DWORD*)(*(DWORD*)WEAP + 0x350a8) = 5;//PSG1
*(DWORD*)(*(DWORD*)WEAP + 0x5f7e8) = 224;//MK12-MOD0
*(DWORD*)(*(DWORD*)WEAP + 0x5d848) = 212;//Steyr Scout
*(DWORD*)(*(DWORD*)WEAP + 0x481e8) = 94;//M21
*(DWORD*)(*(DWORD*)WEAP + 0x3f028) = 43;//Dragunov
*(DWORD*)(*(DWORD*)WEAP + 0x4b788) = 118;//Wrench
*(DWORD*)(*(DWORD*)WEAP + 0x63b48) = 248;//Dive Knife
*(DWORD*)(*(DWORD*)WEAP + 0x3b7c8) = 29;//Glock18
*(DWORD*)(*(DWORD*)WEAP + 0x61798) = 236;//Ketupat
*(DWORD*)(*(DWORD*)WEAP + 0x34448) = 2;//Desert Eagle//
*(DWORD*)(*(DWORD*)WEAP + 0x36548) = 11;//AKS74U//
*(DWORD*)(*(DWORD*)WEAP + 0x36c28) = 13;//Flash Bang//
*(DWORD*)(*(DWORD*)WEAP + 0x371a8) = 14;//Smoke Grenade//
*(DWORD*)(*(DWORD*)WEAP + 0x3acc8) = 70;//MP5KPDW//
*(DWORD*)(*(DWORD*)WEAP + 0x3c6e8) = 34;//BERETTA93R//
*(DWORD*)(*(DWORD*)WEAP + 0x3d348) = 37;//EMP Flash Bang//
*(DWORD*)(*(DWORD*)WEAP + 0x3d8c8) = 38;//Spiked Bomb//
*(DWORD*)(*(DWORD*)WEAP + 0x3dfa8) = 40;//Glock21//
*(DWORD*)(*(DWORD*)WEAP + 0x404c8) = 49;//SIG552//
*(DWORD*)(*(DWORD*)WEAP + 0x40a48) = 50;//TAVOR//
*(DWORD*)(*(DWORD*)WEAP + 0x430c8) = 60;//Flash Frag//
*(DWORD*)(*(DWORD*)WEAP + 0x43648) = 62;//Gas Grenade//
*(DWORD*)(*(DWORD*)WEAP + 0x45b68) = 78;//MP5KPDW-D//
*(DWORD*)(*(DWORD*)WEAP + 0x45e28) = 336;//Red Smoke//
*(DWORD*)(*(DWORD*)WEAP + 0x467c8) = 354;//UMP//
*(DWORD*)(*(DWORD*)WEAP + 0x481e8) = 125;//M21//
*(DWORD*)(*(DWORD*)WEAP + 0x48768) = 333;//Browning//
*(DWORD*)(*(DWORD*)WEAP + 0x49268) = 112;//MAT49//
*(DWORD*)(*(DWORD*)WEAP + 0x497e8) = 135;//CAR 15//
*(DWORD*)(*(DWORD*)WEAP + 0x49ec8) = 197;//PPSH41//
*(DWORD*)(*(DWORD*)WEAP + 0x40048) = 241;//M1 Carbine//
*(DWORD*)(*(DWORD*)WEAP + 0x4ea68) = 255;//F2000//
*(DWORD*)(*(DWORD*)WEAP + 0x4efe8) = 318;//Chain Saw//
*(DWORD*)(*(DWORD*)WEAP + 0x52dc8) = 142;//M1911 Calliber//
*(DWORD*)(*(DWORD*)WEAP + 0x50cc8) = 156;//RK.95//
*(DWORD*)(*(DWORD*)WEAP + 0x52008) = 247;//JatiMatic//
*(DWORD*)(*(DWORD*)WEAP + 0x53348) = 250;//MP412 REX//
*(DWORD*)(*(DWORD*)WEAP + 0x547e8) = 319;//Crowbar//
*(DWORD*)(*(DWORD*)WEAP + 0x552e8) = 327;//PP-19//
*(DWORD*)(*(DWORD*)WEAP + 0x55f48) = 308;//MG36//
*(DWORD*)(*(DWORD*)WEAP + 0x568e8) = 179;//Kris//
*(DWORD*)(*(DWORD*)WEAP + 0x57288) = 271;//AS VAL//
*(DWORD*)(*(DWORD*)WEAP + 0x57c28) = 219;//Shamshir//
*(DWORD*)(*(DWORD*)WEAP + 0x58888) = 270;//Browning HP//
*(DWORD*)(*(DWORD*)WEAP + 0x59648) = 332;//Ultimax100//
*(DWORD*)(*(DWORD*)WEAP + 0x59d28) = 316;//LWRC//
*(DWORD*)(*(DWORD*)WEAP + 0x5b488) = 314;//Colt Woodsman//
*(DWORD*)(*(DWORD*)WEAP + 0x5c248) = 299;//UMP GreyWolf//
*(DWORD*)(*(DWORD*)WEAP + 0x5f268) = 82;//KAC PDW//
*(DWORD*)(*(DWORD*)WEAP + 0x61208) = 131;//FN57//
*(DWORD*)(*(DWORD*)WEAP + 0x62c28) = 140;//HK45//
*(DWORD*)(*(DWORD*)WEAP + 0x64648) = 150;//Kimber//
*(DWORD*)(*(DWORD*)WEAP + 0x66f88) = 165;//SAI//
*(DWORD*)(*(DWORD*)WEAP + 0x677c8) = 183;//MP9//
*(DWORD*)(*(DWORD*)WEAP + 0x6b028) = 196;//K7//
*(DWORD*)(*(DWORD*)WEAP + 0x60128) = 207;//PP2000//
*(DWORD*)(*(DWORD*)WEAP + 0x60808) = 238;//Cleaver//
*(DWORD*)(*(DWORD*)WEAP + 0x60088) = 251;//P226//
*(DWORD*)(*(DWORD*)WEAP + 0x6e9e8) = 281;//ARX100//
*(DWORD*)(*(DWORD*)WEAP + 0x70658) = 293;//MAGPUL PDR//
*(DWORD*)(*(DWORD*)WEAP + 0x74768) = 297;//FMG//
*(DWORD*)(*(DWORD*)WEAP + 0x75688) = 358;//RFB//
*(DWORD*)(*(DWORD*)WEAP + 0x75ec8) = 355;//M1A SOCOM//
*(DWORD*)(*(DWORD*)WEAP + 0x76de8) = 369;//SR2 VERESK//
}
}
}
}
}
}
}
}
}
}
}
}
INT WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)VIP, NULL, NULL, NULL);
}
return true;
}
The updated code for finding the offsets:
Code: Select all
New offset: 0x344
Old offset: 0x3cc
Total weapons: 382 including med kit speed kit
int WEAP = 0x00A32FDC; is the main pointer