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 › Should I finish beginner stage before hacking?

Should I finish beginner stage before hacking?

Posts 1–11 of 11 · Page 1 of 1
KA
Kalist
Should I finish beginner stage before hacking?
Ok. So I am still in the beginner stage in C++ learning the syntax. I am console programming still. Should I keep refining and perfecting my skills in the console before jumping into the hacking world of C++? Do I even benefit from console programming?

I've read half of the book: "Accelerated C++".
I've also read half of the book "Jumping into C++" - By Allex Allein.
I am currently reading C++ Primer 5th edition (which I am actually planning to finish).

Is it normal that it took me that long to learn the syntax? I haven't looked into templates and metaprogramming yet.

I am only reading like 50 pages of a book each day, I am reading slow because I am paying close attention to the details.

How many books should I read about syntax before jumping into game hacking? How long did it take you guys?

Alot of questions at once, sorry. But I hope you can answer some of them! Yet again thanks for reading!
#1 · 13y ago
KE
Kenshin13
I'd recommend you learn the whole of C++ before you start hacking. I can't remember how long it took me but basic C++ is required even in advanced forms of hacking.

See if you understand this:
Code:
typedef struct
{
   int x, y, w, h;
   float* CalcDimensions();
} cScreenMatrix;

float* cScreenMatrix::CalcDimensions( int V )
{
   float Screen[4] = { 0.f };
   if( !this->x || !this->y || !this->w || !this->z )
         Screen = { -1.f };
   else
   {
      this->x *= GetX();
      this->y += ( V >> GetY() );
      this->w += this->x;
      this->h /= ( this->w | GetH() );
    }
    for( ; this->x > V; this->x++ )
         Screen[1] += x;
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) );
    return &Screen;
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN;
God I'm bored. Anyways, if you have a basic understanding of the above, you should be good for intermediate hacks.
#2 · edited 13y ago · 13y ago
RI
rifle3
im bad and all i got was a for loop
#3 · 13y ago
duyxngoc94
duyxngoc94
Code:
typedef struct // dunno, i don't do c++
{
   int x, y, w, h; // declaring variables
   float* CalcDimensions(); // function
} cScreenMatrix; // dunno, declaring that this program has to do with screen positioning?

float* cScreenMatrix::CalcDimensions( int V ) // the function itself
{
   float Screen[4] = { 0.f }; // no idea
   if( !this->x || !this->y || !this->w || !this->z ) // if something is equal to x, y, w, or z
         Screen = { -1.f }; // screen does something
   else
   {
      this->x *= GetX(); // x = x * getx
      this->y += ( V >> GetY() ); // y = y + (v >> gety)
      this->w += this->x; // w = w + x
      this->h /= ( this->w | GetH() ); // h = h / (something)
    }
    for( ; this->x > V; this->x++ ) // if x is less than v, then x goes up 1
         Screen[1] += x; // screen does something
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) ); // something to do with memory, and size of screen
    return &Screen; // screen is given a new value and updated
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN; // something to do with off screen
Sorry I only have knowledge in C
#4 · 13y ago
KE
Kenshin13
Quote Originally Posted by duyxngoc94 View Post
Code:
typedef struct // dunno, i don't do c++
{
   int x, y, w, h; // declaring variables
   float* CalcDimensions(); // function
} cScreenMatrix; // dunno, declaring that this program has to do with screen positioning?

float* cScreenMatrix::CalcDimensions( int V ) // the function itself
{
   float Screen[4] = { 0.f }; // no idea
   if( !this->x || !this->y || !this->w || !this->z ) // if something is equal to x, y, w, or z
         Screen = { -1.f }; // screen does something
   else
   {
      this->x *= GetX(); // x = x * getx
      this->y += ( V >> GetY() ); // y = y + (v >> gety)
      this->w += this->x; // w = w + x
      this->h /= ( this->w | GetH() ); // h = h / (something)
    }
    for( ; this->x > V; this->x++ ) // if x is less than v, then x goes up 1
         Screen[1] += x; // screen does something
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) ); // something to do with memory, and size of screen
    return &Screen; // screen is given a new value and updated
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN; // something to do with off screen
Sorry I only have knowledge in C
That is C.
#5 · 13y ago
duyxngoc94
duyxngoc94
Well I tried my best. That's all I got.
#6 · 13y ago
kokole
kokole
Quote Originally Posted by Kenshin13 View Post
I'd recommend you learn the whole of C++ before you start hacking. I can't remember how long it took me but basic C++ is required even in advanced forms of hacking.

See if you understand this:
Code:
typedef struct
{
   int x, y, w, h;
   float* CalcDimensions();
} cScreenMatrix;

float* cScreenMatrix::CalcDimensions( int V )
{
   float Screen[4] = { 0.f };
   if( !this->x || !this->y || !this->w || !this->z )
         Screen = { -1.f };
   else
   {
      this->x *= GetX();
      this->y += ( V >> GetY() );
      this->w += this->x;
      this->h /= ( this->w | GetH() );
    }
    for( ; this->x > V; this->x++ )
         Screen[1] += x;
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) );
    return &Screen;
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN;
God I'm bored. Anyways, if you have a basic understanding of the above, you should be good for intermediate hacks.
Not true lol. Just depends what type of hacks are you going to do. You dont even need to know programming to use cheat engine for example.

And that code you posted obviously depends of the game, you dont need to know that to learn C++
#7 · edited 13y ago · 13y ago
KE
Kenshin13
Quote Originally Posted by kokole View Post
Not true lol. Just depends what type of hacks are you going to do. You dont even need to know programming to use cheat engine for example.

And that code you posted obviously depends of the game, you dont need to know that to learn C++
Most games here could be used with that. Even flash games have structures. CE is for basic hacks. If he wanted to make CE hacks, he'd never bother learning C.
#8 · 13y ago
kokole
kokole
Quote Originally Posted by Kenshin13 View Post

Most games here could be used with that. Even flash games have structures. CE is for basic hacks. If he wanted to make CE hacks, he'd never bother learning C.
But you meant logic or just what it does (your code)? If you mean the second thing then ok
#9 · 13y ago
KE
Kenshin13
Code:
typedef struct // Typedefining a structure to be used as an object
{
   int x, y, w, h; // declaring variables - Yep
   float* CalcDimensions( int V ); // function - Yep
} cScreenMatrix; // The above structure will now be known as an object "cScreenMatrix". This is more like a outline of an object rather than the object itself. You can only use this to create objects

float* cScreenMatrix::CalcDimensions( int V ) // the function itself - Yep
{
   float Screen[4] = { 0.f }; // Declares a float array (4-float stored one after another in the memory) and initialize them all to 0.0f
   if( !this->x || !this->y || !this->w || !this->z ) // Checks the variables in the said object is 0. The "this->" means the variables in the current object
         Screen = { -1.f }; // Assigns all the variables in Screen array to -1.
   else
   {
      this->x *= GetX(); // x = x * getx() - Yep
      this->y += ( V >> GetY() ); // y = y + (v >> gety()) - Yep
      this->w += this->x; // Takes the object's x value and adds it to it's w value
      this->h /= ( this->w | GetH() ); // Takes the object's w value and does a bitwise OR (Yes, C language here, look up bitwise operations) against the value returned by GetH()
    }
    for( ; this->x > V; this->x++ ) // if x is less than v, then x goes up 1 - Yep but it increases the object's X value
         Screen[1] += x; // Second variable in Screen array is increased by the value of x
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) ); // Copies the values of the screen array to the object's memory location
    return &Screen; // This returns the address of the Screen array in the memory.
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN; // Creates a new object of cScreenMatrix called X and maps it's memory location to the value OFF_SCREEN
So from this:

Code:
//Some function
...
    float* OffsetOfCalculatedScreenDimensions = x->CalcDimensions(1);
//Now x contains the values of OffsetOfCalculatedScreenDimensions in it's structure
#10 · edited 13y ago · 13y ago
J0nathan27
J0nathan27
Quote Originally Posted by Kenshin13 View Post
I'd recommend you learn the whole of C++ before you start hacking. I can't remember how long it took me but basic C++ is required even in advanced forms of hacking.

See if you understand this:
Code:
typedef struct
{
   int x, y, w, h;
   float* CalcDimensions();
} cScreenMatrix;

float* cScreenMatrix::CalcDimensions( int V )
{
   float Screen[4] = { 0.f };
   if( !this->x || !this->y || !this->w || !this->z )
         Screen = { -1.f };
   else
   {
      this->x *= GetX();
      this->y += ( V >> GetY() );
      this->w += this->x;
      this->h /= ( this->w | GetH() );
    }
    for( ; this->x > V; this->x++ )
         Screen[1] += x;
    memcpy( (PVOID)&Screen, (PVOID)&this->x, sizeof(cScreenMatrix) );
    return &Screen;
}

cScreenMatrix* x = (cScreenMatrix*)OFF_SCREEN;
God I'm bored. Anyways, if you have a basic understanding of the above, you should be good for intermediate hacks.
olololololololol once i got to the last sentence (God I'm bored. Anyways, if you have a basic understanding of the above, you should be good for intermediate hacks. ) i was like im not making any kind of hacks anytime soon
#11 · 13y ago
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

  • Ban on public hacking? There should be IQ tests before hacks can be downloaded -__-"By bedradi in Vindictus Discussions
    14Last post 14y ago
  • A Beginners Kit to Hacking and other things...By Seem in General Hacking
    3Last post 18y ago
  • Should i post some old/new hacking Tuts?By penrd in Spammers Corner
    6Last post 17y ago
  • There should be no more MPGH public hack [Come in if you want some e-drama]By Hyperion in Combat Arms Hacks & Cheats
    20Last post 17y ago
  • Should Choobs Be Able To Download HacksBy EyeShotz in Combat Arms Hacks & Cheats
    136Last post 17y ago

Tags for this Thread

None