Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


dbk_getPhysicalAddress returns nil result

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
MuckySpud
Newbie cheater
Reputation: 0

Joined: 06 Jun 2020
Posts: 12

PostPosted: Sun Feb 05, 2023 12:42 pm    Post subject: dbk_getPhysicalAddress returns nil result Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25833
Location: The netherlands

PostPosted: Sun Feb 05, 2023 12:54 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
MuckySpud
Newbie cheater
Reputation: 0

Joined: 06 Jun 2020
Posts: 12

PostPosted: Sun Feb 05, 2023 2:20 pm    Post subject: Reply with quote

That worked perfectly, thank you so much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites