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 randomized value

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

Joined: 21 Jan 2008
Posts: 40

PostPosted: Thu Nov 05, 2009 7:01 pm    Post subject: Finding randomized value Reply with quote

Example would be say a weapon has min-max attack of 10-20;

say your strength directly scales your attacks by a %, so for example,

your final attack: random from (strength*0.1*10) to (strength*0.1*20)

How do you scan that? I tried unknown initial value and increase/decrease (the one without specific value), it still didn't work. I don't know the exact % to scale so I can't directly scan for a solid number.

Thanks.
Back to top
View user's profile Send private message
DamiPL
Grandmaster Cheater Supreme
Reputation: 3

Joined: 02 Jul 2006
Posts: 1195
Location: 11001110

PostPosted: Thu Nov 05, 2009 7:07 pm    Post subject: Reply with quote

you can try scanning with "Value between..."
_________________
Back to top
View user's profile Send private message AIM Address
ChainRule
Cheater
Reputation: 1

Joined: 21 Jan 2008
Posts: 40

PostPosted: Thu Nov 05, 2009 7:31 pm    Post subject: Reply with quote

But I think from a programming perspective, the final attack value should be calculate upon attacking:

random between (getmin(), getmax());

So there isn't an exact value or anything in between? However, I am unable to scan for the min nor the max too.

Thanks for the reply tho.
Back to top
View user's profile Send private message
DamiPL
Grandmaster Cheater Supreme
Reputation: 3

Joined: 02 Jul 2006
Posts: 1195
Location: 11001110

PostPosted: Thu Nov 05, 2009 8:54 pm    Post subject: Reply with quote

so what exacly are u trying to find? the Final attack/damage?
i dont know if it would work but u can try this method:
Check if u can find your current STR
Since your attack is based on ur current str, game needs it to generate the random attack value. If u can find it the press what accessed to this address while you were attacking something, see if any addys show up. That should lead u to the damage addy.

_________________
Back to top
View user's profile Send private message AIM Address
Silhouette
Cheater
Reputation: 0

Joined: 19 Oct 2009
Posts: 40
Location: Elsewhere

PostPosted: Thu Nov 05, 2009 9:08 pm    Post subject: Reply with quote

Alternatively, why not just find your Strength value and just crank that up? You're just trying to land lots of damage, right?
_________________
"The sun that cloudy April day, struck the world, and made it May."
Back to top
View user's profile Send private message
ChainRule
Cheater
Reputation: 1

Joined: 21 Jan 2008
Posts: 40

PostPosted: Thu Nov 05, 2009 9:39 pm    Post subject: Reply with quote

That works; however, by directly finding the attack value, I might be able to find the ASM code that is executed during the attack. That way, I can find even more things such as critical hits, and maybe even enemy HP.
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