CoolMaking C++ Hack

Posts 17 of 7 · Page 1 of 1
Making C++ Hack
--------------------------------------------------------------------

Was braucht ihr Dafuer?

--------------------------------------------------------------------

Wie gehts weiter?

Nun öffnet ihr das ganze indem ihr auf [img]http://******.net/pics/tutcpp/1.jpg[/img] Doppelklickt!

nun sollte das ganze öffnen um nun einzelne Dateien Anzuschauen sucht nach einem Tool namens Solution Explorer!
Sieht so aus: [img]http://******.net/pics/tutcpp/2.jpg[/img]

Da Öffnet ihr euch die wichtigsten dateien des projects:

* Form1.h (Code & Style Ansicht)
* Form1.cpp
* form_funcs.h

Dieser Source Code ist bereits eine fertige vorlage und einsatzfähig !!! ABER die Adressen sind alle alt !!!

Versucht zu Versn was was ist!

um adressen einzufügen zb von CE müsst ihr das 00 entfernen und durch 0x ersetzen!
Pointer werden so geused:

Form1.h
--------------------------------------------------------------------
memcpy_ev( ( void* )( ( GetPointer( ) ) + 0x180 ), &cvar.mf_superjump, sizeof( float ) );
--------------------------------------------------------------------
Form1.cpp
--------------------------------------------------------------------
int Get_Handle()
{
DWORD proc_id = 0;
if( hWarRock != NULL )return (int)hWarRock;
hWnd = FindWindow( "WarRock", 0 );
if( hWnd == NULL )return NULL;
GetWindowThreadProcessId( hWnd, &proc_id );
return (int)OpenProcess( PROCESS_ALL_ACCESS, false, proc_id );
}
void *memcpy_ev( void* pxAddress, void* pxBuffer, unsigned long sxSize )
{
DWORD dzy = 0;
if( WriteProcessMemory( (HANDLE)Get_Handle( ), pxAddress, pxBuffer, sxSize, &dzy ) == TRUE )
{
return pxAddress;
}
return NULL;
}

unsigned long GetPointer( )
{
DWORD dzy, dzRead = 0;
if( ReadProcessMemory( ( HANDLE )Get_Handle( ), ( void* )0x008B5288, &dzy, sizeof( DWORD ), &dzRead ) == TRUE )
{
return dzy;
}
return 0;
}
--------------------------------------------------------------------
form_funcs.h
--------------------------------------------------------------------
int Get_Handle();
void *memcpy_ev( void* pxAddress, void* pxBuffer, unsigned long sxSize );
unsigned long GetPointer( );
--------------------------------------------------------------------

So das wäre der Code alles Wichtige ist ROT Makiert, in der Form1.h komt das offset rein ( 0x180 (alt)) und Form1.cpp bei GetPointer() function das ist die Player Pointer Adresse!!!

Nun noch wie ihr es undetected macht:

Ich habe euch bei dem Code oben das hierfür wichtige GRÜN makiert, Ihr müsst nun in allen 3 Dateien diese Namen gleich ändern also ändert ihr Get_Handle auf wr_run dann müsst ihr das in denn anderen 2 dateien ebenfalls gleich umbenennen ( in Form1.h: je mehr hacks geaddet sind um so öfter kommt es zb vor GetHandle wird aber nur für timer gebraucht)

nach umbennenen ist euer hack undetected (ausser ihr verwendet detected hacks wie GPS)

so das wars mehr hab ich nicht dazu zu sagen!
in german wtf? make it in english
loll....can some one translate
welcome to Stefan's c++ hack making guide

--------------------------------------------

The programs you will be needing
1. Visual Studio 2003

you can download at "http://******.net/ghb/index.php?act=attach&type=post&id=288"

--------------------------------------------
Download:
Board Message

---------------------------------------------

Step 1. getting to know the program

1)go to file/new/project/visual c++ Projects/.NET and press ok
2)now you have a basic template of the hack, that you can edit to what you like
3)Form1.cpp will control all of your functions like a warrok hook or message box
4)Form1.h is were you will be adding your coding for the hacks like stamina
5) assemblyinfo.cpp, stdafx.cpp, resource.h you dont need to worry about

-------------------------------------------------------------------------------------------

Step 2. starting the coding for your hack

1)What you want to do is add a new c++ header file. You can do that by clicking on in the upper left hand corner, and click on header file .h
2)once you have added it you need to link it with Form1.h and From1.cpp, by adding #include "c++_header.h" under the #pragma once in both files
3)this is were you will be adding exp. bool Hotkey( int iKey );
4)Now what you want to do is go to Form1.cpp and add these to help you out


CODE
void *data_process( void* pvAddress, void* pvBuffer, unsigned long m_iSize )
{
if( WarRock_Hook( ) )
{
DWORD dwDummy = 0;
if( WriteProcessMemory( hGameHandle, pvAddress, pvBuffer, m_iSize, &dwDummy ) == TRUE )
{
return pvAddress;
}
}
return 0;
}


HANDLE hkoolzhook = 0;
HWND hWnd = 0;
int WarRock_Hook()
{
DWORD proc_id = 0;
if( hnotterhook != NULL )return (int)hnotterhook;
hWnd = FindWindow( "WarRock", 0 );
if( hWnd == NULL )return NULL;
GetWindowThreadProcessId( hWnd, &proc_id );
return (int)OpenProcess( PROCESS_ALL_ACCESS, false, proc_id );
}

void message_box( char* sbText, char* sbCaption )
{
MessageBox( 0, sbText, sbCaption, MB_OK );
}
Then add this in the c++_header.h

CODE
<FONT color=#0000ff>void</FONT> *data_process( <FONT color=#0000ff>void</FONT>* pvAddress, <FONT color=#0000ff>void</FONT>* pvBuffer, <FONT color=#0000ff>unsigned long</FONT> m_iSize );<BR><FONT color=#0000ff>int</FONT> WarRock_Hook();<BR><FONT color=#0000ff>void</FONT> message_box( <FONT color=#0000ff>char</FONT>* sbText, <FONT color=#0000ff>char</FONT>* sbCaption );

5)Now go to Form1.h and you need to define the hack you will be making

CODE
struct hackVariables<BR>{<BR> <FONT color=#0000ff>bool</FONT> Stamina;<BR>};<BR><BR>hackVariables ghbvars;
-------------------------------------------------------------------------------------------

Step 3. Finishing the hack coding

1)Now go to Form1.h[Design], and add a Timer to the hack. then click on properties and set Enabled = true, and interval = 100 or 10
2)Bouble click on the timer and it will bring to to
CODE
private: System::Void timer1_Tick(System::Object * sender, System::EventArgs * e)<BR> {<BR> }
3) now you need to add the warrock hook
CODE
if( WarRock_Hook( ) ) {
4)Now add the Stamina coding inside the Timer and warrock hook so it looks like this

CODE
private: System::Void timer1_Tick(System::Object * sender, System::EventArgs * e)<BR> {<BR> if( WarRock_Hook( ) )<BR> {<BR> <FONT color=#0000ff>if</FONT>( ghbvars.Stamina )<BR> {<BR> <FONT color=#0000ff>int</FONT> Staminavalue = 1120403456;<BR> data_process( ( <FONT color=#0000ff>void</FONT>* )ADDR_STAMINA, &Staminavalue, sizeof( <FONT color=#0000ff>int</FONT> ) );<BR> }<BR> }<BR> }
5)Now just add a check box to the Form1.h[Design] and double click it and add this code into it
CODE
ghbvars.stamina = !ghbvars.stamina;
-------------------------------------------------------------------------------------------

Step 4. Building the hack

1) go to Build/build testhack
2) Now you have just sucefully made a hack

-------------------------------------------------------------------------------------------

Extras

CODE

char 1 Byte = 8 Bit
short 2 Byte = 16 Bit
int 2 or 4 Byte = 16 Bit or 32 Bit
long 4 Byte = 32 Bit
float 4 Byte = 32 Bit
double 8 Byte = 64 Bit
long double 10 Byte = 80 Bit
bool 'True' or 'False'
void HEX or Text strings
char* char array (Text or strings)
*CREDITS*
Functions = s0biet
guide = stefan

Pleas thanks
TRANSLATION:


As you open the files of the main projects:

* Form1.h (code & Style view)
* Form1.cpp
* Form_funcs.h

This source code is already operational and ready template! BUT the addresses are all old!

Try to understand what's what!

to places like the record of CE need to remove the 00 and replace 0x!
Pointer will be geused:

Form1.h
-------------------------------------------------- ------------------
memcpy_ev ((void *) ((GetPointer ()) + 0x180), & cvar.mf_superjump, sizeof (float));
-------------------------------------------------- ------------------
Form1.cpp
-------------------------------------------------- ------------------
Int Get_Handle ()
(
DWORD proc_id = 0;
if (hWarRock! = NULL) return (int) hWarRock;
hWnd = FindWindow ( "WarRock", 0);
if (hWnd == NULL) return NULL;
GetWindowThreadProcessId (hWnd & proc_id);
return (int) Open Process (PROCESS_ALL_ACCESS, false, proc_id);
)
memcpy_ev void * (* pxAddress void, void * pxBuffer, unsigned long sxSize)
(
DWORD dzy = 0;
if (Write Memory Process ((HANDLE) Get_Handle (), pxAddress, pxBuffer, sxSize & dzy) == TRUE)
(
Return pxAddress;
)
return NULL;
)

unsigned long GetPointer ()
(
DWORD dzy, dzRead = 0;
if (Read Memory Process ((HANDLE) Get_Handle (), (void *) 0x008B5288 & dzy, sizeof (DWORD), & dzRead) == TRUE)
(
Return dzy;
)
return 0;
)
-------------------------------------------------- ------------------
form_funcs.h
-------------------------------------------------- ------------------
Int Get_Handle ();
memcpy_ev void * (* pxAddress void, void * pxBuffer, unsigned long sxSize);
unsigned long GetPointer ();
-------------------------------------------------- ------------------

So the code would be the all important thing is RED Makiert in Form1.h komt offset the purely (0x180 (old)) and Form1.cpp in GetPointer () function is the player Pointer address!

I would like you make it undetected:

I have given you the code at the top of this important GREEN makiert, you must now 3 files in all these names the same change also change their Get_Handle to wr_run then you'll have to because the other 2 are equal to rename files (Form1.h the more geaddet hacks are all the more often it is like before GetHandle but only for timer used)

to umbennenen is your hack undetected (except it uses detected hacks such as GPS)

so that's more I do not have to say!
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?