wow i got already the code for AOE. its working fine now. but got stuck with the combo hack. can you share the code for combo hack please... thanks in advance...
download visual c++,install itQuote:
Hey I just wanna ask on how can i compile the codes in visual c++? can someone give me some idea, i dont know where to save the file and make it like "cheat.dll" its just compiling and i dont know if the file is sucessfully save. -_- this makes my brain sick, since 8:35am i am trying to search look and find on how can i compile the codes and make it a .dll file
Quote:
if (GetKeyState(VK_F7) < 0) // Turn On
{
int x = 0;
while(x == 0){
DWORD NODELAY = *(DWORD*)ADDR_BASE;
*(DWORD*)(NODELAY+OFFSET_NODELAY) = 1629697;
if (GetKeyState(VK_F8) < 0)
x = 1;
}
Sleep(1);
inject the dll into cabalmain.exe!!! and the game Press F11 to On and Press F12 to Off!!Quote:
#include <windows.h>
#define ADDR_GM 0x1076C40
#define ADDR_AOE 0x10C730C
#define ADDR_RANGE 0x10C62D8
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE;
}
void Start()
{
while (1)
{
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}
if (GetKeyState(VK_F12) < 0) // Turn Off
{
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
}
Sleep(1);
}
}
i compiled this code and inject but its not working
i got the address here
[Only registered and activated users can see links. Click Here To Register...]
thanks :)Quote:
download visual c++,install it
make new project, select win 32 console application
enter your dll name, click OK
click next button
select DLL press finish
delete the dllmain.cpp at the left side
add this code:
#include "stdafx.h"
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE;
}
void Start()
{
//your code here
}
and press F7
if u do everything well u can look this in output:
1>------ Build started: Project: cheat01, Configuration: Debug Win32 ------
1> stdafx.cpp
1> cheat01.cpp
1> cheat01.vcxproj -> c:\users\hangya\documents\visual studio 2010\Projects\cheat01\Debug\cheat01.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
sry for my bad english :rolleyes:
learn C++Quote:
Hello, I got this error when building..
1>------ Build started: Project: v3, Configuration: Debug Win32 ------
1> dllmain.cpp
1>v3.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>v3.obj : error LNK2005: "void __cdecl Start(void)" (?Start@@YAXXZ) already defined in dllmain.obj
1>C:\Users\ChiefInspector\Desktop\v3\Debug\v3.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
and this is my code..
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#define ADDR_GM 0x1076C40
#define ADDR_AOE 0x10C730C
#define ADDR_RANGE 0x10C7308
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
if (ulReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return TRUE;
}
void Start()
{
while (1)
{
if (GetKeyState(VK_F11) < 0) // Turn On
{
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
}
if (GetKeyState(VK_F12) < 0) // Turn Off
{
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
}
Sleep(1);
}
}
Can anyone tell me whats the error? Thanks a lot.. I really want to learn this.. Thank you.