Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft
You last visited: Today at 19:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Wow MainModule Address

Discussion on Wow MainModule Address within the World of Warcraft forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 109
Received Thanks: 154
Wow MainModule Address

Hi, hab heute mit C++ angefangen (ja 1. App überhaupt ^^) und hab ne frage hierzu;

Code:
UINT_PTR CMemory::GetModuleBaseAddress(DWORD iProcId, char* DLLName)
{
  HANDLE hSnap;
  MODULEENTRY32 xModule;
  hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, iProcId);
  xModule.dwSize = sizeof(xModule);
  if (Module32First(hSnap, &xModule))
  {
    while (Module32Next(hSnap, &xModule))
    {
        if (strcmp((char*)xModule.szModule, DLLName) == 0)
        {
			CloseHandle(hSnap);
			return (UINT_PTR)xModule.modBaseAddr;
        }
    }
  }
  CloseHandle(hSnap);
  return 0;
}
Die BaseAddress sollte ja immer UINT_PTR sein wenn ich da richtig liege.. habe das mal von ursprünglich DWORD schon korrigiert...

Diese Funktion soll eigentlich die Base Address des oben als char* angegebenen Moduls zurückgeben. Der Prozess ist über folgende Handle geöffnet:

Code:
PROC_HANDLE = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, false, PROC_ID);
und sollte deshalb die nötigen Debug-Rechte besitzen.

Nun zur Frage:

die Funktion gibt in jeder Hinsicht "0" zurück. Aufrufen tu ich sie halt ganz normal...
Code:
BaseAddr = GetModuleBaseAddress(PROC_ID, "Wow.exe");
cout << "WoW MainModule located at: " << BaseAddr << endl;
weiß jemand was da der Grund dafür sein kann? -bitte wäre euch sehr dankbar ^^
Master674 is offline  
Reply


Similar Threads Similar Threads
Address 31/8/10
08/31/2010 - WarRock Hacks, Bots, Cheats & Exploits - 13 Replies
address warrockby coccolo.txt :D
New address
08/27/2010 - WarRock Hacks, Bots, Cheats & Exploits - 8 Replies
Addr_AutoAmmo 0x008AE96C Addr_AutoRepair 0x008AE970 Addr_Scope 0x007CFE84
Address 20/8/10
08/20/2010 - WarRock Hacks, Bots, Cheats & Exploits - 3 Replies
#define ADR_SPEED 0x0076E65C #define ADR_GLASSWALLS 0x008A0F78 #define ADR_NOSPREAD 0x0089B098 #define ADR_NOBOUNDS1 0x008C06E8 #define ADR_NOBOUNDS2 0x008C06DC #define ADR_NOBOUNDS3 0x008C06E4 #define ADR_INSTANTSPAWN1 0x00908E90 #define ADR_INSTANTSPAWN2 0x0089E5D4 #define ADR_SCOPE 0x007BFDAC #define ADR_FastLockon 0x0089B0A8
NEW ENG? Can't see the address?
06/07/2009 - Grand Chase - 12 Replies
i cant see any address while scanning 1 hit hack
[HELP] Finding Gm address & AoE address on CABAL
10/23/2008 - Cabal Online - 0 Replies
How can i find Gm address and Aoe Address on CABAL ? im using CE please help me. TNX! :bandit:



All times are GMT +1. The time now is 19:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.