It works only with Direct3D hooks.
DIP
ES
Present
etc..
Printable View
why not just use a different detour instead of DETOUR_TYPE_JMP on gellins base.
well. what i was thinking was that i add a new header file called Bypass.h, including the code you provided which i revised up a bit.
then i inserted the thread into the DLLMAIN function of base.cpp and included bypass.h in base.cpp.
even with this bypass, combat arms still refuses to start up.
lmfao this thing is a fail, the menu hack i made, even with this fails, soo idk whats wrong with it xD
and acid burn if u read this please add me on msn, as i could help u alittle as u could help me aswell
kuber.marwaha@live.com
Don't mean to sound like a complete leecher but I'm having the same problem as above, I see my text while it's loading then I DC before I get to the login screen. I'm not using any detours, no special API for this. I'm just saving the old function then write my own function over the original.
[php]
HRESULT (__stdcall* RealEndScene)(IDirect3DDevice9*);
////////////////////////////////////////////////////////////////
HRESULT __stdcall MyEndScene(IDirect3DDevice9* pDevice)
{
//Render text
return RealEndScene(pDevice);
}
////////////////////////////////////////////////////////////////
void Hook()
{
*(unsigned long*)&RealEndScene = EndSceneAddress;
*EndSceneAddress = (unsigned long)MyEndScene;
}
[/php]
Of course I'm not going to write up the full code now but I'm sure you get the point.
I'm curious what method of hooking you're using. :confused:
EDIT:
Hmmm... I don't think this shit is working. =/
Also used ur inf for loop thing and all it does is lag the hell out of the game, doesn't help. =/
Meh... I'll look into it more later, exams. >_>...
Edited my post. I tried this and I think something weirds up, because this doesn't work for me... also I don't see why it should only work for only 1 type of detour. And the inf loop doesn't make sense either...
Instead of ES, use Present.
Disable DEP for Engine.exe and try again. I'm using Gordon`'s pattern, nothing special. I had the same problem as you, the loading screen wouldn't even come up, I disabled DEP for Engine.exe and it worked perfectly. I just tried using this and I could play a game / load up CA just fine.
Yea, No this isn't working for me either..
But what do i know..
I don't get the Infinite Loop though..
Idk i'm done with it..
Gl
HackShield updated, someone already released a hack using the source. No one received proper credits = no more public code posting.
Fuck you frantic.
Requesting close, still works for EU. NA's HS updated.