Simple WH Source - 2D Boxes

Posts 16–30 of 42 · Page 2 of 3
Gotcha(IW5M btw):



Quote Originally Posted by MarkHC View Post
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?
Quote Originally Posted by NitroSmily View Post
How in VB?
LOL You can't do this on VB... (maybe it is possible but is really not recommended).
Quote Originally Posted by MarkHC View Post
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..
Quote Originally Posted by C4P View Post
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
Quote Originally Posted by Eidolon View Post


Predator missile?
Yea I don't get predator missle much lol
Quote Originally Posted by inmate View Post
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
Quote Originally Posted by C4P View Post
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
Quote Originally Posted by MarkHC View Post
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.
Tried it but it doesnt seem to work for me....
Anyway, no recoil is enough for me :-)
Good release
Posts 16–30 of 42 · Page 2 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us