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 


dbvm_setTSCAdjust

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
megapat2000
How do I cheat?
Reputation: 0

Joined: 22 Jan 2022
Posts: 3

PostPosted: Sat Jan 22, 2022 12:23 pm    Post subject: dbvm_setTSCAdjust Reply with quote

Hi,
I'm currently working with CE / DBVM for kernel debugging. I ran a rdtsc / cpuid / rdtsc test before starting CE, 120 on average. Even after starting CE, 120 on average, when I attach to system process, 1000 - 3000, and then I run a lua script calling
Code:
  dbvm_initialize()
  dbvm_setTSCAdjust(true,4000)

timing results are not modified after the call.
Am I doing something wrong?

Sorry forgot to mention, win 10 21H1, intel CPU
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sat Jan 22, 2022 12:35 pm    Post subject: Reply with quote

instead of 4000 try 2000, or even 500
_________________
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
megapat2000
How do I cheat?
Reputation: 0

Joined: 22 Jan 2022
Posts: 3

PostPosted: Sat Jan 22, 2022 1:00 pm    Post subject: Reply with quote

I tried with 2000, 1500, 1000, 500 and it gives the same results, tsc doesn't seem to be impacted
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun Jan 23, 2022 9:16 am    Post subject: Reply with quote

try dbvm_speedhack_setSpeed(1) first and then use dbvm_setTSCAdjust
_________________
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
megapat2000
How do I cheat?
Reputation: 0

Joined: 22 Jan 2022
Posts: 3

PostPosted: Sun Jan 23, 2022 9:19 pm    Post subject: Reply with quote

Dark Byte wrote:
try dbvm_speedhack_setSpeed(1) first and then use dbvm_setTSCAdjust


unfortunately I still have the same results, my rdtsc / cpuid / rdtsc still goes crazy when I attach the debugger

Code:
dbvm_initialize()
dbvm_speedhack_setSpeed(1)
dbvm_setTSCAdjust(true,1000)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Mon Jan 24, 2022 3:32 am    Post subject: Reply with quote

ah right, those functions don't enable the hook.
try this first:
Code:

dbvm_enableTSCHook()

_________________
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
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