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 › Combat Arms Hacks & Cheats › Combat Arms Europe Hacks › Combat Arms EU Hack Coding/Source Code › [HELP] How to use classes?

Question[HELP] How to use classes?

Posts 1–8 of 8 · Page 1 of 1
CH
ChanceOfHax
[HELP] How to use classes?
Ok...
My question is how to use classes like this one in c++:

[php]if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft < 2){
if(pMain->goToInfoClass->goToWepInfo->iGrenadesLeft = 30);
[/php]

Plz help me
#1 · 15y ago
.::SCHiM::.
.::SCHiM::.
You cannot, those a reveced classes used by people who know what they're doing, you (we) neither have the pointer to that class in memory, nor the reverced struct in our code

Sorry buddy, there's no way in fixing that code
#2 · 15y ago
CH
ChanceOfHax
I have the class:

[php]class Main;
class Info;
class Stats;
class WepInfo;
class Something;

class Main
{
public:
Info* goToInfoClass; //0000
};

class Info
{
public:
char unknown0[8];
__int32 Unknown1; //0008
__int32 iCurrentHealth; //000C
char unknown2[4];
__int32 iMaxHealth; //0014
char unknown3[4];
WepInfo* goToWepInfo;//001C
Something* goToSomething; //0020
char unknown4[348];
float fStamina; //0180
char unknown5[8];
__int32 iWeaponSlotInUse; //018C
float fCameraSomething; //0190
float fCameraSomething2; //0194
float fCameraSomething3; //0198
char unknown6[32];
Stats* goToStats; //01BC
};

class WepInfo
{
public:
__int32 iBackPackABulletsLeft; //0000
__int32 i2ndaryBulletsLeft; //0004
__int32 Unknown0; //0008
__int32 iGrenadesLeft; //000C
__int32 iBackPackBBulletsLeft; //0010
};

class Stats
{
public:
char unknown0[16];
char szLocalNameChangesInKill[16]; //0010
char unknown1[12];
__int32 iKills; //002C
__int32 iDeaths; //0030
char unknown2[44];
__int32 iHeadShots; //0060
};

class Something
{
public:
BYTE bIsAlive; //0000
};[/php]

But why i cant use it?

[php]int cHealth = pMain->gotoInfoClass->iCurrentHealth;[/php]
The error is the pMain?!
#3 · 15y ago
.::SCHiM::.
.::SCHiM::.
Pmain probaly stands for pointer to main, I guess this class would be initialized like this:

Main *Pmain = *(dword*) 0xaddress of the class in memory

But you still lack the address = no pointer to class in memory = no hack, sorry
#4 · 15y ago
CH
ChanceOfHax
I cant get it work there come all time an error -.-

It cant convert Main to pMain??!

Main * Pmain = *(DWORD*)0x377CF260;

PS: the class is for NA only xDD
#5 · edited 15y ago · 15y ago
.::SCHiM::.
.::SCHiM::.
Quote Originally Posted by ChanceOfHax View Post
I cant get it work there come all time an error -.-

It cant convert Main to pMain??!

Main * Pmain = *(DWORD*)0x377CF260;

PS: the class is for NA only xDD
if '0x377CF260' the address you need, that should work
#6 · 15y ago
CH
ChanceOfHax
The error is that he cant convert Main to dword pmain how to define now?!
#7 · 15y ago
.::SCHiM::.
.::SCHiM::.
Quote Originally Posted by ChanceOfHax View Post
The error is that he cant convert Main to dword pmain how to define now?!
Post the exact error code, and your sourcecode
if you want me to help you
#8 · 15y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • [HELP] How to use classes?By ChanceOfHax in Combat Arms Hack Coding / Programming / Source Code
    8Last post 15y ago
  • [Help]How to use Topblast d3d test environment?By NOOBJr in Combat Arms Hack Coding / Programming / Source Code
    14Last post 15y ago
  • [Help]How to use "Next"By Matrix10 in Visual Basic Programming
    9Last post 16y ago
  • (i need help) how to use dev-c++By u1111u in C++/C Programming
    6Last post 17y ago
  • Help! how to use ardamax keyloggBy gmgundamx7 in WarRock - International Hacks
    8Last post 19y ago

Tags for this Thread

None