Is not that the logic ?!
Offset = BaseAddres - 0x400000
Address = XPAddress + Offset;
Or Should it be only BaseAddress + XPAddress?
Is not that the logic ?!
Offset = BaseAddres - 0x400000
Address = XPAddress + Offset;
Or Should it be only BaseAddress + XPAddress?
Address -= 0x400000;Originally Posted by maozao
BaseAddress = <get base address>;
Address += BaseAddress;
edit: Address is an address on a 0x400000 base address
Gonna test it now and I will edit to tell if it worked or not.
Thank you.
Edit: Looks like that the problem is with the Windows Seven 64bits.
A friend of mine using 32bits worked good, other 2 with 64 bits didn't work.
Tomorrow I will make more tests.
Thanks.
Creating a Tibia process in suspended mode, and then calling "TibiaProcess.MainModule..GetBaseAddress" results in an error and makes it impossible to resume the thread. Anyone know why? It does work when it is not in suspended mode though. Can't get the MC to work
Don't need to do that with Tibia suspended anyways :P
Well how do you get the correct MC address to write to? I'm using the same method TibiaAPI uses. It opens Tibia suspended, writes bytes to the MC add, resumes the thread, then reverses the written bytes, right? So this method no longer works now?
What would be the solution for the OS's 64bits, to try compile exclusive for 64bits system or what?
I'm starting to make tests in 32bits systems to confirm about that.
Always compile in x86 when it's a Tibia-related project.Originally Posted by maozao
That's what I do.
Anyway, the problem isn't with 32bits or 64bits, it's not working good in both OS.
Make a better MCOriginally Posted by jessel