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 


(Solved)[ASM]"getTickCount", "srand", &q

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

Joined: 17 Feb 2016
Posts: 404

PostPosted: Mon Mar 20, 2017 1:11 pm    Post subject: (Solved)[ASM]"getTickCount", "srand", &q Reply with quote

Please take a look at the following code:
Code:

call getTickCount
call srand
call rand  <------------------ here here here

and eax,99
cmp eax,0
.......


After the "here" comment in the code, eax should have a random number, right? However, all I get are the same series of numbers.

Did I do something wrong?

Update:
I fixed the problem, please ignore this post, I'm so sorry.

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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