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 


Infinite Mid-Air Jumps?

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

Joined: 23 Nov 2009
Posts: 6

PostPosted: Sat Jun 01, 2013 8:05 pm    Post subject: Infinite Mid-Air Jumps? Reply with quote

I've searched the entire forum with multiple keywords and have spent hours trying to figure this out.

Does anyone have any idea on what the best way to go about making a Infinite Mid-Air Jump type cheat? Making a teleport cheat to teleport on the z-coordinate or a "super jump" that modifies the jump height or gravity is easy but I'm looking for something with a little more finesse.

The specific game I'm trying to get it to work with is Darksiders 2 but the overall principal should be the same for any game.

My idea in theory would be to find the address that stops you from being able to jump in air and NOP, how to find that address however, I'm having difficulties doing so...

Does anyone have any ideas?
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sun Jun 02, 2013 4:52 am    Post subject: Reply with quote

If game already have mid-air jumps. Just try to search "mid-air jump counter".

For example, in DMC4 do this:
1) jump, and jump in mid-air, PAUSE while in air
2) search for value 1. Value type: I do not remember, but probably 4 bytes, if not, try 2 bytes or 1 byte.
3) back in game, jump once, do not jump in mid air, PAUSE
4) search for value 0

Repeat those many, many (many) times. I found address where instruction increases "mid-air jump counter" value by 1 and I just NOPed this instruction. This is how I made infinite mid-air jump for DMC4.








If game doesn't have this jump system. You have to find "up-down speed value" (there are three speed values: left-right, forward-backward, up-down; a speed vector ). In many cases those are single-precision floating-point values (alias: float, single, real)

Then, just overwrite up-down speed value, for example, to value 50 just after pressing special key.
That way, I made superjump cheat, and jump in mid-air cheat, for X-Ray Engine games. (all STALKER games).

_________________
Back to top
View user's profile Send private message MSN Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jun 02, 2013 1:21 pm    Post subject: Reply with quote

Yes...I think it depends on the game. For some older games, all you had to do was search for 1 and 0...depending on how many jumps you had left etc.. With newer games and more sophisticated engines, you usually have to work with some gravity or incorporate multiple injections. Anymore, I usually don't even bother with this kind of cheat unless it could prove extremely useful. It's more practical to just fly or teleport for most games, these days.
Back to top
View user's profile Send private message
ominouswanderer
How do I cheat?
Reputation: 0

Joined: 23 Nov 2009
Posts: 6

PostPosted: Mon Jun 03, 2013 2:37 am    Post subject: Reply with quote

Thanks for the responses! Unfortunately Darksiders 2 doesn't have a double jump or air jump so this seems like it might be a little more difficult than I was hoping.

So far I've managed to track down the up-down speed address but am a little confused on the next part. How would having a hotkey that changes this speed to a higher number reset the jump counter? I could see how upping it could increase the speed you jump at or potentially the jump height but am still not sure how to go about making to so I can have unlimited air jumps.

I'm going to be trying to figure this out for the next couple hours, so any additional insight, ideas or help is greatly appreciated!
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Mon Jun 03, 2013 6:40 am    Post subject: Reply with quote

ominouswanderer wrote:
So far I've managed to track down the up-down speed address but am a little confused on the next part. How would having a hotkey that changes this speed to a higher number reset the jump counter?

Indeed, you are confused. You use jump counter OR speed vector (more specifically, up-down speed). In game like DMC4, there is midair jump counter. STALKER doesn't have mid-air jump counter, so you use speed vector.





Look. If you jump, up-down speed value changes. At the beginning it has big value, like 20. Then it is 15 because of gravity, at the peak, value will be 0.

Now, our hero, goes back to earth. Speed will be -1, after a while -5, then just before touching ground, speed will be, more or less -20 (probably not exactly 20, because it depends on game physic model).

Now, imagine, what would happen if we change that speed value to 20 at will.

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

Joined: 23 Nov 2009
Posts: 6

PostPosted: Mon Jun 03, 2013 5:57 pm    Post subject: Reply with quote

Thanks alot, that makes much more sense!

I thought I was getting close but I've encountered another problem. I have the address for what I think is the up-down speed vector narrowed down to 4 possible addresses. They are two matching pairs, two of them range from approximately -10 to 10 and the other two -300 to 300 (for a jump anyway, falling from high up and it goes higher). They react exactly as you described.

The issue I'm coming across and my reason for questioning if they are the right addresses is that no modifications effect the game. I can freeze them or add/subtract crazy values to it and nothing happens. Is there code that needs to be NOP first?

In a different game I've gotten the mid air jumps with double jump built in but Darksiders 2 is giving me so much trouble I'm wondering if it might be over my head.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Jun 03, 2013 6:39 pm    Post subject: Reply with quote

Yes, you can try NOP'ing the instruction that writes to the address(es) that you found, to test.
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