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 › Combat Arms Coding Help & Discussion › CodeDemon's Base still dc's

CodeDemon's Base still dc's

Posts 1–13 of 13 · Page 1 of 1
eXaLtIc™
eXaLtIc™
CodeDemon's Base still dc's
Ok he told me to add gellins detours in it and i did but it still dc's wdf plz help
#1 · 15y ago
flameswor10
flameswor10
Find a new detour. Dont make threads on mpgh, you'll get flamed or something. You've got me on msn remember?
#2 · 15y ago
CO
CodeDemon
Replace
Code:
HRESULT WINAPI EndScene(LPDIRECT3DDEVICE9 pDevice)
{
	ReFont(pDevice);
	dMenu.BuildMenu("CodeDemon's Menu Base",0,0,180,200,RED,BLACK,GREEN,pDevice);
	TestThread();
	return pEndScene(pDevice);
}
with
Code:
HRESULT WINAPI Present(LPDIRECT3DDEVICE9 pDevice, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
{	
	ReFont(pDevice);
	dMenu.BuildMenu("CodeDemon's Menu Base",0,0,180,200,RED,BLACK,GREEN,pDevice);
	TestThread();

	return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}
replace(in DemonMenuClass.h):
Code:
typedef HRESULT (WINAPI* oEndScene)(LPDIRECT3DDEVICE9 pDevice);
with

Code:
typedef HRESULT ( WINAPI* oPresent ) ( LPDIRECT3DDEVICE9 pDevice, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion);
In your globals(d3dbase.cpp)

replace
Code:
oEndScene pEndScene;
with

Code:
oPresent pPresent;
add in
Code:
CDetour cPresent,cReset;
go down to the d3d hook and replace
Code:
		pReset	  = (oReset)	DetourFunction((PBYTE)vtbl[16]   , (PBYTE)Reset   ,5);
 		pEndScene = (oEndScene)	DetourFunction((PBYTE)vtbl[42], (PBYTE)EndScene,5);
with

Code:
		pReset   = (oReset)cReset.Create    (( BYTE* )vtbl[16],   ( BYTE* )Reset,   DETOUR_TYPE_JMP );
		pPresent = (oPresent)cPresent.Create(( BYTE* )vtbl[17],   ( BYTE* )Present, DETOUR_TYPE_JMP );
#3 · 15y ago
eXaLtIc™
eXaLtIc™
Ok thanks i got Gellins detours now i just need to do what you said
#4 · 15y ago
whatup777
whatup777
Really should have been easy to fix.
#5 · 15y ago
SC
scimmyboy
this method is detected i believe
#6 · 15y ago
eXaLtIc™
eXaLtIc™
Quote Originally Posted by scimmyboy View Post
this method is detected i believe
Yeah it is i still dc when i put that in
#7 · 15y ago
SC
scimmyboy
Quote Originally Posted by eXaLtIc™ View Post
Yeah it is i still dc when i put that in
yup. This hook method is detected.
#8 · 15y ago
CO
CodeDemon
Works fine for me /
#9 · 15y ago
SC
scimmyboy
idk. This hooking method seems to be unreliable
#10 · 15y ago
zatchbell3
zatchbell3
try to pack it, with liek themida,i packed my hotkey hack with themida and it didnt disconnect after that
#11 · 15y ago
SC
scimmyboy
themida crashes the game. HS scans for themida packed modules
#12 · 15y ago
Mr.Magicman
Mr.Magicman
Scrimmy your an asshole to these people atm /
#13 · 15y ago
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

  • CodeDemon's BaseBy austen407 in Combat Arms Help
    2Last post 15y ago
  • CodeDemon's BaseBy austen407 in Combat Arms Coding Help & Discussion
    13Last post 15y ago
  • [Question] FindPattern in CodeDemons D3D BaseBy Alessandro10 in Combat Arms Coding Help & Discussion
    4Last post 15y ago
  • CodeDemon's D3D Menu BaseBy CodeDemon in Combat Arms Hack Coding / Programming / Source Code
    98Last post 15y ago
  • Question for codedemons base?By eXaLtIc™ in Combat Arms Hack Coding / Programming / Source Code
    37Last post 16y ago

Tags for this Thread

None