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 › Menu Disappears

Menu Disappears

Posts 1–5 of 5 · Page 1 of 1
KL
klofee
Menu Disappears
I've got this (credits to mmbob):
Code:
void ReFont(LPDIRECT3DDEVICE9 pDevice)
{
    if (g_pDevice != pDevice)
    {
        g_pDevice = pDevice;
        try
        {
            if (Directx.pFont != 0)
                Directx.pFont->Release();
        } catch (...) {}
        Directx.pFont = 0;
        D3DXCreateFontA(Here is the font options, but doesn't matter...);
    }
}
EDIT: Got it. Done without "void".
#1 · edited 16y ago · 16y ago
CO
CodeDemon
ReFont(pDevice); /
#2 · 16y ago
LI
LightzOut
Your gonna have to figure that out on your own. It is easy, no one should have to spoonfeed something this simple.
#3 · 16y ago
KL
klofee
ReFont(pDevice);
Ty, but i still don't know where to place it.

I'll try this:
Code:
HRESULT WINAPI gellReset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* pPresentationParameters )
{
	Directx.pFont->OnLostDevice();

	HRESULT hRet = pReset(pDevice, pPresentationParameters);

	Directx.pFont->OnResetDevice();

	ReFont(pDevice);

	return hRet;
}
Edit:
Code:
1>  DirectX.cpp
1>DirectX.cpp(58): error C3861: 'ReFont': identifier not found
#4 · edited 16y ago · 16y ago
DE
DeadLinez
Add this to your gellPresent:
Code:
if (g_pDevice != pDevice)
	{
		g_pDevice = pDevice;
		try
		{
			if (Directx.pFont != 0)
				Directx.pFont->Release();
		} catch (...) {}
		Directx.pFont = 0;
		D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
#5 · 16y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • Drop Down Menu Disappear?By AirforceSS in Combat Arms Help
    9Last post 16y ago
  • Topblast D3D Menu Disappears?By mastermods in Combat Arms Hack Coding / Programming / Source Code
    21Last post 16y ago
  • D3D9 Disappearing MenuBy topblast in Combat Arms Hack Coding / Programming / Source Code
    45Last post 16y ago
  • Fix to menu hacks from disappearing after 1 gameBy machuhoya in Combat Arms Discussions
    4Last post 16y ago
  • [Help] Menu Sprite DisappearBy Dominic95 in Combat Arms Hack Coding / Programming / Source Code
    11Last post 15y ago

Tags for this Thread

None