f you use the base (whit / gellin / hans). Problem is here:
To Fix:Code:D3DXCreateFont -> pDevice / g_pDevice.
Code:if (g_pDevice != pDevice) { g_pDevice = pDevice; ............................. Now you should know how to proceed?
Well,I started coding this hack so far,and its all working,except for like,the menu will disappear and some times not show all the hacks because part of the list of jut like gone and i can tell because half a word liek the top and bottom will be chopped off,Any ideas on how i can fix this?
So far it looks liek this
ScreenShot:
And it disappears once i go into game and then come to lobby it will be gone and wont pop back up
Last edited by zatchbell3; 02-08-2011 at 10:36 PM.
f you use the base (whit / gellin / hans). Problem is here:
To Fix:Code:D3DXCreateFont -> pDevice / g_pDevice.
Code:if (g_pDevice != pDevice) { g_pDevice = pDevice; ............................. Now you should know how to proceed?
if(GetAsyncKeyState(VK_NUMPAD1)&1){
Call the Font here again.
}
Or just use the function above me.
Thanks Cosmos
Code:void c3DMisc::SetFont(LPDIRECT3DDEVICE9 pDevice) { if( D3D.Settings.pFont == NULL ){ D3DXCreateFontA(pDevice, 14, 0, FW_BOLD, 1, FALSE,DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, Hack.Misc.Fontname, &D3D.Settings.pFont); }else{ if (NULLDevice != pDevice) { NULLDevice = pDevice; try { if (D3D.Settings.pFont != 0) D3D.Settings.pFont->Release(); } catch (...) {} D3D.Settings.pFont = 0; D3DXCreateFontA(pDevice, 14, 0, FW_BOLD, 1, FALSE,DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, Hack.Misc.Fontname, &D3D.Settings.pFont); }} }
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
Ive Tried these but i get errors and shit when i try to input the codes,anyone can pm at chadwyoung32505@hotmail.com and maybe teamviewr me?
"XXXXXXX.DLL IS MISSING"
Download Missing DLL Files HERE
X64 users must place missing DLLs in sysWOW64 as well as System32. NEVER place DLLs in the Combat Arms folder no matter what a noob tells you.
i just recalled the font,so it works now but you will have to press delete to bring it back up if it disappears
[HIGHLIGHT=C++] if(Directx.pFont != 0)
Directx.pFont->Release();
Directx.pFont = 0;[/HIGHLIGHT]
[HIGHLIGHT=C++]
pDevice->SetRenderState( D3DRS_SRCBLEND, D3DBLEND_SRCALPHA );
pDevice->SetRenderState( D3DRS_BLENDOP, D3DBLENDOP_ADD );
pDevice->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA );
pDevice->SetRenderState( D3DRS_ALPHATESTENABLE, FALSE );
pDevice->SetRenderState( D3DRS_SEPARATEALPHABLENDENABLE, FALSE );
pDevice->SetRenderState( D3DRS_STENCILENABLE, FALSE );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, TRUE );
pDevice->SetRenderState( D3DRS_VERTEXBLEND, D3DVBF_DISABLE );
pDevice->SetRenderState( D3DRS_INDEXEDVERTEXBLENDENABLE, FALSE );
pDevice->SetRenderState( D3DRS_COLORWRITEENABLE, D3DCOLORWRITEENABLE_ALPHA | D3DCOLORWRITEENABLE_BLUE |D3DCOLORWRITEENABLE_GREEN | D3DCOLORWRITEENABLE_RED );
pDevice->SetRenderState( D3DRS_SHADEMODE, D3DSHADE_GOURAUD );
pDevice->SetRenderState( D3DRS_FOGENABLE, FALSE );
pDevice->SetRenderState( D3DRS_SPECULARENABLE, FALSE );
pDevice->SetRenderState( D3DRS_LIGHTING, FALSE );
pDevice->SetRenderState( D3DRS_CULLMODE, D3DCULL_NONE );
pDevice->SetRenderState( D3DRS_ZWRITEENABLE, FALSE );
pDevice->SetRenderState( D3DRS_ZENABLE, FALSE );
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_SOLID );[/HIGHLIGHT]
/thread
ALL OF THE ABOVE. HAHAHAHAHA THEY ALL WORK
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream