TeknoMW3 : Simple Wallhack/ChopperBoxes

Posts 14 of 4 · Page 1 of 1
TeknoMW3 : Simple Wallhack/ChopperBoxes
First of all that this isn't my code all credits goes to "Kenshin13"

1)Start TeknoMW3
2)Inject the DLL (use Extreme injector or DC Injector)
3)Enjoy!


(ScreenShot is older as you see MW2Playyer but fixed in DLL)



Features :
it contains nothing more than Chopper Boxes
TeknoMW3 Chopper Boxes_mpgh.net.rar14 KB · 1,731 downloads Clean
Should have at least added the Name Tags...
All you need is a hook.
Code:
//MakeJMP is required but I think it's in the source too.

//This is the typedef, I named it sub_588A10 as that's the function's name:
typedef void (__cdecl *sub_588A10)(int var1, int var2, float alpha);
sub_588A10 origional_sub_588A10 = NULL;


//This is the function we will hook to,
void __cdecl DrawNames(int var1, int var2, float alphaVal)
{
	if(AreNameTagsDrawn) origional_sub_588A10(var1, var2, 1.0f);
        else origional_sub_588A10(var1, var2, alphaVal);
}


//Now in DllMain, or a Wrapper, we apply the hook which is 6 Bytes Long.
//This is with DetourFunction:
origional_sub_588A10= ( sub_588A10 ) DetourFunction( ( PBYTE )0x00588A10, ( PBYTE ) &DrawNames, 6);

now if we use MakeJMP, we'll need the __declspec.

__declspec (naked) void DoNameTags()

Now Im to tired to type this. Just Use DetourFunction.
Quote Originally Posted by Kenshin13 View Post
Should have at least added the Name Tags...
All you need is a hook.
Code:
//MakeJMP is required but I think it's in the source too.

//This is the typedef, I named it sub_588A10 as that's the function's name:
typedef void (__cdecl *sub_588A10)(int var1, int var2, float alpha);
sub_588A10 origional_sub_588A10 = NULL;


//This is the function we will hook to,
void __cdecl DrawNames(int var1, int var2, float alphaVal)
{
	if(AreNameTagsDrawn) origional_sub_588A10(var1, var2, 1.0f);
        else origional_sub_588A10(var1, var2, alphaVal);
}


//Now in DllMain, or a Wrapper, we apply the hook which is 6 Bytes Long.
//This is with DetourFunction:
origional_sub_588A10= ( sub_588A10 ) DetourFunction( ( PBYTE )0x00588A10, ( PBYTE ) &DrawNames, 6);

now if we use MakeJMP, we'll need the __declspec.

__declspec (naked) void DoNameTags()

Now Im to tired to type this. Just Use DetourFunction.
lazy will do later (maybe tomorrow).
Approved.

As Jorndel said, keep off-topic stuff in VM/PM.
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?