This is modified from my original release elsewhere, i made this version for here thats barely updated, but it will inject and will show menu. My other release, the menu didn't crash for about an hour. I haven't updated it because i'm lazy lol.
This menu has the following in it
Hackshield bypass (FULL, just needs update)
DIP Hook (should work, update strides to CA and your good)
detours (i'm guessin the detours are fully undetected after a little update to em)
Whats needed:
PTC Method
hacks (duh)
How to follow this source:
its pretty self explanitory, there are hacks there to show you where they go
Adding to the menu!
d3d stuff goes in this section:
Code:
/************************************/
/* Present */
/************************************/
HRESULT __stdcall myPresent ( LPDIRECT3DDEVICE9 pDevice, CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
if(!Create)
{
D3DXCreateFont(pDevice, 14, 0, FW_HEAVY, 0, FALSE, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, DEFAULT_QUALITY, /*DEFAULT_PITCH | */FF_DONTCARE, TEXT("Arial"), &g_pFont );
Create = true;
}
////////////////
if( g_pFont == NULL )
g_pFont->OnLostDevice();
else
DrawMenu(pDevice);//draw our menu
////////////////
if(mousesupport){
mouse_enabled = 1;
}else{
mouse_enabled = 0;
}
//if(cmpstrlen("test","changeme")==TRUE)
//{
//MessageBox(NULL,"string len matched","Message",NULL);
//}
//Calling our HackThread
HackThread();
//CrossHair
if (CH_cross==1)...
Addy Hacks and PTC hacks go here
Code:
/************************************/
/* HACK */
/************************************/
void HackThread(void)
{
//D3D Redirect
if(redirect==1)
{
ShellExecute(NULL,NULL,"https://www.mpgh.net","open",NULL,NULL);
redirect=0;
}
//Teleport
if(CH_Teleport==1){
DWORD dwPlayerPointer = *(DWORD*)Addr_Playerpointer;
if(dwPlayerPointer != 0)
{
first: add an int for the menu (example)
second: add to the menu like this
Code:
pMenu->AddItem(" NoFog",&nofog,sOnOff);
third: add the hack like this:
Code:
void HackThread(void)
{
//D3D Redirect
if(redirect==1)
{
ShellExecute(NULL,NULL,"https://www.mpgh.net","open",NULL,NULL);
redirect=0;
}
if (nofog == 1)
{
PushIt("FogEnabled 0");
} else {
PushIt("FogEnabled 1");
}
want to add multiple selection like crosshairs is?
first: add the int like above, example
second: add a char* to match up with what you want, example
Code:
char* sColor_Cross [] = { "[OFF]","[Red]","[Green]","[White]","[Blue]","[Purple]","[Grey]","[Yellow]","[Black]","[Orange]" };
third: add your menu item, the number of options char* goes after the int, the number says how many selections (this case, 10)
Code:
pMenu->AddItem(" CrossHair",&CH_cross,sColor_Cross,10);
forth: add the hacks in like this to the appropriate section
Code:
if (CH_cross==1)
if (CH_cross==2)
if (CH_cross==3)
etc. till the 2nd last number (this case 9), because 10 is off
[b]Jotti because VT is down >.>