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 › Programming › C++/C Programming › HEAD ACHE. Ugh I don't understand, I checked like 300 Times

HEAD ACHE. Ugh I don't understand, I checked like 300 Times

Posts 1–5 of 5 · Page 1 of 1
radnomguywfq3
radnomguywfq3
HEAD ACHE. Ugh I don't understand, I checked like 300 Times
Okay I am so fucking curious how the boolean Working, gets the the state of true, I am not running warrock, yet for some fucked up reason the boolean is being set to true. Here

Code:
/*Things For You To Note Notes
Return Types :
0 - Exit Because Of End Of Code
1 - Exit On User Request
2 - Exit On Error

Status Codes :
0 - Off\False
1 - On\True
2 - Error
*/




#include <cstdlib>
#include <iostream>
#include <string>
#include <windows.h>
#include <conio.h>
#include <dos.h>
#include <tlhelp32.h>
#include <stdio.h>

using namespace std;

//Varible Declarations
int TimesUsed = 0;
int status = 0;
bool Working = false;
string OutPutCommand = "";

//Function
void Screen(void)
{
     system("cls");
     cout<<"Programmed In C++ By : Jetamay"<<endl;
     cout<<endl;
     if(status == 0){cout<<"Hack Status [Unactivated]"<<endl;}
     if(status == 1){cout<<"Hack Status [Activated]"<<endl;}
     if(status == 2){cout<<"Hack Status [WarRock Not Found]"<<endl;}
     cout<<"[A] Shotgun - [Used("<<TimesUsed<<")]  Status [NONE]\n"<<endl;
}





struct Addresses{
       DWORD ShotGun;
}WarRock;


long GetProcessID(void)
{
     HANDLE ProcessSnap;
     HANDLE WarRockProcess = NULL;
     PROCESSENTRY32 ProcessInformation;

     ProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
     Process32First(ProcessSnap, &ProcessInformation);

     
     //Start Find Process
     do
     {
              if(strcmp(ProcessInformation.szExeFile,"alg.exe"))
              {
                   Working = true;
                    return ProcessInformation.th32ProcessID;
                    break;
              }
              
     }while(Process32Next(ProcessSnap, &ProcessInformation));
     //End Find Process
     
     if(Working == false){status = 2;}
     else{status = 0;}
     Screen();   
}
void CMDstart(void)
{
     GetProcessID();
     if(Working == true)
     {
     status = 1;
     }
     else{cout<<"\aProcess Not Found"<<endl;
        system("PAUSE");
        status = 3;
        Screen();
     }
}


int main(void)
{
    /*Setup
    Addresses
    Here*/
    Addresses SetUp = WarRock;
    SetUp.ShotGun = 0xdF54;
    Screen();
    
    /*Get Process Id Below*/
    GetProcessID();
    cout<<Working;
    
    while(true)
    {
               Screen();
               cout<<Working<<endl;
               cout<<"Command Line :> ";
               cin>>OutPutCommand;
               cin.get();
               if(OutPutCommand == "exit" || OutPutCommand == "Exit"){return 1;}
               if(OutPutCommand == "Start" || OutPutCommand == "start"){CMDstart();}
               if(OutPutCommand == "Stop" || OutPutCommand == "stop"){status = 0;}
               if(OutPutCommand == "TE" || OutPutCommand == "te"){status = 2;}
               Screen();
    }
    
    system("PAUSE");
    return 0;
}
#1 · 18y ago
sailerboy
sailerboy
dont wory about whether wr is or not running, just put the addresses into a timer and write. If the address isnt there, there shouldnt be an error, and if it is, it should work
#2 · 18y ago
radnomguywfq3
radnomguywfq3
-.- But then it might be getting the wrong process.
#3 · 18y ago
sailerboy
sailerboy
well, if you dont have another thing named warrock.exe, it should work. If you do, just take out the process
#4 · 18y ago
radnomguywfq3
radnomguywfq3
Oommffggg I'm soo fucking stupid its
if(strcmp(ProcessInformation.szExeFile,"WarRock.ex e") == 0)
I forgot to add the '== 0' at the end, Ghad, True means 1+ false means 0. So it must have read it as true.
#5 · 18y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • I don't understand Cheat Engine and VBBy radnomguywfq3 in Visual Basic Programming
    6Last post 19y ago
  • I don't understand adresses like theseBy radnomguywfq3 in Debate Fort
    9Last post 18y ago
  • Boom Head ShotBy styx23 in General
    16Last post 19y ago
  • Freee Heads And ShiBy EleMentX in Entertainment
    9Last post 20y ago
  • I dont understand the tutorialBy ValconGSX in WarRock - International Hacks
    1Last post 20y ago

Tags for this Thread

None