Leevim (09-18-2010)
Hey guys , finnaly I have my own menu and I've error after 1 game the menu go (not totally) I can turn hacks on or off but I don't see where am I ...
There is way to fix it ? thanks for help! (I'm using Hans+Gellins base by whit)
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Leevim (09-18-2010)
whit base doesn't has like this Problem
but to fix it
i think you need to create new font and Refresh the menu and show it again
show menu not by insert key it's
this Example don't work with you
Menu.show
Menu.ShowItems
Menu.show(char ,* Pfont....)
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
like this man
[php]
if (GetAsyncKeyState(VK_DELETE)&1){
//Create new Font
D3DXCreateFontW(pDevice, 15, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Comic Sans MS", &Directx.pFont );
Menu.MenuShow(menux,menuy,Directx.pFont);//show menu
Menu.MenuNav();
}
[/php]
just Copy and Paste last thing into RenderFrame....(Base.cpp)
and use Delete key to see the Menu again
if not work Tell me
Last edited by mo3ad001; 09-04-2010 at 09:23 PM.
o-o (09-05-2010)
Add a wile in renderframe and post the code of mo3ad
Probably not resetting your font correctly... or if you're using ID3DXFont then use another font class.
Yes i'm using ID3D3XFont .. what font I have to use ?
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Stopping your font from disappearing is actually very simple.
At the top of your code, after your #includes and #defines, add a line:
Code:
You can change g_pDevice to whatever you want.Code:LPDIRECT3DDEVICE9 g_pDevice = 0;
Next, in your hooked Present/Endscene, add an if block like this:
Code:
The try/catch is VERY important. If you dont have it you will probably crash CA. What it does it takes all those errors that pop up like referenced memory and stops them from showing.Code:if (g_pDevice != pDevice) { g_pDevice = pDevice; try { if (pFont != 0) pFont->Release(); } catch (...) {} pFont = 0; D3DXCreateFontA(Do whatever you normally do); }
i dont take credits
full credits to DJ UN1V3r5aL
from another site
and with that you dont even need to press a button
Mo3ad way works but there's litttttttle bugs Thanks all /close req
Last edited by o-o; 09-05-2010 at 06:23 AM.
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
my one works without bugs did you test it ? what problems do you get
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
where can i find this menue hack? surce?