| View previous topic :: View next topic |
| Author |
Message |
MuckySpud Newbie cheater
Reputation: 0
Joined: 06 Jun 2020 Posts: 12
|
Posted: Sun Feb 05, 2023 12:42 pm Post subject: dbk_getPhysicalAddress returns nil result |
|
|
Hey I was wondering if anyone has ran into this issue, I am using dbk_getPhysicalAddress within a lua script to get the physical address to then use with the dbvm_cloak_activate command, however when I use dbk_getPhysicalAddress under certain circumstances it will return a nil result. I have tested this by making a simple print script to display what the physical address is.
I was able to replicate this issue by completely closing down cheat engine and the exe, launching ce and then launching the exe. Attach to process and then scan for the physical address of the address I want to cloak then it prints the address result as 0 while showing the virtual base address correctly.
So this problem means when I enable my lua script to enable dbvm on this address it doesnt work correctly, however if I browse the memory region of the address then enable my dbvm script, it will work just fine. The same goes for if I use the print script to show the physical address, it will print the correct address instead of 0.
So essentially, unless I manually go and browse to the memory region, the lua script command for dbk_getPhysicalAddress will not return the correct result.
Does anyone know why this is or what I can do to make it so that I dont have to manually browse to the memory region each time?
I hope my explanation makes sense and if not then let me know and I will try to explain it better with screenshots.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Sun Feb 05, 2023 12:54 pm Post subject: |
|
|
it means the address was paged out
you'll have to read it first. (try readInteger)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
MuckySpud Newbie cheater
Reputation: 0
Joined: 06 Jun 2020 Posts: 12
|
Posted: Sun Feb 05, 2023 2:20 pm Post subject: |
|
|
| That worked perfectly, thank you so much.
|
|
| Back to top |
|
 |
|