As I said in my bases thread you will need detours
Code:int D3Dinit(void) //Just a hook I used for testing, got it from Marko I believe. { DWORD hD3D, adr, *vtbl; // wait for the d3dx dll hD3D=0; do { hD3D = (DWORD)GetModuleHandle("d3d9.dll"); Sleep(10); } while(!hD3D); adr = FindPattern(hD3D, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx"); if (adr) { memcpy(&vtbl,(void *)(adr+2),4); pReset = (oReset) DetourFunction((PBYTE)vtbl[16] , (PBYTE)Reset ,5); pEndScene = (oEndScene) DetourFunction((PBYTE)vtbl[42], (PBYTE)EndScene,5); } return 0; }
is that patched? i got the base working but then when im in the game it says working 4 like 40 sec then the game crashs
As I said in my bases thread you will need detours
owwwww i dont even no what that is
get the detures from whits hans211+gellin base works nicely
i dont think he knows what that means. lol sam1 pm me if you need help!
LOl that is true.i learned it the hard way
Guys, come on. Let him figure it out. By the looks of it, MPGH has a good amount of Combat Arms Coders. Well I'm new, so well that's what I see.
Well, it's exactly what CodeDemon said, you need Detours
Since you're still a choob i wouldn't even think about giving you my hook and Detours. But atleast figure out what a Detour is before you go any further.
Think So i guess.
MPGH Critic"I Have 2 Red Bars, Beacuse i say the truth and the truth hurts you.!"
-MJWL
Use The Force[IMG]https://i44.photobucke*****m/albums/f34/Ps8612/Stars/gold.gif[/IMG][IMG]https://i44.photobucke*****m/albums/f34/Ps8612/Stars/gold.gif[/IMG][IMG]https://i44.photobucke*****m/albums/f34/Ps8612/Stars/gold.gif[/IMG][IMG]https://i44.photobucke*****m/albums/f34/Ps8612/Stars/gold.gif[/IMG][IMG]https://i44.photobucke*****m/albums/f34/Ps8612/Stars/gold.gif[/IMG]Contact Me Pm/Vm For Help!"It's Not Your House That's Haunted It's Your Son!"
-Insidious
ok well i have a detorue but how do i use it?
Here is your answer! Click here!
We can't do it all for you.
Dont just give it all to them >.<
You need detours for CA. That works for some games, But for CA its patched.