Simple Base C++

Posts 15 of 5 · Page 1 of 1
Simple Base C++
Well, I will post a simple base for Tibia, for you do your hacker


adress.h

Code:
// This base was made by Coder.Fail, to MPGH

#include <windows.h>

DWORD Tibia = (DWORD)GetModuleHandle("Tibia.exe");

#define ADDR_ItemHack             0x636FA8
class.h

Code:
// This base was made by Coder.Fail, to MPGH

#include "adress.h"

class cItemHack
{
public:
	DWORD iSupportItem; //0x0000 
char _0x0004[28];
	DWORD iRing; //0x0020 
char _0x0024[28];
	DWORD iBoots; //0x0040 
char _0x0044[28];
	DWORD iLegs; //0x0060 
char _0x0064[28];
	DWORD iSword; //0x0080 
char _0x0084[28];
	DWORD iShield; //0x00A0 
char _0x00A4[28];
	DWORD iArmor; //0x00C0 
char _0x00C4[28];
	DWORD iBackPack; //0x00E0 
char _0x00E4[28];
	DWORD iAmulet; //0x0100 
char _0x0104[28];
	DWORD iHelmet; //0x0120 
char _0x0124[796];

};//Size=0x0440
main.cpp

Code:
// This base was made by Coder.Fail, to MPGH

#include "class.h"

cItemHack *ItemHack = (cItemHack*)(Tibia + ADDR_ItemHack); // class definiton

int Func[99];

void Funcs()
{
	if (GetAsyncKeyState(VK_NUMPAD1)&1)
		Func[1] =! Func[1];

	if ( Func[1] )
	{
		ItemHack->iBoots = 3079; // Boots Of Haste Hack
	}
		
}

DWORD WINAPI MyHook(LPVOID lpArgs)
{
	while(true)
	{
		do{
			__asm CALL [Funcs];
		} while (!Tibia);
	}

	return 0;
}
BOOL WINAPI DllMain( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{ 
    if( dwReason == DLL_PROCESS_ATTACH )
    {
        DisableThreadLibraryCalls( hDll );
        MessageBox( 0, "Simple Hook", "Tibia", 0 );
		CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)&MyHook, 0, 0, 0 );
    }
 
    return TRUE;
}
BONUS :

Code:
#define ADDR_GameStatus           0x741BA0C8
1 = After Game
2 = In Game
Good job, good contribution to the forum!
Hey, Would you be able to make me a code for a different game called Orake. I found a dupe once but it got patched up and ive been trying to find a different dupe or another way to hack this game but i havent had any luck

- - - Updated - - -

Hey can you talk? add me on skype Kingclop21
Any updated for this hack?
Seems legit.
Posts 15 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?