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 


Universal frame advance?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Thu Jan 19, 2012 11:25 am    Post subject: Universal frame advance? Reply with quote

Is there any sort of breakpoint you could set that would work for any and all games that could do the equivelent of advancing one frame in the game?

I know you could set a breakpoint at directx9's endscene() function, but do some games call endscene more than once and mid frame? What about games that don't use dx9?

Anyone have any tips to get this effect? Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Thu Jan 19, 2012 3:53 pm    Post subject: Reply with quote

Endscene can be called multiple times a frame yes, I recommend hooking IDirect3DDevice9->Present

In Vista+ there's D3DKMTPresent which is called by both opengl and d3d present

Another function that is probably called every frame is GetMessage or PeekMessage which is the main message loop of most games.

If your plan is to draw to the screen without flickering, this won't work, I tried

_________________
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
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 304

PostPosted: Thu Jan 19, 2012 4:32 pm    Post subject: Reply with quote

Oh no, not attempting to draw anything, it's for finding memory values that change only once per frame. I'll check out peek and getmessage.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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