Solved DIRECTX MENU HACK error

Hexui Undetected CSGO Cheats PUBG Accounts

Fox

Newbie
Full Member
Mar 27, 2013
8
172
0
Here's the code:
C#:
void Hacks::DrawMenu(IDirect3DDevice9 *d3dDevice)
{
	if(!hack[HIDE_MENU].on)
	{
		DrawFilledRectangle(55, 20, 200, 50, fontBlue, d3dDevice);
		DrawBorderBox(55, 20, 200, 50, 4, fontBlack, d3dDevice);
		DrawTextA("GAME NAME HERE", 190, 30, fontWhite);

		DrawFilledRectangle(30, 55, 250, (62*MAX_MENU_ITEMS), fontBlue, d3dDevice);
		DrawBorderBox(30, 55, 250, (62*MAX_MENU_ITEMS), 6, fontBlack, d3dDevice);
	}

}
Error at: FIXED
C#:
DrawTextA("GAME NAME HERE", 190, 30, fontWhite);
GAME NAME HERE:


190:


fontWhite:


Please help me. Thanks in advance.
 
Last edited:

Rake

I'm not your friend
Administrator
Jan 21, 2014
13,032
79,068
2,469

Crazywink

Hacker
Meme Tier VIP
Dank Tier Donator
Jul 18, 2012
626
4,613
17
What are your DrawTextA parameters? Also, I think this may be an issue with multi/singleline.

-Crazywink
 

Fox

Newbie
Full Member
Mar 27, 2013
8
172
0
Nvm, I fixed the error. But I need another help. I'm using Windows 7 64bit, the is no menu appear after i successfully injected the dll.
 
Last edited:

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,183
19,938
76
Nvm, I fixed the error. But I need another help. I'm using Windows 7 64bit, the is no menu appear after i successfully injected the dll.
Make sure you inject before CreateDevice gets called (ie. get an automatic injector), and it probably won't due to the nature of the hook used.
 
Community Mods