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.
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. >_>...
Last edited by why06; 04-27-2010 at 07:16 PM.
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
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...
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
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.
Last edited by Synns; 04-27-2010 at 08:44 PM.
Void (04-27-2010)
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.
Last edited by Synns; 04-28-2010 at 01:30 PM.