OldSchoolHack

Registrieren / Anmelden Deutsch

Externer Aimbot for-Schleifen-Problem

icon Thema: Externer Aimbot for-Schleifen-Problem

Anmeldungsdatum: Okt 2011

Beiträge: 48

CPP Code:
  1.  
  2. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + PositionOffset ), &LocalPlayer.x, 4, 0);
  3. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + PositionOffset + 4), &LocalPlayer.y, 4, 0);
  4. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + PositionOffset + 8), &LocalPlayer.z, 4, 0);

zu
CPP Code:
  1.  
  2. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + PositionOffset ), &LocalPlayer.absOrigin, 12, 0);
  3.  


CPP Code:
  1. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + AngleOffset ), &LocalPlayer.pitch, 4, 0);
  2. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + AngleOffset + 4), &LocalPlayer.yaw, 4, 0);
  3. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + AngleOffset + 8), &LocalPlayer.roll, 4, 0);
zu
CPP Code:
  1. ReadProcessMemory(hGame, (LPCVOID)(dwEngineBase + AngleOffset), &LocalPlayer.viewAngles, 12, 0);

kp, wie du das Radarstruct ausließt, aber nach den Angles hier ahne ich schlimmes .
CPP Code:
  1. for(int i = 0; i < 32; i++)
  2. ReadProcessMemory(hProcess, (LPCVOID) (dwPlayerBase + 0x140 * i), &g_pPlayer[i], sizeof(player_t), NULL);
  3. }
player_t ist ne Nachbildung des Radarstructs ohne die History, deshalb wird nich alles auf einmal ausgelesen.