How To Use the Files After you downloaded the files, open them. So install Visual C++ and DIrectX SDK and extract the menubase to your desktop. After you installed all, open up MSV C++. Than click "File" -> "New" -> "Project" and it should popup a new window. Screenshot:
Now a new window popup. Just click "Next". Another window will popup. Screenshot:
Now we can add the code. If you want to open the menu base just open the project. But here we must add own code. So i will give you for example a hotkey code. Rightclick source files -> add -> new element and add a new .cpp file. Now you can add the code:
[html]#include <windows.h>
void testTH()
{
MessageBoxA(NULL, "This is my MsgBox WOO ", "My MsgBox", MB_OK);
}
Now choose at top instead of "Debug" "Release" and press the green button. Now it compile the code. After compiling it had created the Dll-File which you easilly can inject with an injector. Look on mpgh for Injectors. The Dll-File's path should be: C:\Users\[Username]\Documents\Visual Studio 2010\Projects\[Projectname]\Release\[Projectname].dll
I hope I could help you. Please press the "thanksbutton" on the buttom on the right if it worked for you
Code:
#include <windows.h>
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
}
return TRUE;
}
If you use this code, you can attach OllyDbg to Engine.exe
I iz confused
Originally Posted by MarissaMonily
I iz confused
Then you obviously shouldn't be in this section.
Originally Posted by flameswor10
Then you obviously shouldn't be in this section.
Wel obviously i try to learn things but im too stupid to learn them -really frustrated-
If i had the patience and if u would help me learn i would but no none has time for me
Originally Posted by flameswor10
Code:
#include <windows.h>
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
}
return TRUE;
}
If you use this code, you can attach OllyDbg to Engine.exe
hmm thats same code as my. my just creates a thread for it
Originally Posted by Ch40zz-C0d3r
hmm thats same code as my. my just creates a thread for it
Yes, but creating a thread makes the msgbox popup, but not pause the game.
i hate being stupid its so frustrating i wish somone would teach me face to face how to c++ code so i could just make the hack not complain and whine for somone to make it v.v
Originally Posted by flameswor10
Yes, but creating a thread makes the msgbox popup, but not pause the game.
Since you are good with making hacks could you maybe help me learn :/ please?
Originally Posted by MarissaMonily
i hate being stupid its so frustrating i wish somone would teach me face to face how to c++ code so i could just make the hack not complain and whine for somone to make it v.v
Since you are good with making hacks could you maybe help me learn :/?
I have taught a few people, but it's a huge task teaching.
You:
1. Have to be patient
2. must have time
3. Must be dedicated
I am patient, but don't have the other 2.
So I will be the most horrible teacher, best way to learn is from your mistakes.
Code a few simple applications, console applications if you must.
Learn from
I have taught a few people, but it's a huge task teaching.
You:
1. Have to be patient
2. must have time
3. Must be dedicated
I am patient, but don't have the other 2.
So I will be the most horrible teacher, best way to learn is from your mistakes.
Code a few simple applications, console applications if you must.
Learn from
CodeNever's tutorial is better, this is just a source, you don't explain any of the code.
Originally Posted by DeadLinez
CodeNever's tutorial is better, this is just a source, you don't explain any of the code.
Let me Explain.
Code:
#include <windows.h>
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
// DllMain is an optional function for you to declare.
// It serves as the entry point for any DLL
{
DisableThreadLibraryCalls(hDll);
// Make a call to DisableThreadLibraryCalls with the hModule variable
// as its argument; Doing this is an optimization trick to prevent
// needless thread attach/detach messages from triggering further calls
// to our DllMain function.
if ( dwReason == DLL_PROCESS_ATTACH )
{
//When your process gets attached, show a messagebo.
MessageBoxA(NULL, "This is my MsgBox WOO :D", "My MsgBox", MB_OK);
//The message will say "This is my MsgBox WOO :D" with the title of "My MsgBox".
//The only button that the messagebox will be the OK button.
}
return TRUE;
// Although the return value doesn't actually matter. You return the value TRUE or FALSE indicatinng success or failure.
}