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 Hack Coding / Programming / Source Code › Search Addy Crash!

Search Addy Crash!

Posts 1–15 of 19 · Page 1 of 2
SF-Abel
SF-Abel
Search Addy Crash!
For some reason I crash!

Code:
void cBase::Update(void)
{
	while(1)
	{
		if(FindAddresses == false)
		{
                        DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
			FindAddresses = true;
		}

		Sleep(1000);
	}
}
#1 · 15y ago
FA
Fabolous
Quote Originally Posted by SF-Abel View Post
For some reason I crash!

Code:
void cBase::Update(void)
{
	while(1)
	{
		if(FindAddresses == false)
		{
                        DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
			FindAddresses = true;
		}

		Sleep(1000);
	}
}
Lol why do you create a thread for it , i dont even use the thread at all. Well i dont even use scans at all. /
#2 · 15y ago
markoj
markoj
Most likely not waiting for Cshell to be loaded before your searching


Code:
bool IsGameReadyForHook(void)
{
    if(GetModuleHandleA( "CShell.dll"   ) != NULL )
        return true;
	return false;
}
Code:
while( !IsGameReadyForHook() )
void cBase::Update(void)
{
	while(1)
	{
		if(FindAddresses == false)
		{
                        DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
			FindAddresses = true;
		}

		Sleep(1000);
	}
}
#3 · 15y ago
SF-Abel
SF-Abel
Quote Originally Posted by markoj View Post
Most likely not waiting for Cshell to be loaded before your searching


Code:
bool IsGameReadyForHook(void)
{
    if(GetModuleHandleA( "CShell.dll"   ) != NULL )
        return true;
	return false;
}
Code:
while( !IsGameReadyForHook() )
void cBase::Update(void)
{
	while(1)
	{
		if(FindAddresses == false)
		{
                        DWORD dwNoRecoil1 = FindPattern(dwCShell, 0x900000, (PBYTE)"\xD8\x66\x54\xD9\x5C\x24\x14\xD9\x44\x24\x14\xEB\x02\xDD\xD8\xD9\xC0", "xxxxxxxxxxxxxxxxx" );
			FindAddresses = true;
		}

		Sleep(1000);
	}
}
thats what i had. no good.
#4 · 15y ago
SY
Synns
Why is it in a loop?
#5 · 15y ago
SF-Abel
SF-Abel
Quote Originally Posted by Tyrannus View Post
Why is it in a loop?
To search for addies?
#6 · 15y ago
SY
Synns
Quote Originally Posted by SF-Abel View Post
To search for addies?

Code:
DWORD dwCShell;

void GetAddresses( )
{

	do {
		dwCShell = (DWORD)GetModuleHandleA(L"CShell.dll");
		Sleep(1000);
	} while(!dwCShell);

       DWORD dwAddress = FindPattern(...);

}

CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)GetAddresses, 0, 0, 0 );
edit:

Remember to check if the address is valid.
#7 · edited 15y ago · 15y ago
kotentopf
kotentopf
[php]bool cReadys::ReadyForSearch()
{
if(GetModuleHandle( L"ClientFX.fxd" ) != NULL
&& GetModuleHandle( L"CShell.dll" ) != NULL)
return true;
else
return false;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
void cMisc::SearchAddies()
{
//Removed my Scans
Hack.Readys.FinAddresses = true;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
DWORD __stdcall CallAddresses(LPVOID)
{

while(!Hack.Readys.ReadyForSearch())
Sleep(1);

Hack.Misc.SearchAddies();

return 0;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
bool cReadys::IsIngame()
{
if(Hack.Readys.FinAddresses == false)
return false;

typedef bool (*BV)(void);
DWORD* LTBase = (DWORD*)Hack.Addresses. LTB;
BV pConnected = *(BV*)(*LTBase + 0x8C);

return pConnected();
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
if(Hack.Readys.IsIngame())
{
//HACKING!
}
[/php]

is that enough?
#8 · edited 15y ago · 15y ago
ac1d_buRn
ac1d_buRn
Quote Originally Posted by kotentopf View Post
[php]bool cReadys::ReadyForSearch()
{
if(GetModuleHandle( L"ClientFX.fxd" ) != NULL
&& GetModuleHandle( L"CShell.dll" ) != NULL)
return true;
else
return false;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
void cMisc::SearchAddies()
{
//Removed my Scans
Hack.Readys.FinAddresses = true;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
DWORD __stdcall CallAddresses(LPVOID)
{

while(!Hack.Readys.ReadyForSearch())
Sleep(1);

Hack.Misc.SearchAddies();

return 0;
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
bool cReadys::IsIngame()
{
if(Hack.Readys.FinAddresses == false)
return false;

typedef bool (*BV)(void);
DWORD* LTBase = (DWORD*)Hack.Addresses. LTB;
BV pConnected = *(BV*)(*LTBase + 0x8C);

return pConnected();
}
//---------------------------------------------------------------------
//---------------------------------------------------------------------
//---------------------------------------------------------------------
if(Hack.Readys.IsIngame())
{
//HACKING!
}
[/php]

is that enough?
he'll probably want the classes to go with it /
#9 · 15y ago
kotentopf
kotentopf
Quote Originally Posted by ac1d_buRn View Post


he'll probably want the classes to go with it /
[php]
typedef DWORD ADDY;

class cAddresses{
public:
ADDY LTClient;//Engine LTC
ADDY ASUS;//Glass Walls
ADDY Recoil;//NoRecoil
ADDY Reload;//NoReload(Visual)
ADDY Bypass;//Semi Bypass
ADDY RPP;//RandomPlayerPointer
ADDY LPP;//LocalPlayerPointer
ADDY Info;//Pointer for the Infoclass
ADDY LTB;//CShell LTC
ADDY SuperBullet;//Superbullets
bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask);//Need for Pattern
ADDY FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);//Search for an Addres and return it
};


class cReadys{
public:
bool ReadyForSearch();//Return true, when all needed Files Loaded
bool MouseIsOver(int x, int y, int w, int h);//Return true, when the Mouse is in the section
bool MouseIsIn(int x1, int y1, int x2, int y2);//Return true, if the Mosue is in the SQUAD
bool IsIngame();//Return true, when u are ingame
bool FinAddresses;//Is True, after SigScan
bool ReadyForHook();//Return true, when D3D can be enabled
};


class cValues{
public:
POINT MousePos;//MousePosition
int FontR, FontG, FontB;//FontColors
int MenuR, MenuG, MenuB;//MenuColors
int CrossR, CrossG, CrossB;//Crosshaircolor
int CrossSize;//Crosshairsize
int Infox,Infoy;//Infoposition
int Ammox,Ammoy;//Ammoposition
int HPx,HPy;//Healtbarposition
int Flykey, Hoverkey;//The Keys for the named hack
};


class cMisc{
public:
int WritePrivateProfileInt(LPCTSTR lpAppName, LPCTSTR lpKeyName, int nInteger, LPCTSTR lpFileName);//Write values, not strings
char *GetFrameRate();//Current FPS, NEED Globals
char *Fontname;//The Fontname
char *Path;//The SafePath
void GetMouse(POINT &Mouse);//Convert to the Local MousePosition
void OPK();//The void for the OPKThread
void HEXMemory(PVOID address, void* val, int bytes);//Edit the BYTES of an address
void SearchAddies();//Search for addies, convert a bool to true after finish scan
void HackIt(int sleep);//Normal hack void, best value is 250
void PermaHack();//For Hacks like Hover
void ConvertToKey(int &Key);//Convert an integer to the value of the pressed Key
void SetUp();//Set all by startup(Not D3D)
void SetUp3D();//Set all by startup(D3D Only)
void PatchCommand(bool OnOffVal, char *command, int On, int Off);//RunConsoleCommand
RCC RunConsoleCommand;
};


class cHack{
public:
cAddresses Addresses;//All addresses and the addresssearch
cReadys Readys;//All setting where return true if this is ok
cValues Values;//All Values for the DLL
cMisc Misc;//The other functions and settings
};
extern class cHack Hack;[/php]
#10 · 15y ago
PP
ppl2pass
Quote Originally Posted by Tyrannus View Post
Code:
DWORD dwCShell;

void GetAddresses( )
{

	do {
		dwCShell = (DWORD)GetModuleHandleA(L"CShell.dll");
		Sleep(1000);
	} while(!dwCShell);

       DWORD dwAddress = FindPattern(...);

}

CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)GetAddresses, 0, 0, 0 );
edit:

Remember to check if the address is valid.
This is detected. D/cs after 5 mins in game.
#11 · 15y ago
SF-Abel
SF-Abel
Quote Originally Posted by ppl2pass View Post
This is detected. D/cs after 5 mins in game.
somehow you are right. it dcs me when i use it. without it i dont dc.
#12 · 15y ago
SY
Synns
What did I say before? Check if the address is valid..
#13 · 15y ago
SF-Abel
SF-Abel
Quote Originally Posted by Tyrannus View Post
What did I say before? Check if the address is valid..
it gathers the addresses correctly. however if i use those addresses it works for a few minutes and dcs me.
#14 · 15y ago
SY
Synns
Quote Originally Posted by SF-Abel View Post
it gathers the addresses correctly. however if i use those addresses in my hack it dcs me.
Post the code you are using.
#15 · 15y ago
Posts 1–15 of 19 · Page 1 of 2

Post a Reply

Tags for this Thread

None