You know using try and catch blocks would be better..
Then you could recreate it everytime the device changes
Hey guys I haven't released anything yet so I figured now was a time to release something I personally made and found extremely useful with menu hacks. This comes with a noob-shield for anti-leech technology
Place this in your globals:
Place this anywhere in the main loop:Code:int cTime = clock();
And finally, place this RIGHT AFTER THE SECOND CODE BLOCK:Code:if( clock() < cTime + 20000 ) goto Pause; if (clock() % 237 == 2){ //Recreate Font in HERE, leave the next line as it is cTime = clock(); Thank(-TwEaK); }
Last thing, I only tested with a loop running atCode:Pause:
Intervals. So just be careful. Running at 10 MS Sleep should recreate the font every 20 seconds or so. Never lose your font, ever...Code:Sleep(10);
If you want to test different sleep intervals use this code in just a .cpp document:
Code above is C&P and CompileCode:#include <iostream> #include <ctime> #include <windows.h> using namespace std; int main(){ int cTime = clock(); while(1){ if( clock() < cTime + 20000 ) goto Pause; if (clock() % 237 == 2){ cout << clock() << endl; cTime = clock(); } Pause: Sleep(10); } return 0; }
Thank Me Please
Minion/Mod please change post title to Recreate Font Automatically... Sorry I forgot to change it
You know using try and catch blocks would be better..
Then you could recreate it everytime the device changes