desperado24 (12-28-2018)
Work Perfect on CF NA
Notice : add int aHead[87];Code:#define ModelNode 0x1942054
Code:bool backup = false; void backuphead() { DWORD CShell = (DWORD)GetModuleHandleA(eCShell); DWORD pHeadShotMgr = *(DWORD*)(CShell + ModelNode); if (!backup) { if (pHeadShotMgr != 0) { for (int i = 0; i < 87; i++) { DWORD pModelNodeType = (DWORD)(pHeadShotMgr + i * 0x9C); if (pModelNodeType) aHead[i] = *(int*)(pModelNodeType + 0x54); backup = true; } } } }Enjoy Click ThanksCode:void Head() { DWORD CShell = (DWORD)GetModuleHandleA(eCShell); DWORD pHeadShotMgr = *(DWORD*)(CShell + ModelNode); if (pHeadShotMgr != 0) { for (int i = 0; i < 87; i++) { DWORD pModelNodeType = (DWORD)(pHeadShotMgr + i * 0x9C); if (backup) { if (//Your variable) //Gold { *(int*)(pModelNodeType + 0x54) = 1; } else if (//Your variable)//Silver { *(int*)(pModelNodeType + 0x54) = 2; } else { *(int*)(pModelNodeType + 0x54) = aHead[i]; } } } } }
Credit : i don,t know
Last edited by Confirm-; 12-22-2018 at 07:33 AM.
desperado24 (12-28-2018)
Already posted before !
you missed to post aHead[i]; backup part
To become a successful coder you should become a leecher first
.CHROME -DeV HACK.
not your code
give proper credits
Private Project :
you can make it simple like this
Credits : @kmanev073, @ramo and @ComboDance
Code:int HeadShotOld[87]; bool IsBackup = false; void BackupMemory(void) { if (!IsGameReadyForHook()) return; DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); DWORD crossfire = (DWORD)GetModuleHandleA("crossfire.exe"); if (crossfire == NULL) return; if (!IsBackup) { //================Always HeadShot===============// DWORD pModelNodeTypeMgr = *(DWORD*)(CShell + pModelNodeMgr); if (pModelNodeTypeMgr !=NULL) { for (int i = 0; i < 87; i++) { DWORD pHeadShotMgr = (DWORD)(pModelNodeTypeMgr + i * 0x9C); if (pHeadShotMgr) { HeadShotOld[i] = *(int*)(pHeadShotMgr + 0x54); } } } IsBackup = true; } }Code:void StartHacks1(void) { if (!IsGameReadyForHook()) return; DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); DWORD crossfire = (DWORD)GetModuleHandleA("crossfire.exe"); if (crossfire == NULL) return; //================Always HeadShot===============// DWORD pModelNodeTypeMgr = *(DWORD*)(CShell + pModelNodeMgr); if (pModelNodeTypeMgr !=NULL) { for (int i = 0; i < 87; i++) { DWORD pHeadShotMgr = (DWORD)(pModelNodeTypeMgr + i * 0x9C); if (pHeadShotMgr) { if (/*Declare 1*/) { *(int*)(pHeadShotMgr + 0x54) = 1; // Gold } if (/*Declare 2*/) { *(int*)(pHeadShotMgr + 0x54) = 2; // Silver } if (/*Declare 3*/) { *(int*)(pHeadShotMgr + 0x54) = HeadShotOld[i]; // Backup Variables } } } } }
Last edited by iknowitsfake26; 12-22-2018 at 09:18 PM.
DWORD pModelNodeType = (DWORD)(pHeadShotMgr + i * 0x9C);
if (backup)// this is wrong idk if you have a knowledge in c++
{
and look at yourself dude your code is very trash and you don't know how to clean and figure it and at all i know how to credits people who did this and i'm not like yours its a trash code
Last edited by iknowitsfake26; 12-22-2018 at 09:08 AM.