Solved Dishonored External

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat


Jul 5, 2016
Hey guidedhacking Community

This is my first ever time posting on the forum, since I really need help on this topic.
I started coding Hacks about a week ago (week ago..) and it has been a fun hobby of mine since then.

So.. coming back to my request.
Currently I am trying to code an External hack for the game Dishonored.
I am using a combination of Fleep's AssaultCube Tutorial and Solaires Simple Hack Coding video.
My goal is to write a hack, that unlocks infinite health, mana and pistol bullets by pressing either: Thumbmousebutton 1/2, F1
The problem is, that it is not really working as planned.

I am not asking for a specific solution in form of source code (although it would be appriciated), a simple tip or hint that will get me to my mistake is more than enough!
Thank you for reading and have a great day!

My crappy source code:
#include <iostream>
#include <Windows.h>
#include <string>
using namespace std;

DWORD FindDmaAddy(int PointerLevel, HANDLE gameHandle, DWORD Offsets[], DWORD BaseAddress);
void WriteToMemory(HANDLE gameHandle);

bool HealthStatus = FALSE;
bool MagicStatus = FALSE;
bool PistolStatus = FALSE;

bool isGameAvail;

DWORD pBase = 0x01452DE8;
DWORD magicOffset[] = { 0xA60 };
DWORD healthOffset[] = { 0x344 };
DWORD pistolAmmoOffset[] = { 0x0, 0xBC, 0x59C };

//Handle Function
HANDLE grabHandle(char * game){
	HWND gameWindow = FindWindowA(NULL, game);

	if (!gameWindow){
		cout << "Game Window Was Not Found!" << endl;

	DWORD procID;
	GetWindowThreadProcessId(gameWindow, &procID);

	if (!procID){
		cout << "Process ID Was Not Found!" << endl;

	HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, procID);

	if (handle == INVALID_HANDLE_VALUE){
		cout << "Handle Value is Invalid!" << endl;

	return handle;

//Main Function
int main(){
	HANDLE gameHandle = grabHandle("Dishonored");
	isGameAvail = TRUE;

	//Main loop
	while (1){
		if (isGameAvail){

		if (GetAsyncKeyState(VK_XBUTTON1)){
			HealthStatus = TRUE;

		if (GetAsyncKeyState(VK_XBUTTON2)){
			MagicStatus = TRUE;;

		if (GetAsyncKeyState(VK_F1)){
			PistolStatus = TRUE;

		if (GetAsyncKeyState(VK_F2)){

DWORD FindDmaAddy(int PointerLevel, HANDLE gameHandle, DWORD Offsets[], DWORD BaseAddress){
	DWORD pointer = pBase;
	DWORD pLocal;

	DWORD pointerAddr;
	for (int c = 0; c < PointerLevel; c++){
		if (c == 0){
			ReadProcessMemory(gameHandle, (LPCVOID)pointer, &pLocal, sizeof(pointerAddr), NULL);

		pointerAddr = pLocal + Offsets[c];
		ReadProcessMemory(gameHandle, (LPCVOID)pointerAddr, &pLocal, sizeof(pointerAddr), NULL);
	return pointerAddr;

void WriteToMemory(HANDLE gameHandle){
	DWORD AddressToWrite;

	if (HealthStatus){
		int newHealth = 100;
		AddressToWrite = FindDmaAddy(1, gameHandle, healthOffset, pBase);
		WriteProcessMemory(gameHandle, (LPVOID)(AddressToWrite), &newHealth, sizeof(newHealth), NULL);

	if (MagicStatus){
		int newMana = 100;
		AddressToWrite = FindDmaAddy(1, gameHandle, magicOffset, pBase);
		WriteProcessMemory(gameHandle, (LPVOID)(AddressToWrite), &newMana, sizeof(newMana), NULL);

	if (PistolStatus){
		int newAmmo = 100;
		AddressToWrite = FindDmaAddy(3, gameHandle, pistolAmmoOffset, pBase);
		WriteProcessMemory(gameHandle, (LPVOID)(AddressToWrite), &newAmmo, sizeof(newAmmo), NULL);


Escobar Tier VIP
Trump Tier Donator
Jun 25, 2014
It would help us if you told us where it was broken, mate.

edit: do this tutorial
Last edited by a moderator:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Similar threads

Community Mods