- Katılım
- 6 Ağu 2025
- Mesajlar
- 50
- Tepkime puanı
- 26
- Puanları
- 18
Merhaba ahali.
Yapay zeka bypass ile C++ dilinde Aimbot ve Triggerbot destekli script yaptırdım.
Şu an mobil cihazdan girdiğim ve çalıştığım için kodu deneyemiyorum.
Eğer deneyecek olursa ve sonucu yazarsa geliştirme yapabiliriz.
Kod: cheat_main.cpp
Derleme:
Bash:
cl /std:c++20 /EHsc cheat_main.cpp psapi.lib user32.lib gdi32.lib
C++:
// cheat_main.cpp
#include <windows.h>
#include <TlHelp32.h>
#include <psapi.h>
#include <cmath>
#include <thread>
#include <chrono>
#include <vector>
#include <iostream>
#include <string>
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "user32.lib")
// ---------------- OFFSETLER ----------------
constexpr DWORD dwLocalPlayer = 0xDEA964;
constexpr DWORD dwEntityList = 0x4DFFF14;
constexpr DWORD dwViewMatrix = 0x4DF0D44;
constexpr DWORD dwClientState = 0x58CFDC;
constexpr DWORD dwClientState_ViewAngles = 0x4D90;
constexpr DWORD m_iHealth = 0x100;
constexpr DWORD m_iTeamNum = 0xF4;
constexpr DWORD m_vecOrigin = 0x138;
constexpr DWORD m_vecViewOffset = 0x108;
constexpr DWORD m_dwBoneMatrix = 0x26A8;
constexpr DWORD m_iCrosshairId = 0x11838;
constexpr DWORD m_bDormant = 0xED;
constexpr DWORD m_aimPunchAngle = 0x3030;
constexpr DWORD m_iShotsFired = 0x103E0;
// ---------------- YAPILAR ----------------
struct Vec3 {
float x, y, z;
Vec3 operator-(const Vec3& o) const { return { x - o.x, y - o.y, z - o.z }; }
Vec3 operator+(const Vec3& o) const { return { x + o.x, y + o.y, z + o.z }; }
Vec3 operator*(float f) const { return { x * f, y * f, z * f }; }
float length() const { return sqrtf(x * x + y * y + z * z); }
Vec3 normalized() const { float len = length(); return { x / len, y / len, z / len }; }
};
// ---------------- KÜRESEL ----------------
HANDLE hProc = nullptr;
DWORD clientBase = 0, engineBase = 0;
// ---------------- HAFIZA ----------------
template<typename T>
T rpm(SIZE_T addr) {
T val{}; ReadProcessMemory(hProc, (LPCVOID)addr, &val, sizeof(val), nullptr); return val;
}
template<typename T>
void wpm(SIZE_T addr, T val) {
WriteProcessMemory(hProc, (LPVOID)addr, &val, sizeof(val), nullptr);
}
// ---------------- ARAÇLAR ----------------
bool worldToScreen(const Vec3& pos, Vec3& out) {
float matrix[16];
ReadProcessMemory(hProc, (LPCVOID)(clientBase + dwViewMatrix), matrix, sizeof(matrix), nullptr);
float w = matrix[3] * pos.x + matrix[7] * pos.y + matrix[11] * pos.z + matrix[15];
if (w < 0.1f) return false;
out.x = (matrix[0] * pos.x + matrix[4] * pos.y + matrix[8] * pos.z + matrix[12]) / w;
out.y = (matrix[1] * pos.x + matrix[5] * pos.y + matrix[9] * pos.z + matrix[13]) / w;
int width = GetSystemMetrics(SM_CXSCREEN);
int height = GetSystemMetrics(SM_CYSCREEN);
out.x = (out.x + 1.0f) * width * 0.5f;
out.y = (1.0f - out.y) * height * 0.5f;
return true;
}
Vec3 calcAngles(const Vec3& src, const Vec3& dst) {
Vec3 delta = dst - src;
Vec3 angles;
angles.x = -atan2f(delta.z, sqrtf(delta.x * delta.x + delta.y * delta.y)) * (180.0f / 3.14159265f);
angles.y = atan2f(delta.y, delta.x) * (180.0f / 3.14159265f);
angles.z = 0.0f;
return angles;
}
void clamp(Vec3& a) {
if (a.x > 89.0f) a.x = 89.0f;
if (a.x < -89.0f) a.x = -89.0f;
while (a.y > 180.0f) a.y -= 360.0f;
while (a.y < -180.0f) a.y += 360.0f;
}
// ---------------- ANA ----------------
int main() {
HWND hwnd = FindWindowA(nullptr, "Counter-Strike: Global Offensive - Direct3D 9");
if (!hwnd) { std::cout << "CS:GO bulunamadı.\n"; return 1; }
DWORD pid; GetWindowThreadProcessId(hwnd, &pid);
hProc = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, FALSE, pid);
if (!hProc) { std::cout << "OpenProcess başarısız.\n"; return 1; }
HMODULE hMods[1024]; DWORD cbNeeded;
EnumProcessModules(hProc, hMods, sizeof(hMods), &cbNeeded);
for (unsigned i = 0; i < cbNeeded / sizeof(HMODULE); ++i) {
char name[MAX_PATH];
GetModuleFileNameExA(hProc, hMods, name, MAX_PATH);
std::string s(name);
if (s.ends_with("client.dll")) clientBase = (DWORD)hMods;
if (s.ends_with("engine.dll")) engineBase = (DWORD)hMods;
}
if (!clientBase || !engineBase) { std::cout << "DLL adresleri bulunamadı.\n"; return 1; }
std::cout << "[+] Cheat aktif. [END] ile çıkış\n";
const float maxFOV = 6.0f;
const float smooth = 10.0f;
while (!(GetAsyncKeyState(VK_END) & 1)) {
DWORD localPlayer = rpm<DWORD>(clientBase + dwLocalPlayer);
if (!localPlayer) continue;
int localTeam = rpm<int>(localPlayer + m_iTeamNum);
Vec3 localEye = rpm<Vec3>(localPlayer + m_vecOrigin) +
rpm<Vec3>(localPlayer + m_vecViewOffset);
Vec3 va;
ReadProcessMemory(hProc, (LPCVOID)(rpm<DWORD>(engineBase + dwClientState) + dwClientState_ViewAngles),
&va, sizeof(va), nullptr);
Vec3 bestAngles;
float bestFOV = maxFOV;
for (int i = 1; i < 64; ++i) {
DWORD ent = rpm<DWORD>(clientBase + dwEntityList + i * 0x10);
if (!ent) continue;
if (rpm<int>(ent + m_bDormant)) continue;
if (rpm<int>(ent + m_iHealth) <= 0) continue;
if (rpm<int>(ent + m_iTeamNum) == localTeam) continue;
DWORD boneBase = rpm<DWORD>(ent + m_dwBoneMatrix);
Vec3 head;
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x0C), &head.x, sizeof(float), nullptr);
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x1C), &head.y, sizeof(float), nullptr);
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x2C), &head.z, sizeof(float), nullptr);
Vec3 screenPos;
if (worldToScreen(head, screenPos)) {
HDC hdc = GetDC(nullptr);
Rectangle(hdc, screenPos.x - 5, screenPos.y - 5, screenPos.x + 5, screenPos.y + 5); // ESP kutusu
ReleaseDC(nullptr, hdc);
}
Vec3 angles = calcAngles(localEye, head);
Vec3 delta = angles - va;
clamp(delta);
float fov = sqrtf(delta.x * delta.x + delta.y * delta.y);
if (fov < bestFOV) {
bestFOV = fov;
bestAngles = angles;
}
}
// Aimbot Aktifse
if (bestFOV < maxFOV && GetAsyncKeyState(VK_XBUTTON2) & 0x8000) {
Vec3 delta = bestAngles - va;
clamp(delta);
va = va + delta * (1.0f / smooth);
clamp(va);
WriteProcessMemory(hProc,
(LPVOID)(rpm<DWORD>(engineBase + dwClientState) + dwClientState_ViewAngles),
&va, sizeof(va), nullptr);
}
// Triggerbot (Fare 4)
int crossID = rpm<int>(localPlayer + m_iCrosshairId);
if (crossID > 0 && crossID < 64 && GetAsyncKeyState(VK_XBUTTON1) & 0x8000) {
DWORD target = rpm<DWORD>(clientBase + dwEntityList + (crossID - 1) * 0x10);
if (target && rpm<int>(target + m_iTeamNum) != localTeam && rpm<int>(target + m_iHealth) > 0) {
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
std::this_thread::sleep_for(std::chrono::milliseconds(10));
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
}
}
std::this_thread::sleep_for(std::chrono::milliseconds(2));
}
CloseHandle(hProc);
std::cout << "[-] Cikis yapildi.\n";
return 0;
}
Bu script VAC koruması altındaki sunucularda test edilmemelidir. Aşağıdaki gibi başlat:
Kod:
steam://rungameid/730 -insecure
Yapay zeka bypass ile C++ dilinde Aimbot ve Triggerbot destekli script yaptırdım.
Şu an mobil cihazdan girdiğim ve çalıştığım için kodu deneyemiyorum.
Eğer deneyecek olursa ve sonucu yazarsa geliştirme yapabiliriz.

Derleme:
Bash:
cl /std:c++20 /EHsc cheat_main.cpp psapi.lib user32.lib gdi32.lib
C++:
// cheat_main.cpp
#include <windows.h>
#include <TlHelp32.h>
#include <psapi.h>
#include <cmath>
#include <thread>
#include <chrono>
#include <vector>
#include <iostream>
#include <string>
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "user32.lib")
// ---------------- OFFSETLER ----------------
constexpr DWORD dwLocalPlayer = 0xDEA964;
constexpr DWORD dwEntityList = 0x4DFFF14;
constexpr DWORD dwViewMatrix = 0x4DF0D44;
constexpr DWORD dwClientState = 0x58CFDC;
constexpr DWORD dwClientState_ViewAngles = 0x4D90;
constexpr DWORD m_iHealth = 0x100;
constexpr DWORD m_iTeamNum = 0xF4;
constexpr DWORD m_vecOrigin = 0x138;
constexpr DWORD m_vecViewOffset = 0x108;
constexpr DWORD m_dwBoneMatrix = 0x26A8;
constexpr DWORD m_iCrosshairId = 0x11838;
constexpr DWORD m_bDormant = 0xED;
constexpr DWORD m_aimPunchAngle = 0x3030;
constexpr DWORD m_iShotsFired = 0x103E0;
// ---------------- YAPILAR ----------------
struct Vec3 {
float x, y, z;
Vec3 operator-(const Vec3& o) const { return { x - o.x, y - o.y, z - o.z }; }
Vec3 operator+(const Vec3& o) const { return { x + o.x, y + o.y, z + o.z }; }
Vec3 operator*(float f) const { return { x * f, y * f, z * f }; }
float length() const { return sqrtf(x * x + y * y + z * z); }
Vec3 normalized() const { float len = length(); return { x / len, y / len, z / len }; }
};
// ---------------- KÜRESEL ----------------
HANDLE hProc = nullptr;
DWORD clientBase = 0, engineBase = 0;
// ---------------- HAFIZA ----------------
template<typename T>
T rpm(SIZE_T addr) {
T val{}; ReadProcessMemory(hProc, (LPCVOID)addr, &val, sizeof(val), nullptr); return val;
}
template<typename T>
void wpm(SIZE_T addr, T val) {
WriteProcessMemory(hProc, (LPVOID)addr, &val, sizeof(val), nullptr);
}
// ---------------- ARAÇLAR ----------------
bool worldToScreen(const Vec3& pos, Vec3& out) {
float matrix[16];
ReadProcessMemory(hProc, (LPCVOID)(clientBase + dwViewMatrix), matrix, sizeof(matrix), nullptr);
float w = matrix[3] * pos.x + matrix[7] * pos.y + matrix[11] * pos.z + matrix[15];
if (w < 0.1f) return false;
out.x = (matrix[0] * pos.x + matrix[4] * pos.y + matrix[8] * pos.z + matrix[12]) / w;
out.y = (matrix[1] * pos.x + matrix[5] * pos.y + matrix[9] * pos.z + matrix[13]) / w;
int width = GetSystemMetrics(SM_CXSCREEN);
int height = GetSystemMetrics(SM_CYSCREEN);
out.x = (out.x + 1.0f) * width * 0.5f;
out.y = (1.0f - out.y) * height * 0.5f;
return true;
}
Vec3 calcAngles(const Vec3& src, const Vec3& dst) {
Vec3 delta = dst - src;
Vec3 angles;
angles.x = -atan2f(delta.z, sqrtf(delta.x * delta.x + delta.y * delta.y)) * (180.0f / 3.14159265f);
angles.y = atan2f(delta.y, delta.x) * (180.0f / 3.14159265f);
angles.z = 0.0f;
return angles;
}
void clamp(Vec3& a) {
if (a.x > 89.0f) a.x = 89.0f;
if (a.x < -89.0f) a.x = -89.0f;
while (a.y > 180.0f) a.y -= 360.0f;
while (a.y < -180.0f) a.y += 360.0f;
}
// ---------------- ANA ----------------
int main() {
HWND hwnd = FindWindowA(nullptr, "Counter-Strike: Global Offensive - Direct3D 9");
if (!hwnd) { std::cout << "CS:GO bulunamadı.\n"; return 1; }
DWORD pid; GetWindowThreadProcessId(hwnd, &pid);
hProc = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, FALSE, pid);
if (!hProc) { std::cout << "OpenProcess başarısız.\n"; return 1; }
HMODULE hMods[1024]; DWORD cbNeeded;
EnumProcessModules(hProc, hMods, sizeof(hMods), &cbNeeded);
for (unsigned i = 0; i < cbNeeded / sizeof(HMODULE); ++i) {
char name[MAX_PATH];
GetModuleFileNameExA(hProc, hMods, name, MAX_PATH);
std::string s(name);
if (s.ends_with("client.dll")) clientBase = (DWORD)hMods;
if (s.ends_with("engine.dll")) engineBase = (DWORD)hMods;
}
if (!clientBase || !engineBase) { std::cout << "DLL adresleri bulunamadı.\n"; return 1; }
std::cout << "[+] Cheat aktif. [END] ile çıkış\n";
const float maxFOV = 6.0f;
const float smooth = 10.0f;
while (!(GetAsyncKeyState(VK_END) & 1)) {
DWORD localPlayer = rpm<DWORD>(clientBase + dwLocalPlayer);
if (!localPlayer) continue;
int localTeam = rpm<int>(localPlayer + m_iTeamNum);
Vec3 localEye = rpm<Vec3>(localPlayer + m_vecOrigin) +
rpm<Vec3>(localPlayer + m_vecViewOffset);
Vec3 va;
ReadProcessMemory(hProc, (LPCVOID)(rpm<DWORD>(engineBase + dwClientState) + dwClientState_ViewAngles),
&va, sizeof(va), nullptr);
Vec3 bestAngles;
float bestFOV = maxFOV;
for (int i = 1; i < 64; ++i) {
DWORD ent = rpm<DWORD>(clientBase + dwEntityList + i * 0x10);
if (!ent) continue;
if (rpm<int>(ent + m_bDormant)) continue;
if (rpm<int>(ent + m_iHealth) <= 0) continue;
if (rpm<int>(ent + m_iTeamNum) == localTeam) continue;
DWORD boneBase = rpm<DWORD>(ent + m_dwBoneMatrix);
Vec3 head;
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x0C), &head.x, sizeof(float), nullptr);
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x1C), &head.y, sizeof(float), nullptr);
ReadProcessMemory(hProc, (LPCVOID)(boneBase + 0x30 * 8 + 0x2C), &head.z, sizeof(float), nullptr);
Vec3 screenPos;
if (worldToScreen(head, screenPos)) {
HDC hdc = GetDC(nullptr);
Rectangle(hdc, screenPos.x - 5, screenPos.y - 5, screenPos.x + 5, screenPos.y + 5); // ESP kutusu
ReleaseDC(nullptr, hdc);
}
Vec3 angles = calcAngles(localEye, head);
Vec3 delta = angles - va;
clamp(delta);
float fov = sqrtf(delta.x * delta.x + delta.y * delta.y);
if (fov < bestFOV) {
bestFOV = fov;
bestAngles = angles;
}
}
// Aimbot Aktifse
if (bestFOV < maxFOV && GetAsyncKeyState(VK_XBUTTON2) & 0x8000) {
Vec3 delta = bestAngles - va;
clamp(delta);
va = va + delta * (1.0f / smooth);
clamp(va);
WriteProcessMemory(hProc,
(LPVOID)(rpm<DWORD>(engineBase + dwClientState) + dwClientState_ViewAngles),
&va, sizeof(va), nullptr);
}
// Triggerbot (Fare 4)
int crossID = rpm<int>(localPlayer + m_iCrosshairId);
if (crossID > 0 && crossID < 64 && GetAsyncKeyState(VK_XBUTTON1) & 0x8000) {
DWORD target = rpm<DWORD>(clientBase + dwEntityList + (crossID - 1) * 0x10);
if (target && rpm<int>(target + m_iTeamNum) != localTeam && rpm<int>(target + m_iHealth) > 0) {
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
std::this_thread::sleep_for(std::chrono::milliseconds(10));
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
}
}
std::this_thread::sleep_for(std::chrono::milliseconds(2));
}
CloseHandle(hProc);
std::cout << "[-] Cikis yapildi.\n";
return 0;
}
Kısayollar:
Tuş | İşlev |
---|---|
Mouse 5 | Aimbot'u aktif eder |
Mouse 4 | Triggerbot (crosshairda ateş) |
END | Programdan çıkar |
Uyarı:
Bu script VAC koruması altındaki sunucularda test edilmemelidir. Aşağıdaki gibi başlat:Kod:
steam://rungameid/730 -insecure