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 


Hack random

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

Joined: 15 Mar 2021
Posts: 1

PostPosted: Mon Mar 15, 2021 6:59 am    Post subject: Hack random Reply with quote

Hello, I need your help. I have an old strategy game where units have paramters: min damage and max damage.
Actual damage value is used by random choice number between min and max.
For example, unit has min damage = 10 and max damage= 20, and real hit damage value can be in this range [10, 20] (for example, 15).

The game is very big and I don't know method where and how this attack logic is processed.
I want to do that actual damage value always will be max damage and not random. How do I do it?
As I know, CE has "Unrandomizer" tool. Can this tool be helpful in solving my problem? For example, can it generate all places where random is used to and I will find the place where is processed this damage random.

Btw, I saw this thread: viewtopic.php?p=4624812&sid=d91a5ae09544abc017c99652594de8a5
but it didn't help me.
I can't find min and max value of a unit displayed in the game in CE at all.

UPD: IT looks like unrandomizer doesn't give any impact on this random between min and max damage. When I turn it on, the actual damage is still randomized. Why?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4291

PostPosted: Mon Mar 15, 2021 11:20 am    Post subject: Reply with quote

The unrandomizer doesn't work because different games are different.

If you can't read assembly, you might get lucky and find max/min values in memory around the value itself (memory viewer or structure dissect); otherwise, the best thing you can do is ask someone who can read assembly to do it for you.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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