Game.dll Base Address

08/14/2010 20:30 WutangFinancial#1
I'm having ridiculous issues with something that I think shouldn't be causing me so many problems.

I am trying to get the base address of Game.dll so I can actually use offsets.

The most popular way that I have seen on these boards returns 0 every time:
Global $pid = ProcessExists("AION.bin")
Global $openmem = _MemoryOpen($pid)
Local $modHandle = _MemoryModuleGetBaseAddress($pid, "Game.dll")

The second way returns an address that changes about every second and won't return correct values when used with a working Aion offset:
Global $kernel32 = DllOpen("kernel32.dll")
Local $modHandle = DllCall($kernel32, "long", "GetModuleHandle", "str", "game.dll")

I guess I'd really like to know why MemoryModuleGetBaseAddress won't work. NomadMemory is included.

Thanks a lot guys.