Ok here is a video about it. I don't have too much to say about it.
The base address in that code is EDI. I just add the address stored on EDI in the dissector and CE will generate the structure. Offset 3C holds the value for the weapon reload time, offset 624 is the accuracy modifier. You can see how are those values changing when I fire the gun.
The reload time is changing it's value all the time when I keep firing, but if I freeze it with code injection, I can fire much faster (faster than on the video because the recording has slowed down the whole game).
Same goes for accuracy. It is 0 by default and it is changing when I fire the gun and accuracy is decreasing. Then it will be 0 again if the accuracy is the default value again. If I enable my cheat for accuracy, the value will be always 0 and the accuracy is not changing whatever You do.
Freezing those values is not the best idea as they are changed too quickly, but as You can see, code injection will work perfectly on them.
If You cannot find it "manually", just use the speedhack. Slow down the game to 1-5% speed and search for the reload time after You have fired the weapon. Probably it is a decreasing value but You can never know, so try to search for increased values too if You don't find it.
First narrow down the search range to the structure only and if You don't find it there, search for it globally in the whole game (or near the other data).
Also as You can see it on the video too, the reload timer is usually the same value which is stored for reload between two shots or load a new clip when You are out of ammo. So You can try to search for the timer when You change clip too. _________________
I have never played Counter Strike so I have no idea how is it working in that game, but the method I have used for COD4 should work in almost every game.
And if speedhack is working, probably You can find the timer if You try patiently. _________________
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