Public paste
lulu
By: lululu | Date: Oct 25 2009 14:15 | Format: None | Expires: never | Size: 689 B | Hits: 931

  1. const int FischblaseOffsetStatisch = 0x001F29BC;
  2. const int FischblaseOffset1 = 0x8;
  3. const int FischblaseOffset2 = 0x414;
  4. int FischblaseAdresse;
  5. int AdresseBuffer;
  6. int iValue = 0;
  7.  
  8. HMODULE hModule;
  9. while(!hModule)
  10. {
  11.     hModule = GetModuleHandle(L"metin2.bin");
  12. }
  13. DWORD pMetin2Bin = (DWORD) hModule;
  14.        
  15. AdresseBuffer = pMetin2Bin + FischblaseOffsetStatisch;
  16.  
  17. ReadProcessMemory(GetCurrentProcess(),(LPVOID *)AdresseBuffer,(LPVOID)&iValue,(SIZE_T)sizeof(iValue),NULL);
  18.  
  19. AdresseBuffer = iValue + FischblaseOffset1;
  20.  
  21. ReadProcessMemory(GetCurrentProcess(),(LPVOID *)AdresseBuffer,(LPVOID)&iValue,(SIZE_T)sizeof(iValue),NULL);
  22.  
  23. FischblaseAdresse = iValue + FischblaseOffset2;
Latest pastes
54 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago