General Improvements

**Head Tracker**
- Makes head tracker distance based
- Makes circle an outline of a circle rather than filled
- Adjusted circle to be more oval shape to fit character heads
- Added toggle feature to head tracker as requested by many

**Handle Hijack**
- Changed permissions for hijacked handle from all access to permissions of svchost.exe, which still allows read and write memory, but removes the all access permissions, looking more "legit" to VAC

**Offsets**
- Update offsets for game build 13968
This commit is contained in:
ifBars
2023-11-08 23:28:38 -07:00
parent dca17c6f85
commit 95b3b48178
7 changed files with 38 additions and 37 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ namespace hj {
//we duplicate the handle another process has to our target into our cheat with whatever permissions we want. I did all access.
NtRet = NtDuplicateObject(procHandle, (HANDLE)hInfo->Handles[i].Handle, NtCurrentProcess, &HijackedHandle, PROCESS_ALL_ACCESS, 0, 0);
NtRet = NtDuplicateObject(procHandle, (HANDLE)hInfo->Handles[i].Handle, NtCurrentProcess, &HijackedHandle, PROCESS_QUERY_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_DUP_HANDLE, 0, 0);
if (!IsHandleValid(HijackedHandle) || !NT_SUCCESS(NtRet))//check is the funcions succeeded and check the handle is valid
{