diademajin How do I cheat?
Reputation: 0
Joined: 24 Aug 2020 Posts: 1
|
Posted: Mon Aug 24, 2020 6:40 am Post subject: How to sync my fake inputs with real game inputs?(Garou MoW) |
|
|
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
|
|