There is parts what Nubtik missed in his tutorial so im asking to get some help with these things..
How to get these addresses? from baseentity? but how..
This:
and this:
How to get these addresses? from baseentity? but how..
This:
C++:
// Here we're using the RadarBasestruct (one of the results) To find the players names.. and store it in a char array of 39 Characters.
ReadProcessMemory(fProcess.__HandleProcess , (PBYTE*)(fProcess.__dwordClient + 0x5855E8) ,&CRadarBaseOffset, sizeof(DWORD), 0);
ReadProcessMemory(fProcess.__HandleProcess , (LPCVOID)(CRadarBaseOffset -0x140 + (0x140*Player) + 0x38), &Name, 39, 0);
C++:
//IMPORTANT
//Now we need to read out our own name so we can compare our name to the enemy name and then skip.
// So we dont include our own position in the aimbot because if we do we will mess up
DWORD LocalName; // Can be found in engine.dll
ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordEngine + 0x0040FAEC), &LocalName, 4, 0);
char MyName[39];
ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(LocalName), &MyName, 39, 0);
// Skip if they are you..
if (strcmp(PlayerList[i].Name, MyName) == 0) continue;
CalcAngle (MyPlayer.Position, PlayerList[i].Position, PlayerList[i].AimbotAngle);
if (GetAsyncKeyState(0x01))
WriteProcessMemory (fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordEngine + 0x567C241C), &PlayerList[i].AimbotAngle, 12, 0);