So what is it really saying is
Code:
while( !IsGameReadyForHook) {
Sleep(200);// CPU sleep. if u put it in ur Hook/Endscene/Reset/DIP u will make the game Pause. in a secondary thread like HackThread it will just pause that thread that will stop the game from lagging..
//it is like if ur WORKING NON stop u will get Tired and start to give out and shit
}
main(); // The Hacks
return 0; //Close
}
So u will wait until "IsGameReadyForHook" = True Then Call the hacks.
when the hacks are then called there is a Loop
Code:
while(true){ //or u can use while(1) 1 is true
//call hacks here
Sleep(200);
}//close the loop
But it will be true for ever so it will always be repeat
So what is it really saying is
Code:
while( !IsGameReadyForHook) {
Sleep(200);// CPU sleep. if u put it in ur Hook/Endscene/Reset/DIP u will make the game Pause. in a secondary thread like HackThread it will just pause that thread that will stop the game from lagging..
//it is like if ur WORKING NON stop u will get Tired and start to give out and shit
}
main(); // The Hacks
return 0; //Close
}
So u will wait until "IsGameReadyForHook" = True Then Call the hacks.
when the hacks are then called there is a Loop
Code:
while(true){ //or u can use while(1) 1 is true
//call hacks here
Sleep(200);
}//close the loop
But it will be true for ever so it will always be repeat
So what is it really saying is
Code:
while( !IsGameReadyForHook) {
Sleep(200);// CPU sleep. if u put it in ur Hook/Endscene/Reset/DIP u will make the game Pause. in a secondary thread like HackThread it will just pause that thread that will stop the game from lagging..
//it is like if ur WORKING NON stop u will get Tired and start to give out and shit
}
main(); // The Hacks
return 0; //Close
}
So u will wait until "IsGameReadyForHook" = True Then Call the hacks.
when the hacks are then called there is a Loop
Code:
while(true){ //or u can use while(1) 1 is true
//call hacks here
Sleep(200);
}//close the loop
But it will be true for ever so it will always be repeat
So what is it really saying is
Code:
while( !IsGameReadyForHook) {
Sleep(200);// CPU sleep. if u put it in ur Hook/Endscene/Reset/DIP u will make the game Pause. in a secondary thread like HackThread it will just pause that thread that will stop the game from lagging..
//it is like if ur WORKING NON stop u will get Tired and start to give out and shit
}
main(); // The Hacks
return 0; //Close
}
So u will wait until "IsGameReadyForHook" = True Then Call the hacks.
when the hacks are then called there is a Loop
Code:
while(true){ //or u can use while(1) 1 is true
//call hacks here
Sleep(200);
}//close the loop
But it will be true for ever so it will always be repeat

Originally Posted by
Shimmy-
Yah I understood that,
but why IsGameReadyForHook() = False Then
why not IsGameReadyForHook() = True
That because of the function.
Code:
bool IsGameReadyForHook(void)
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;//Make it True RIGHT here Meaning is the d3d9.dll load and ClientFX.fxd load and Cshell.dll load then return true and ur ready to add the hook/hacks
return false;// If it is not right and those things did not load then it is not true which is false.
//the return function will stop the function where it is and in this case it will make the bool equal to what ever is after it. if u return true then IsGameReadyForHook() will be true. else IsGameReadyForHook() will be false
}
Do you understand it?