Which function is the best to Draw D3DMenu?
Acutally i try BeginScene
This works in CF , but ingame it crashs the game.
Someone can tell me how I can unpack crossfire.exe or hook the Endscene?
Edit:
I figured out that "oFont->DrawTextA(NULL,"Aldi's Hook",-1,&headrect,DT_CENTER,D3DCOLOR_XRGB(255,165,0));" let the BeginScene crash
But this only happens ingame. In the lobby this works
Some ideas how to avoid it?
Edit2:
Now i draw my Menu with DIP only at a specified stride
Got 30 Fps instead of 250
Its enough for navigating but not nice coeded
Regards Aldi