Well, first of all, this wasn't found by me..cardoow reversed this a long ago. I just found the new offset...
Anyways.. it's pretty simple. You know those boxes the are shown on enemies when you're on the Reaper, Osprey, etc.? Now you can draw them all the time.
Code:
void FixBlindEye() {
CClientInfo * pLocal = GetLocalClient(); //Get the Local Client (You)
for(int i=0; i< 18; i++) {
CClientInfo * pClient = GetClientByIndex(i);
if(pClient != pLocal) //If the player is not you...
if(pClient->Perk & 0x20) //Does the player has Blind Eye on?
pClient->Perk = 0x0; //Yes? Then, turn it off.
}
}
void DrawBoxes(){
DWORD dwCall = 0x5C3760; //Offset for 1.9.453
//Since this function is called by the game to draw the chopper boxes,
//by default, it wouldn't draw on players with Blind Eye.. we have to fix that
FixBlindEye();
//Call our function
__asm{
push 0x0
call [dwCall]
add esp, 0x4
}
}
If you want to find the offset for a different version, just search for All References of Client_t+0x38 (Client Perk) on IDA or Olly... and you'll be lead to the function.
Example: On 1.9.453:
Client_t = 0x00AD69F8
0x00AD69F8 + 0x38 = 0xAD6A30 (Search for AD6A30)
PS: You need to hook some render function for this to work, otherwise it'll just crash.
How in VB?
Originally Posted by NitroSmily
How in VB?
LOL You can't do this on VB... (maybe it is possible but is really not recommended).
Originally Posted by MarkHC
LOL You can't do this on VB... (maybe it is possible but is really not recommended).
I'm pretty sure you can lol. You can call APIs on VB so WriteProcessMemory and ReadProcessMemory to get clients info.. Even though vb6 sucks XD
Anyway, thanks for sharing
Didn't know COD developers provided you such a cool wh XD..
Originally Posted by C4P
Didn't know COD developers provided you such a cool wh XD..
Predator missile?
Yes you can work with API´s but for this you must hook a render function... try it with VB, good luck
cheers
Originally Posted by Eidolon
Predator missile?
Yea I don't get predator missle much lol
Originally Posted by inmate
Yes you can work with API´s but for this you must hook a render function... try it with VB, good luck
cheers
i didn't say it will be easy..
efficacious? no
easy? no
possible? yes XD
btw, "I like to MOV it, MOV it." nice one
Originally Posted by C4P
Didn't know COD developers provided you such a cool wh XD..
I'm just waiting for BO2 and those XRays (or whatever the name is) Sights... A WH with that will be cooler
Originally Posted by MarkHC
I'm just waiting for BO2 and those XRays (or whatever the name is) Sights... A WH with that will be cooler
I wonder if the AC of BO2 will be as sucking as MW3. Hope not, MW3 is no match and fun anymore...
insane this is for c++ or c#?
---------- Post added at 01:24 PM ---------- Previous post was at 01:01 PM ----------
guys is this for c# or for c++ plz answer!!!!!!!!!!
It´s C++....
Why do you want to know which language this is ? if you don´t know which language this is, you can´t use/shouldn´t use the code and learn programming at first....
so what i must open in c++ windows form again or what plz tell me!!
inmateeee
I say it again ! LEARN THE PROGRAMMING BASICS at FIRST !!!
I reported you cuz you spam around here and in other threads.
Thank you.
Tried it but it doesnt seem to work for me....
Anyway, no recoil is enough for me :-)
Good release