Hi, could somebody tell me, how to make an universal function to alingning adressess both windows xp, and windows vista/7? My method:
adress + 0x400000 - base adress doesn't work ;(
Regards, Light Squared
Hi, could somebody tell me, how to make an universal function to alingning adressess both windows xp, and windows vista/7? My method:
adress + 0x400000 - base adress doesn't work ;(
Regards, Light Squared
Address + base address should be enough, if the address has no base address.
If you're grabbing addresses from this forum, chances are they have 0x400000 as base address already applied to them, so you'll need to subtract 0x400000 and add the current base address.
For example hp adreses (0x945000) should look: 0x945000 - 0x4000000 + baseAddress ??
Yes, but be wary of the amount of zeroes, it should be 0x400000.Originally Posted by Light Squared
I'm trying with:
static int base = (int)getModuleBase();
static int XPBase = 0x400000;
lpBaseAddress += (base - XPBase);
but it doesn't work on xp
Hi, you should make sure lpBaseAddress is the unaltered address found in XP with its base(0x400000) and that getModuleBase is working.
Adress is readed with xp and getModuleBase is 100% working
Use search. Many people have posted how to do this, including me and BlackD.
I can't find, please post threads here for me....
Sory for the problem
How to use Windows XP Tibia 9.1+ address in Vista/7
Regards, Czepek!