Salut à toi visiteur !
Inscris toi en moins de 10 secondes pour profitez pleinement du site et partager avec la communauté ! S'inscrire


Recherche Le nom de ce cheat ? Ou le trouver ?


#8
Après quelques petites recherches, j'ai trouvé un code qui s'en rapproche même si je pense que ce n'est pas exactement le même principe, ça utilise le curseur du scoreboard pour wallhack (le curseur se fixe sur le joueur ennemi) :

https://www.youtube.com/watch?v=mpsYYIrDhvA&t=9s

Et voici le code (c++ external) :
Il utilise le code de hazedumper pour les offsets (https://github.com/frk1/hazedumper)
Code :
#include <iostream> #include <Windows.h> #include "ProcMan.h" #include "csgo.hpp" using namespace hazedumper::netvars; using namespace hazedumper::signatures; uintptr_t procID; uintptr_t moduleBase; HANDLE hProcess = 0; RECT m_Rect; uintptr_t ClocalPlayer; int myTeam; float EnemyXY[3]; float entityPosition[3]; float myPosition[3]; float closestEntity[3]; typedef struct {     float flMatrix[4][4]; }WorldToScreenMatrix_t; WorldToScreenMatrix_t WorldToScreenMatrix; float Get3dDistance(float* myCoords, float* enemyCoords) {     return sqrt(         pow((enemyCoords[0] - myCoords[0]), 2) +         pow((enemyCoords[1] - myCoords[1]), 2) +         pow((enemyCoords[2] - myCoords[2]), 2)); } bool WorldToScreen(float* from, float* to) {     float w = 0.0f;     to[0] = WorldToScreenMatrix.flMatrix[0][0] * from[0] + WorldToScreenMatrix.flMatrix[0][1] * from[1] + WorldToScreenMatrix.flMatrix[0][2] * from[2] + WorldToScreenMatrix.flMatrix[0][3];     to[1] = WorldToScreenMatrix.flMatrix[1][0] * from[0] + WorldToScreenMatrix.flMatrix[1][1] * from[1] + WorldToScreenMatrix.flMatrix[1][2] * from[2] + WorldToScreenMatrix.flMatrix[1][3];     w = WorldToScreenMatrix.flMatrix[3][0] * from[0] + WorldToScreenMatrix.flMatrix[3][1] * from[1] + WorldToScreenMatrix.flMatrix[3][2] * from[2] + WorldToScreenMatrix.flMatrix[3][3];     if (w < 0.01f)         return false;     float invw = 1.0f / w;     to[0] *= invw;     to[1] *= invw;     int width = (int)(m_Rect.right - m_Rect.left);     int height = (int)(m_Rect.bottom - m_Rect.top);     float x = width / 2;     float y = height / 2;     x += 0.5 * to[0] * width + 0.5;     y -= 0.5 * to[1] * height + 0.5;     to[0] = x + m_Rect.left;     to[1] = y + m_Rect.top;     return true; } int main() {     procID = getProcID(L"csgo.exe");     moduleBase = getModuleBaseAddress(procID, L"client.dll");     hProcess = OpenProcess(PROCESS_ALL_ACCESS, NULL, procID);     GetWindowRect(FindWindow(NULL, L"Counter-Strike: Global Offensive"), &m_Rect);     while (!GetAsyncKeyState(VK_INSERT))     {         ClocalPlayer = readMem<uintptr_t>;(hProcess, moduleBase + dwLocalPlayer);         if (ClocalPlayer != NULL)         {             myTeam = readMem<int>;(hProcess, ClocalPlayer + m_iTeamNum);             if (GetAsyncKeyState(VK_TAB))             {                 int closestEntityDistance = 10000000000;                 for (short int i = 0; i < 20; i++)                 {                     int entity = readMem<int>;(hProcess, moduleBase + dwEntityList + i * 0x10);                     bool dormant = readMem<bool>;(hProcess, entity + m_bDormant);                     if (entity != NULL && dormant == false)                     {                         int entityTeam = readMem<int>;(hProcess, entity + m_iTeamNum);                         if (entityTeam != myTeam)                         {                             ReadProcessMemory(hProcess, (PBYTE*)(entity + m_vecOrigin), &entityPosition, sizeof(float[3]), 0);                             ReadProcessMemory(hProcess, (PBYTE*)(ClocalPlayer + m_vecOrigin), &myPosition, sizeof(float[3]), 0);                             ReadProcessMemory(hProcess, (PBYTE*)(moduleBase + dwViewMatrix), &WorldToScreenMatrix, sizeof(WorldToScreenMatrix), 0);                             if (WorldToScreen(entityPosition, EnemyXY))                             {                                 float distance = Get3dDistance(myPosition, entityPosition);                                 if (distance < closestEntityDistance)                                 {                                     closestEntityDistance = distance;                                     for (int i = 0; i < 3; i++)                                     {                                         closestEntity[i] = entityPosition[i];                                     }                                 }                             }                         }                     }                 }                 if (WorldToScreen(closestEntity, EnemyXY))                 {                     SetCursorPos(EnemyXY[0], EnemyXY[1] - 50);                 }             }         }         Sleep(10);     }     return 0; }
Je pourrais tester, voir si j'arrive à le faire fonctionner in-game quand j'ai un peu de temps libre.
[Image: fbYEtUZ.jpg]


Messages dans ce sujet
RE: Le nom de ce cheat ? Ou le trouver ? - par UzGz - 06-12-2022, 14:56

Sujets apparemment similaires…
Sujet Auteur Réponses Affichages Dernier message
  Où trouver des comptes discord en masse ? Je chercher à tricher sur serveur liste Alphoxi 4 666 14-10-2026, 16:38
Dernier message: Berkov
  Cherche cheat sur counter strike source ilyess685 4 2,465 21-12-2025, 05:26
Dernier message: sr95z
  Cheat Faceit Nell1504 1 1,417 09-09-2025, 18:55
Dernier message: Linux3838
  Recherche Cheat Valorant fiable et durable ? Nathaniel 5 4,796 28-04-2025, 19:19
Dernier message: Maxime Skybase
  Nouveaux Cheat cs2 SyneRP officiel 0 1,932 07-03-2025, 00:34
Dernier message: SyneRP officiel
  cheat tobito_tytreza 1 3,151 16-01-2024, 16:15
Dernier message: Kyogf
  Cherche aide pour développement cheat CS2 tigertooth 0 1,410 19-12-2023, 01:24
Dernier message: tigertooth
  Cherche cheat gratuit fiable WHITE-LIGHTE 6 4,529 29-11-2023, 21:58
Dernier message: Yushii
  Cheat gratuit Blueno 9 5,745 25-10-2023, 23:49
Dernier message: s8w8
  cheat cs2 smurf boost 3 3,121 09-08-2023, 02:09
Dernier message: HeMP

Atteindre :