Hello forum members,
I have a problem with the stamina hack.
I don't get this hack to work.
Further work most other hacks.
I disabled all other hacks.
Code:
// Yearupie.cpp : Defines the exported functions for the DLL application.
//
#include "Stdafx.h"
#include <Windows.h>
#include <Stdio.h>
/* Adressen zijn van 22-2-2010 van addylogger */
#define ADR_PLAYERPOINTER 0x00CEFDB8
#define ADR_SERVERPOINTER 0x00BEF520
#define OFS_STAMINA 0x28
HANDLE Warrock;
DWORD *ingame= (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame= (DWORD*)ADR_SERVERPOINTER;
/* Makkelijk om te kopieren, minder typwerk */
// DWORD dwPlayerPtr=*(DWORD*)ADR_PLAYERPOINTER;
// DWORD dwServerPtr=*(DWORD*)ADR_SERVERPOINTER;
// ...
/* Stamina */
void stamina ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
}
}
// ...
void snip()
{
for(;; )
{
if(*ingame)
{
//fastAll(); //werkt
//speedUp(); //werkt
//speedDown(); //werkt
//scope(); // werkt
//superJump(); // werkt
//nfd(); // werkt
//teleport(); // werkt
stamina(); // ---------- werkt niet ! ----------
//noFog(); // werkt
}
if(*outgame)
{
// spread(); // werkt
// noBound(); // werkt
// premium(3); // werkt
}
Sleep(200);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule,DWORD dwReason,LPVOID lpvReserved){
if(dwReason==DLL_PROCESS_ATTACH){
CreateThread(0,0,(LPTHREAD_START_ROUTINE)snip,0,0,0);
MessageBoxA(NULL, "Made by Yearupie\n Email: wh4l@live.nl", "Credits", MB_OK);
}
return TRUE;
}