[Release][C++ Code] GM/AOE/Range

07/26/2012 19:20 toanhung#136
Quote:
Originally Posted by syndrah View Post
i know, i want those to be on all the time.

you missed my point, none of the addresses seems to work, but when i load up cheat engine i check the addresses in there works great and its the same addresses.

The only thing seem to work on that is GM/AOE stuff , the speed dont ahve anything set , as for the rest there not hotkey been set
07/26/2012 19:28 syndrah#137
Quote:
Originally Posted by syndrah View Post
i know, i want those to be on all the time.

you missed my point, none of the addresses seems to work, but when i load up cheat engine i check the addresses in there works great and its the same addresses.
this. look at the quote. gm/aoe is hotkeyed, no skill delay ill figure out later.

for the rest i want on all the time the walkrun is still being set to 600.
07/26/2012 19:40 toanhung#138
walk speed are float
07/26/2012 19:43 syndrah#139
ok,. lets ignore walkrun for now, combo, pk penalty

i noticed that this app is win32, would this effect how it works if im on 64bit

yea really need some help here.

*bump* v.v

*bump*
07/27/2012 07:27 jslvdr#140
@syndrah I think there will be an error if you compile it because there is no windows.h in the header.

You need windows.h for the hotkeys.
07/27/2012 15:08 syndrah#141
what about walkrun, nopnlty and combo they are suppose to be on all the time.

and windows.h didnt do anything.
07/27/2012 17:23 razor45366#142
Quote:
#include <windows.h>
#define ADDR_GM 0x1075C40
#define ADDR_AOE 0x10C630C
#define ADDR_RANGE 0x10C6308

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_F12) < 0){
int aoecheck = 1;
//enable
if(aoecheck == 0){
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
aoecheck = 1;
//disable
}else if(aoecheck == 1){
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
aoecheck = 0;
}
}

Sleep(1);
}
}
this is PH address...

is there anything wrong?

and what should i put in the dll.h?

Quote:
#ifndef _DLL_H_
#define _DLL_H_

#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else /* Not BUILDING_DLL */
# define DLLIMPORT __declspec (dllimport)
#endif /* Not BUILDING_DLL */


class DLLIMPORT DllClass
{
public:
DllClass();
virtual ~DllClass(void);

private:

};


#endif /* _DLL_H_ */
please help

Quote:
#include <windows.h>
#define ADDR_GM 0x1075C40
#define ADDR_AOE 0x10C630C
#define ADDR_RANGE 0x10C6308

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_F12) < 0){
int aoecheck = 1;
//enable
if(aoecheck == 0){
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
aoecheck = 1;
//disable
}else if(aoecheck == 1){
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
aoecheck = 0;
}
}

Sleep(1);
}
}
this is PH address...

is there anything wrong?

and what should i put in the dll.h?

Quote:
#ifndef _DLL_H_
#define _DLL_H_

#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else /* Not BUILDING_DLL */
# define DLLIMPORT __declspec (dllimport)
#endif /* Not BUILDING_DLL */


class DLLIMPORT DllClass
{
public:
DllClass();
virtual ~DllClass(void);

private:

};


#endif /* _DLL_H_ */
please help
07/27/2012 17:47 syndrah#143
nice to know your copying my code.
07/27/2012 17:56 razor45366#144
nope not just copying your code... i just want to learn... i only know some basic C++

i just change the address for PH...
07/27/2012 18:31 bartbilf#145
Quote:
Originally Posted by syndrah View Post
nice to know your copying my code.
If you don't want them to copy your code, you should not post it in a public thread ;p
07/27/2012 19:06 syndrah#146
why u gotta be hatin dawg.

but seriously still cant get this to work. it compiles no errors, just wont do anything ingame.
07/28/2012 10:34 razor45366#147
yah... your right... if sharing ideas... why not in public?
07/28/2012 16:23 genesisVI#148
Recommended
PHP Code:
{
if (
GetKeyState(VK_F12) <0)//On
*(DWORD*)ADDR_GM 2;
*(
DWORD*)ADDR_AOE 100;
*(
DWORD*)ADDR_RANGE 7;
}
if (
GetKeyState(VK_F11) <0)//off
*(DWORD*)ADDR_GM 0;
*(
DWORD*)ADDR_AOE 0;
*(
DWORD*)ADDR_RANGE 0;
}

07/28/2012 16:59 razor45366#149
is there a problem using the same key?
07/28/2012 16:59 CreatedByMe#150
sir. nid some code for the attack gate sir.