Help with gellins base!Im having a problems with the text isn't comming back after one game.. The background square is there but not the text..
Try hooking Reset. IDirect3DDevice9::Reset Method (Windows) Call OnLostDevice and OnResetDevice in every iteration of Reset. ID3DXFont::OnLostDevice Method (Windows) ID3DXFont::OnResetDevice Method (Windows)
It still wont work i think im doing something wrong: Code: if( Directx.pFont == NULL ){ Directx.pFont->OnLostDevice(); Directx.pFont->OnResetDevice(); }else { Directx.DrawString(10, 22, D3DCOLOR_ARGB(255, 255, 255, 0), Directx.pFont, "Iopop9 MagicHack v.2"); Menu.RenderMenu(); } PS. yes i have created a pFont
Originally Posted by scimmyboy mine creates the font every frame, which caused the game to lag use Sleep(600000) to delay it 10 minutes each time. That should fix it.
Originally Posted by iopop9 It still wont work i think im doing something wrong: Code: if( Directx.pFont == NULL ){ Directx.pFont->OnLostDevice(); Directx.pFont->OnResetDevice(); }else { Directx.DrawString(10, 22, D3DCOLOR_ARGB(255, 255, 255, 0), Directx.pFont, "Iopop9 MagicHack v.2"); Menu.RenderMenu(); } PS. yes i have created a pFont in pDevice->OnDeviceLost() do Directx.pFont->OnLostDevice(); in pDevice->OnResetDevice() do Directx.pFont->OnResetDevice(); As in hook those two functions and call their pFont's equivelents before returning
Originally Posted by scimmyboy notice how i said that in past tense /fart I didn't notice forgive me best buddy?