i dont know if it will not
what do i need to do so?
thanks in ADV.
I do not see any errors. And i am to Lazy to test right now Just being honest. But If you are going to make a hack Heads up... No spread is pretty much useless with out no recoil.. Just try and find the no recoil addresses.
no spread is not useless..even without no recoil..
actually there are some problems with it
you need to define boxes and the other features that you added and you can do that by doing this
bool boxes = false;
and same goes for the rest of the features that you will add
if i'm worng anyone please do correct me.
There is also no hook.
You need to hook the DLL to the process by doing this:
[php]
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);//main being your hack thread
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
[/php]
And as the other guy said.
You need to define the hack names for them to work.
Like this:
And just ran a quick eye over it and saw you had no sleep timer. That will cause tremendous lag.
You also havent stated whats going to happen when you hook d3d8 ect.
So you will need to put this in your main.
[php]
void main()
{
while (!IsGameReadyForHook()){
Sleep(30);
}
while(true){
//Start commands here
}
}
[/php]
Thhats all i can really see atm.
combat arms is based off d3d9. anything coded in d3d8 wont work
its fine know i have changed from hotkeys to a menu