CSGO No Recoil [Source Code]

utku1114

Banned Member
Katılım
2 Eyl 2020
Konular
107
Mesajlar
472
Tepkime puanı
223
Konum
Turkey
RC Point
0
Selam Sizlere RCS Source Code vereceğim ve birkaç video bırakacağım,
Videolara bakarak(Biraz ing veya altyazı) Anlayabilirsiniz.
:kullanim:
C++:
#include <Windows.h>
#include <iostream>
struct vec3 { float x, y, z; }; // vector structure
DWORD WINAPI HackThread(HMODULE hModule) { // main thread
    vec3 oldPunch = { 0,0,0 };
    uint32_t engineModule = (uint32_t)GetModuleHandle(L"engine.dll"); // get our engine module
    uint32_t clientModule = (uint32_t)GetModuleHandle(L"client.dll"); // get our client module
    for (; !GetAsyncKeyState(VK_END); Sleep(1)) { // infinite loop w/ break on end key press and 1ms sleep
        uintptr_t* localPlayer = (uintptr_t*)(clientModule + 0x4D05AD4);  // get our local player (from entity list) *dont fkn judge my ass*
        vec3* viewAngles = (vec3*)(*(uintptr_t*)(engineModule + 0x58CCFC/*dwClientState*/) + 0x4D88/*dwClientState_viewAngles*/); // get our view angles
        int shotsFired = *(int*)(*localPlayer + 0xA380/*shotsFiredAddy*/); // get shotsFired
        vec3 tempAngle = { 0,0,0 }, punchAngle = *(vec3*)(*localPlayer + 0x302C/*aimPunchAngle*/); // create temp angle get our aimpunchangle *m_aimPunchAngle = 0x302C*
        if (shotsFired > 1 && GetAsyncKeyState(VK_LBUTTON)) { // do this so we can still 1 tap
            tempAngle.x = (viewAngles->x + oldPunch.x) - (punchAngle.x * 2); // https://www.youtube.com/watch?v=dQw4w9WgXcQ <- important video for understanding logic of rcs
            tempAngle.y = (viewAngles->y + oldPunch.y) - (punchAngle.y * 2); // 2 = amount of recoil control. 0 = none, 2 = full *must be in sync with below*
            while (tempAngle.y > 180) { tempAngle.y -= 360; }   // normalize angle
            while (tempAngle.y < -180) { tempAngle.y += 360; }  // ^
            if (tempAngle.x > 89.0f) { tempAngle.x = 89.0f; }   // ^
            if (tempAngle.x < -89.0f) { tempAngle.x = -89.0f; } // ^
            oldPunch.x = punchAngle.x * 2; // 2 = amount of recoil control. 0 = none, 2 = full *must be in sync with above*
            oldPunch.y = punchAngle.y * 2;
            *viewAngles = tempAngle;
        }
        else {
            oldPunch.x = 0; // reset old punch
            oldPunch.y = 0;
        }
    }
    FreeLibraryAndExitThread(hModule, 0); // free dll if we exit
    return 0;
}
BOOL APIENTRY DllMain(HMODULE hModule, DWORD reason, LPVOID lpReserved) {
    if (reason == DLL_PROCESS_ATTACH)
        CreateThread(nullptr, 0, (LPTHREAD_START_ROUTINE)HackThread, hModule, 0, nullptr); // create our thread if we attach
    return TRUE;
}
 

Shiva

Admin
Katılım
31 Tem 2019
Konular
522
Mesajlar
4,089
Çözümler
194
Tepkime puanı
14,529
Konum
Berlin
RC Point
0
Hangi oyuna source paylaşımı yapıyorsan lütfen onun kategorisine konu aç!
 

KayraUtku456

C# and Reverse Engineering
Ultra Member
Katılım
2 Ocak 2021
Konular
40
Mesajlar
410
Tepkime puanı
39
Konum
Berlin
RC Point
0
video koyduğun için sağol artık 1000 kerede olsa deneyeceğim
 

Nrd4

Banned Member
Katılım
29 Ocak 2021
Konular
4
Mesajlar
29
Tepkime puanı
1
RC Point
0
Gerçekten çok işime yarayacak
 

Nrd4

Banned Member
Katılım
29 Ocak 2021
Konular
4
Mesajlar
29
Tepkime puanı
1
RC Point
0
Ben proje ile ilgili sıkıntı yaşadım hangi c++ projesini türünü seçip yapıyoruz dll main.cpp yazıyor ama şu pch.h açılamıyor diyor yeni başladım kodlamaya anlam vermedim dll için
 

Nrd4

Banned Member
Katılım
29 Ocak 2021
Konular
4
Mesajlar
29
Tepkime puanı
1
RC Point
0
Kısaca hangi proje türü c++ için ve pch.h açılmıyor diyor ben yanlış seçtiysem
 

Nrd4

Banned Member
Katılım
29 Ocak 2021
Konular
4
Mesajlar
29
Tepkime puanı
1
RC Point
0
He tamam benim ayarlardan önceden kullanılmamışı seçmem lazımmış ok
 
Üst