Menu Does NOT show up

Posts 1–11 of 11 · Page 1 of 1
Menu Does NOT show up
I'm using Whits Base V1 and i inject and nothing shows up,

If you guys need source code
This is it ( Parts )

Globals:
Code:
LPD3DXSPRITE Sprite;
LPDIRECT3DTEXTURE9 MenuTexture;
static BOOL Create = TRUE;

Present/EndScene
Code:
	if(Directx.pFont == NULL)
	D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial Black", &Directx.pFont );

	if (Mmax==0) Menu.RenderMenu();
		if(Mvisible){
			if(Create)
			{
			D3DXCreateTextureFromFileInMemory(pDevice,&Menu,sizeof(Menupic),&MenuTexture);
			D3DXCreateSprite(pDevice,&Sprite);
			Create = FALSE;
			D3DXVECTOR3 POS;

			POS.x = 10;
			POS.y = 300;
			POS.z = 0;

			Sprite->Begin(NULL);
			Sprite->Draw(MenuTexture,NULL,NULL,&POS,0xFFFFFFFF);
			Sprite->End();
			}
Declaring bytes:
Code:
BYTE Menupic[] = {Long Code};

HELP!
I had the same problem. It's probably your hook.
Quote Originally Posted by AtomicStone View Post
I'm using Whits Base V1 and i inject and nothing shows up,

If you guys need source code
This is it ( Parts )

Globals:
Code:
LPD3DXSPRITE Sprite;
LPDIRECT3DTEXTURE9 MenuTexture;
static BOOL Create = TRUE;

Present/EndScene
Code:
	if(Directx.pFont == NULL)
	D3DXCreateFontA(pDevice, 15, 0, FW_BOLD, 0, 0, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, PROOF_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial Black", &Directx.pFont );

	if (Mmax==0) Menu.RenderMenu();
		if(Mvisible){
			if(Create)
			{
			D3DXCreateTextureFromFileInMemory(pDevice,&Menu,sizeof(Menupic),&MenuTexture);
			D3DXCreateSprite(pDevice,&Sprite);
			Create = FALSE;
			D3DXVECTOR3 POS;

			POS.x = 10;
			POS.y = 300;
			POS.z = 0;

			Sprite->Begin(NULL);
			Sprite->Draw(MenuTexture,NULL,NULL,&POS,0xFFFFFFFF);
			Sprite->End();
			}
Declaring bytes:
Code:
BYTE Menupic[] = {Long Code};

HELP!
Should be:

Code:
if(Create){
    D3DXCreateTextureFromFileInMemory(pDevice,&Menupic,sizeof(Menupic),&MenuTexture);
    D3DXCreateSprite(pDevice,&Sprite);
    Create = FALSE;
  }  

    D3DXVECTOR3 POS;
    POS.x = 15;
    POS.y = 15;
    POS.z = 0; 

	if (Mmax==0) Menu.RenderMenu();
		if(Mvisible){
			Sprite->Begin(D3DXSPRITE_ALPHABLEND);
            Sprite->Draw(MenuTexture,NULL,NULL,&POS,0xFFFFFFFF);
            Sprite->End(); 

		}
Quote Originally Posted by CAFlames View Post


Should be:

Code:
if(Create){
    D3DXCreateTextureFromFileInMemory(pDevice,&Menupic,sizeof(Menupic),&MenuTexture);
    D3DXCreateSprite(pDevice,&Sprite);
    Create = FALSE;
  }  

    D3DXVECTOR3 POS;
    POS.x = 15;
    POS.y = 15;
    POS.z = 0; 

	if (Mmax==0) Menu.RenderMenu();
		if(Mvisible){
			Sprite->Begin(D3DXSPRITE_ALPHABLEND);
            Sprite->Draw(MenuTexture,NULL,NULL,&POS,0xFFFFFFFF);
            Sprite->End(); 

		}
if above doesn't work make sure ur hook isn't detected, see if all ur addies are up to date and then check ur functions & re-draws.
CAFlames did the same thing as my friend did. Thanks Now I'm fixing anothe rproblem, ( DONT NEED HELP )
Request close
Quote Originally Posted by AtomicStone View Post
CAFlames did the same thing as my friend did. Thanks Now I'm fixing anothe rproblem, ( DONT NEED HELP )
Request close
should be /request close

mods get those with / in front of it.

so...

/request close
Quote Originally Posted by Wilds View Post
should be /request close

mods get those with / in front of it.

so...

/request close
No they dont lmfao
did u reset it? and recreate it?

-.-
Quote Originally Posted by Reimy View Post
did u reset it? and recreate it?

-.-
Your choice of words are to complicated for his brain. Try saying
does your menu font rest every frame? Its easier.
Quote Originally Posted by NOOBJr View Post


Your choice of words are to complicated for his brain. Try saying
does your menu font rest every frame? Its easier.
too complicated still...
Every time the picture on the screen change a little bit do you make the font again
Quote Originally Posted by _Fk127_ View Post
too complicated still...
Every time the picture on the screen change a little bit do you make the font again
You are correct once again
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?