Allora ciao a tutti, inizio col dire che questo sistema potrebbe rovinare warrock (Tanto e gia Rovinato...). Va be andiamo al sodo...In giro per il Web ho trovato questo codice per un "address logger" cosi direste voi...Il problema sta nel facco che manca il "CSignatureSearch.h" per la dll e nn so come si potrebbe creare ho toglierla e volevo chiedere un aiuto a voi... il source:
Codice:
#include <windows.h>
#include "CSignatureSearch.h"
#define Log(SigName,Sig) fprintf(xLog, "BYTE %s[] = { %s};\n\n", SigName, Sig );
CSignatureSearch SigSearch;
string second;
string third;
void Logger3(char szName[55])
{
third = third+"Log(\"" + szName + "\","+szName+");\n";
}
void Logger2(char szName[55])
{
second = second + "DWORD " + szName + " = CSigSearch.SigSearch(0x00401000,0x01000000,"+szName+"Sig,sizeof("+szName+"Sig),0xEE);\n\n";
Logger3(szName);
}
string Logger(char szName[55],DWORD dwAddress)
{
string Output = SigSearch.CreateSignature(dwAddress);
Logger2(szName);
return Output;
}
void Main()
{
while(1)
{
// If we press Numpad 0
if(GetAsyncKeyState(0x60))
{
FILE* xLog = fopen("Signatures.txt", "w");
if(xLog)
{
/* EDIT HERE - Add your hacks + addresses */
/* Examples: */
Log("UnlimitedStaminaSig",Logger("UnlimitedStamina",0x00400000).c_str() );
/* First param of Log() is the name of Sig, just put the name with Sig at the end. */
/* Second Param is always */
/* Logger("HACKNAME",0x00ADDRESS).c_str() */
/* Then you end it with ); ofcourse */
fclose(xLog); // close file when we are done logging signatures
}
Sleep(1000);
}
Sleep(30); // No lag
}
}
// On DLL Entry
bool APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved){
if(dwReason == DLL_PROCESS_ATTACH){
DisableThreadLibraryCalls(hModule);
CreateThread(NULL, 0, (unsigned long(__stdcall*)(void*))Main, NULL, 0, NULL);
return TRUE;
}
return TRUE;
}