NoFalldamage
Ok?
Log ValueNoFallDmg.txt
Code:
#include "stdafx.h"
#include <Windows.h>
#include <iostream>
#include <fstream>
using namespace std;
DWORD FallMgr = 0xA97484;
DWORD NoFallDmg = 0x4;
int Read()
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD* offsetFall = (DWORD*)(CShell + FallMgr);
while(*offsetFall == 0){Sleep(50);}
Beep (2000,200);
PFLOAT value = (PFLOAT)(*offsetFall+NoFallDmg);
if (*value) {
std::ofstream file;
file.open("ValueNoFallDmg.txt");
file << *value << "\n" ;
file.close();
}
return TRUE;
}
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason == DLL_PROCESS_ATTACH){
Read();
}
return TRUE;
}
Log ValueNoFallDmg.txt
Code:
2.5

there's obviously better ways of doing it, that is just an example. I don't do it like that but it is a way to do it nevertheless. Give that a shot.


