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 do you go about finding Rapid Fire / Gun Damage?

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

Joined: 29 Dec 2013
Posts: 7
Location: Canada

PostPosted: Sun Dec 29, 2013 10:48 pm    Post subject: How do you go about finding Rapid Fire / Gun Damage? Reply with quote

Currently I finally figured out how to find a static address of ammo for a gun type, currently I have a gun's semi-automatic and am in the progress of finding the pointers for the automatic gun.

The question is how would you go about trying to find the rapid fire address? (I'm still brand new to this type, it took me around 7 hours over two days to understand pointers that go up to 8 offsets... Also no idea how to use Olly to make it!)

I've thought about attempting to slow down the game to nearly nothing and then searching for the timer between shots but I don't t think it'll work at all. I do know it's possible thought seeing as I can use the Speedhack built into to speed the firing of my gun to nearly instant.

_________________
~ A newbie trying to learn.
Back to top
View user's profile Send private message
ImSoto
How do I cheat?
Reputation: 0

Joined: 29 Dec 2013
Posts: 7
Location: Canada

PostPosted: Tue Dec 31, 2013 11:54 pm    Post subject: Re: How do you go about finding Rapid Fire / Gun Damage? Reply with quote

This is a bump, the original question was figured out by me, now how would I make Rapid Fire?
_________________
~ A newbie trying to learn.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Jan 01, 2014 12:25 am    Post subject: Reply with quote

Well, each gun has a different fire rate, so it has a different amount of time before you can fire again, right? So it makes sense that each time you fire, a timer is started with a certain value (either a target value, or a starting value), and either it counts up to the target and then lets you fire again, or the timer counts down to 0 before you can fire again.

If it sets a certain timeout number, then it counts down from this number. So you can fire, pause the game, and immediately search for an unknown number. Unpause and then pause again before you can fire again, and the number has lessened so search for a decreased value. Do that two or three times (with a really slow weapon) and then once you can fire again, search for 0. Then fire again and search for an increased value (since that timer went up again).

If it's the opposite and it starts the timer at 0 and counts up to a different target 'cooldown' per weapon, adjust your scanning method accordingly.

Using the speedhack setting with speedhack hotkeys set up in CE's options to freeze and unfreeze the game on demand really helps when scanning for stuff like this.

_________________
Back to top
View user's profile Send private message
ImSoto
How do I cheat?
Reputation: 0

Joined: 29 Dec 2013
Posts: 7
Location: Canada

PostPosted: Wed Jan 01, 2014 12:32 am    Post subject: Reply with quote

Rydian wrote:
Well, each gun has a different fire rate, so it has a different amount of time before you can fire again, right? So it makes sense that each time you fire, a timer is started with a certain value (either a target value, or a starting value), and either it counts up to the target and then lets you fire again, or the timer counts down to 0 before you can fire again.

If it sets a certain timeout number, then it counts down from this number. So you can fire, pause the game, and immediately search for an unknown number. Unpause and then pause again before you can fire again, and the number has lessened so search for a decreased value. Do that two or three times (with a really slow weapon) and then once you can fire again, search for 0. Then fire again and search for an increased value (since that timer went up again).

If it's the opposite and it starts the timer at 0 and counts up to a different target 'cooldown' per weapon, adjust your scanning method accordingly.

Using the speedhack setting with speedhack hotkeys set up in CE's options to freeze and unfreeze the game on demand really helps when scanning for stuff like this.


Every FPS game should usually default the cooldown timer to a float right?
I've been trying to get Cheat Engine to accept my Mouse4/Mouse5 button clicks to freeze but it won't let me =/

- Also happy new years ppl

Edit; Just attempted to do it this way, proved too difficult to get any usable base addresses. Also I attempted to make a God Mode however when ever I attempt to see what is writing to the Health(Float) it'll crash so can't get the pointer, along with player still being killed by anything that will do more then the players health (Max health is set to 400, trying to find bypass atm)

_________________
~ A newbie trying to learn.
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed Jan 01, 2014 5:27 am    Post subject: Reply with quote

Well,
In most games (that I hacked)
rapid fire, can be found near the ammo region.
Just check +- offsets (check what writes and nop, and see if you have effect).

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Jan 01, 2014 6:42 am    Post subject: Reply with quote

In the few games where I've hacked fire/attack speed, it was int because it counted game logic cycles, not seconds. Search for all types anyways to be safe.

Just use the keyboard for hotkeys. You've got one hand on it anyways.

You just need to find the address once, then you can find the code that controls it and edit the code.

If the game crashes when you attach a debugger, change the debugger settings. Use the VEH debugger for one, change how breakpoints are set, etc. It's in the CE options.

_________________
Back to top
View user's profile Send private message
ImSoto
How do I cheat?
Reputation: 0

Joined: 29 Dec 2013
Posts: 7
Location: Canada

PostPosted: Wed Jan 01, 2014 4:37 pm    Post subject: Reply with quote

Rydian wrote:
In the few games where I've hacked fire/attack speed, it was int because it counted game logic cycles, not seconds. Search for all types anyways to be safe.

Just use the keyboard for hotkeys. You've got one hand on it anyways.

You just need to find the address once, then you can find the code that controls it and edit the code.

If the game crashes when you attach a debugger, change the debugger settings. Use the VEH debugger for one, change how breakpoints are set, etc. It's in the CE options.


I've attempted using the VEH debugger aswell and it'll crash and I've also attempted the prevent detection for the default debugger and it also crashes when trying to figure out whats accessing it. I'm currently attempting to start using Olly debug, basically following Fleet Hacks DLL Tutorial(However its out of date so I basically am finding all new addresses and his code is outdated so I'm attempting to constantly revamp it)
Also hopefully I'll figure out how to use these Addresses / OPCODES because they seem very different from Cheat Engine static addresses.

Trying to fully understand how he found the rapid fire address here (Time is shortly after 12:00;
Search for "C++ HOW TO HACK any game TUTORIAL Pt 11 DLL Injection 4" in Youtube for the correct video.


EDIT; I think I found the issue that causes the game to crash, whenever it detects a active debugger it'll call a LEAVE and game will die, attempting to NULL it will also cause the game to die from exceptions.



LEAVE.png
 Description:
Picture
 Filesize:  15.13 KB
 Viewed:  18310 Time(s)

LEAVE.png



_________________
~ A newbie trying to learn.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Jan 01, 2014 7:58 pm    Post subject: Reply with quote

Try having it not overwrite breakpoints, and change the setting for breakpoints (virtual/physical), etc. If the game's DRM is stopping it you may need a cracked version (and the edits you develop with the crack should work on normal versions).
_________________
Back to top
View user's profile Send private message
ImSoto
How do I cheat?
Reputation: 0

Joined: 29 Dec 2013
Posts: 7
Location: Canada

PostPosted: Thu Jan 02, 2014 12:20 am    Post subject: Reply with quote

Rydian wrote:
Try having it not overwrite breakpoints, and change the setting for breakpoints (virtual/physical), etc. If the game's DRM is stopping it you may need a cracked version (and the edits you develop with the crack should work on normal versions).


Attempted this, this is for a game that currently I'm pretty sure won mod of the year. Anyway still can't attempt to change the actual memory with the client instantly crashing even while bypassing the kernel checks. Rate of fire is also not going so well to find.

_________________
~ A newbie trying to learn.
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