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 


How to sync my fake inputs with real game inputs?(Garou MoW)

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

Joined: 24 Aug 2020
Posts: 1

PostPosted: Mon Aug 24, 2020 6:40 am    Post subject: How to sync my fake inputs with real game inputs?(Garou MoW) Reply with quote

Hello guys, that is my first gaming hack project, so please be patient if I'm asking something stupid.

I'm trying to create a training mod for the game Garou Mark of the Wolves Steam version.
One of the features of my mod will be record macros, then playback it back.
I'm trying to figure out how to do it, but I'm stuck

The following code works, but it feels like brute force. It will not work for more complex macros.
Code:

UP = 0xFE
DOWN = 0xFD
LEFT = 0xFB
RIGHT = 0xF7
LP = 0xEF
LK = 0xDF
HP = 0xBF
HK = 0x7F

hadouken = { DOWN, DOWN & RIGHT, RIGHT, HP }
for i, v in ipairs(hadouken) do
    for i=0, 2000 do
       writeBytes(0x00685FD8, v)
    end
    Sleep(10)
end


I believe the game works in 60 fps reading one input each frame, so I would like to synchronize my fake inputs with this frame counter, but I don't have any idea what should I look for.

Could some one give me some hint?

Thank you in advance
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