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 


Finding mana regen then increasing its speed?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Thu Jul 30, 2015 3:05 pm    Post subject: Finding mana regen then increasing its speed? Reply with quote

So, there's this game where your mana regenerates every second for 5 points.
I guess you can just search for the MP then see what writes to it and just double the regeneration per second. But, how would you decrease the regeneration timer instead? So it would regenerate every 1/2th of a second?

How would I even search for something like that?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Jul 30, 2015 3:51 pm    Post subject: Reply with quote

You would need to trace back the mana regen function and find out what executes it.
There should be some logic around there determining when to call the function again.

It's so much simpler to make it add twice as much mana per tick than it is to make it tick twice as fast.

There a reason you don't want to do it this way?
10 mana per second is the same as 5 mana per 1/2 second. Smile
Back to top
View user's profile Send private message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Thu Jul 30, 2015 3:55 pm    Post subject: Reply with quote

Zanzer wrote:
You would need to trace back the mana regen function and find out what executes it.
There should be some logic around there determining when to call the function again.

It's so much simpler to make it add twice as much mana per tick than it is to make it tick twice as fast.

There a reason you don't want to do it this way?
10 mana per second is the same as 5 mana per 1/2 second. Smile

Oh, I just wanna know.

So, how would I search for the mana regen function? Would I just find the +5 tick and trace it back?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Jul 30, 2015 4:28 pm    Post subject: Reply with quote

Yea, just break and trace the instruction and each collapsed item in the tree view is a new function.
Go to the instruction, then up 1 to find the function call.
The main function you want is likely many calls deep.
You're in for a long, frustrating search. Smile
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Thu Jul 30, 2015 8:38 pm    Post subject: Reply with quote

It'd probably be easier to find what accesses MP and find one of the lesser-run functions that works on a time frame you like and then add a regen to that.
_________________
Back to top
View user's profile Send private message
deama1234
Master Cheater
Reputation: 3

Joined: 20 Dec 2014
Posts: 328

PostPosted: Fri Jul 31, 2015 10:45 am    Post subject: Reply with quote

Alright, I'll give both of those a try; thanks guys.
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