Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Counter-Strike 2 Hacks › Counter-Strike 2 Help › Anyone got polyglow main.cpp with the new offsets?

Anyone got polyglow main.cpp with the new offsets?

Posts 1–4 of 4 · Page 1 of 1
JO
jolzarr
Anyone got polyglow main.cpp with the new offsets?
I've tried to change the offsets myself but i dont know what to change

Anyone help me?
#1 · 11y ago
Azuki
Azuki
this thread
#2 · 11y ago
JO
jolzarr
Quote Originally Posted by RapleAQN View Post
this thread
Dont work, tried it and nothing happens
#3 · 11y ago
JU
justforhacks
main.cpp:
#include "Game.h"

#pragma region offsets
DWORD offLocalPlayer;
DWORD offEntityList;
const DWORD offEntityTeam = 0xF0;

DWORD offGlow;
#pragma endregion

#pragma region globalVars
PModule modClient;
PMemory mem;
#pragma endregion

[junk_enable /]
[enc_string_enable /]

#pragma region hotKeys
int whichKeyIsPressed() {
while (true) {
for (int i = 1; i < 255; i++) {
if (GetAsyncKeyState(i) & 0x8000) {
while (GetAsyncKeyState(i) & 0x8000) {
Sleep(50);
}
return i;
}
}
Sleep(10);
}
}
int keyGlowToggle;
#pragma endregion

void ReadData(Player* p) {
p->team = mem.Read<int>(p->dwBase + offEntityTeam);
}

int main() {
std::cout << "PolyHack V2.0 - Made by Merccy\n\n";
std::cout << "Waiting for csgo.exe...";
while (!mem.Attach("csgo.exe")) {
std::cout << ".";
Sleep(500);
}
modClient = mem.GetModule("client.dll");
std::cout << "\nFound\n\n";

std::cout << "Getting offsets...";
// Glow offset
//DWORD gpStart = mem.FindPatternArr(modClient.dwBase, modClient.dwSize, "xxxxxxxxxxxxxx????xxxxxxx", 25, 0x6B, 0xD6, 0x34, 0x89, 0x44, 0x0A, 0x30, 0x8D, 0x8F, 0xE4, 0x1B, 0x00, 0x00, 0xA1, 0x00, 0x00, 0x00, 0x00, 0xC7, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00);
//offGlow = mem.Read<DWORD>(gpStart + 14) - modClient.dwBase;
offGlow = 0x04afef74;

// Entity list
//DWORD elStart = mem.FindPatternArr(modClient.dwBase, modClient.dwSize, "x????xx?xxx", 11, 0x5, 0x0, 0x0, 0x0, 0x0, 0xC1, 0xE9, 0x0, 0x39, 0x48, 0x4);
//DWORD elP1 = mem.Read<DWORD>(elStart + 1);
//BYTE elP2 = mem.Read<BYTE>(elStart + 7);
//offEntityList = (elP1 + elP2) - modClient.dwBase;
offEntityList = 0x049ee2e4;

// Local player
//DWORD lpStart = mem.FindPatternArr(modClient.dwBase, modClient.dwSize, "xxx????xx????xxxxx?", 19, 0x8D, 0x34, 0x85, 0x0, 0x0, 0x0, 0x0, 0x89, 0x15, 0x0, 0x0, 0x0, 0x0, 0x8B, 0x41, 0x8, 0x8B, 0x48, 0x0);
//DWORD lpP1 = mem.Read<DWORD>(lpStart + 3);
//BYTE lpP2 = mem.Read<BYTE>(lpStart + 18);
//offLocalPlayer = (lpP1 + lpP2) - modClient.dwBase;
offLocalPlayer = 0x00a4ca5c;

std::cout << "\nDone\n\n";

std::cout << "Hotkeys: \n";
std::cout << "Toggle glow: ";
keyGlowToggle = whichKeyIsPressed();
std::cout << keyGlowToggle << "\n";
std::cout << "\n";

bool glowEnabled = false;
Player me;
Player players[64];

while (!GetAsyncKeyState(VK_END)) {
if (GetAsyncKeyState(keyGlowToggle) & 0x8000) {
while (GetAsyncKeyState(keyGlowToggle) & 0x8000) {
Sleep(50);
}
glowEnabled = !glowEnabled;
std::cout << "Glow ESP is now ";
if (glowEnabled) {
std::cout << "enabled\n";
}
else {
std::cout << "disabled\n";
}
}

if (glowEnabled) {
me.dwBase = mem.Read<DWORD>(modClient.dwBase + offLocalPlayer);
ReadData(&me);
for (int i = 1; i < 64; i++) {
players[i].dwBase = mem.Read<DWORD>(modClient.dwBase + offEntityList + i * 0x10);
ReadData(&players[i]);
}

DWORD pointerGlow = mem.Read<DWORD>(modClient.dwBase + offGlow);
int objectCount = mem.Read<int>(modClient.dwBase + offGlow + 0x4);
if (pointerGlow != NULL) {
for (int i = 0; i < objectCount; i++) {
DWORD mObj = pointerGlow + i * sizeof(GlowObjectDefinition_t);
GlowObjectDefinition_t glowObj = mem.Read<GlowObjectDefinition_t>(mObj);
if (glowObj.pEntity != NULL) {
int f_i = -1;
for (int j = 1; j < 64; j++) {
if (glowObj.pEntity == players[j].dwBase) {
int r = 255, g = 0, b = 0;
if (players[j].team == me.team) {
r = 0;
b = 255;
}
mem.Write<float>(mObj + 0x4, r / 255);
mem.Write<float>(mObj + 0x8, g / 255);
mem.Write<float>(mObj + 0xC, b / 255);
mem.Write<float>(mObj + 0x10, 1.0f);
mem.Write<BOOL>(mObj + 0x24, true);
mem.Write<BOOL>(mObj + 0x25, false);
}
}
}
}
}
}
}

return 0;
}
have fun
#4 · 11y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • when i try to run the bot with the new consolelite i got :By Lighty in Vindictus Help
    5Last post 14y ago
  • I got a problem with the new GunAdder ways!By Sirloth in Alliance of Valiant Arms (AVA) Help
    6Last post 13y ago
  • Problem With The New Pb Hw Ban Spoofer!By naomelembro14 in WarRock - International Hacks
    5Last post 19y ago
  • Any new warrock working public hacks with the new pb update ?By george567 in WarRock - International Hacks
    2Last post 19y ago
  • problem with the "New" WeaponsBy NetNavi in WarRock - International Hacks
    27Last post 19y ago

Tags for this Thread

None