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 › Call of Duty Hacks & Cheats › Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats › Call of Duty Modern Warfare 3 Coding, Programming & Source Code › DrawText error on mw3

DrawText error on mw3

Posts 1–6 of 6 · Page 1 of 1
niko1921
niko1921
DrawText error on mw3
Hi everyone, i'm triying call DrawText from IW5 engine without R_EndFrame hook or another game func, my code is the following:


Code:
void DrawCommonText(float x, float y, float fsize, char* txt)
{
        // IW5 drawengine...
	EngineDrawText(txt, strlen(txt), FontA, x, y, fsize, fsize, 0, WHITE, 3);
}

void InitDraw()
{
	while (1)
	{
		static int z = 0;
		DrawCommonText(200, 50, 1, "^6 Working!");
	
		Sleep(1);

	}
}

// called from a new thread created from DllMain();
void Main()
{
        HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessId());

	DWORD thidr;

	HANDLE thr = CreateRemoteThread(hProcess, NULL, 0, (LPTHREAD_START_ROUTINE)InitDraw, (PVOID)NULL, 0, &thidr);

	if (thr != NULL)
		MessageBox(NULL, L"Remote thread created!", L"Success!", MB_OK | MB_ICONASTERISK);

}


well, this works but for a few seconds, then the game crashes telling me something like:


Name of the problem event: APPCRASH
** Name of the application: iw5mp.exe
** Application Version: 0.0.0.0
** Application timestamp: 4f186c8f
** Name of the module with errors: StackHash_0a9e
** Module version with errors: 0.0.0.0
** Module timestamp with errors: 00000000
** Exception code: c0000005
** Displacement exception: 3cd82408
** Operating system version: 6.1.7601.2.1.0.256.1
** Regional Settings Id: 11274
** Additional Information 1: 0a9e
** Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
** Additional Information 3: 0a9e
** Additional Information 4: 0a9e372d3b4ad19135b953a78882e789



Any idea how i can solve it? thanks to all.. Greetings.-
#1 · 9y ago
Silent
[MPGH]Silent
Google the exception code.
http://bfy.tw/9eqj
#2 · 9y ago
niko1921
niko1921
yes, it is due to a memory constraint, i thinks that it haven't solution, thx *****...
#3 · edited 8y ago · 9y ago
niko1921
niko1921
Quote Originally Posted by niko1921 View Post
yes, it is due to a memory constraint, i thinks that it haven't solution, thx *******...
It's not solved, but i've solved creating my own device on directx...
close this...
#4 · edited 8y ago · 9y ago
Hitokiri~
Hitokiri~
Quote Originally Posted by niko1921 View Post
It's not solved, but i've solved creating my own device on directx...
close this...
Acquire the directx ownership in your thread, draw the text, release ownership.
#5 · 9y ago
niko1921
niko1921
Quote Originally Posted by Hitokiri~ View Post

Acquire the directx ownership in your thread, draw the text, release ownership.
Device ptr? yes, i'll try it... thx.
#6 · 9y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • MW3 error - need help to resolve itBy moklin in Call of Duty Modern Warfare 3 Help
    6Last post 14y ago
  • MW3 Server error: the server have a different version : 1.4By mattoe123 in Call of Duty Modern Warfare 3 Help
    6Last post 14y ago
  • mw3 multiplayer errorBy taco900 in Call of Duty Modern Warfare 3 Help
    0Last post 14y ago
  • MW3 DirectX Unrecoverable Error.By ERHGAERHAERHEARher in Call of Duty Modern Warfare 3 Help
    11Last post 14y ago
  • Teknogod MW3 Error Exceeded limit of 64 'Attachments' assetsBy kd9au in Call of Duty Modern Warfare 3 Private Server Hacks
    13Last post 13y ago

Tags for this Thread

#drawtext