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 


More speed to scan

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

Joined: 02 Sep 2010
Posts: 1

PostPosted: Thu Sep 02, 2010 12:57 pm    Post subject: More speed to scan Reply with quote

hi I'm trying to do a little "CE ... Anyone know a way to accelerate the speed of the scan?
Code:
Vars
   value, scan, scan1, scan2: Int64;


Before scan
scan1:=$00000000+StrToInt('$'+Edit1.Text);
scan2:=$00000000+StrToInt('$'+Edit2.Text);
Code:
  try
  begin
    if (PINT64 (scan) ^ = value) then //<< This code is undetected o.O
   ListBox.Lines.Add (IntToHex (scan, 8)); // Add address results
    scan: = scan + $ 1;
  end;
  except
  end;


Code:

Value is an integer that holds the value I'm doing scans
scan is the memory address
scan1 is the 1º address of scan
scan2 is the finish of scan
OBS: i have other timer who stop the fist timer =)

--------
I put this code in a range with a TTIME
but even so the scan takes a long time

Note: I do not speak English I used the google translator so if the answer can be in a formal English I thank you =)

Note2: Dark Byte I'm your fan to make the cheat engine and still release the sourcecode of it

Note3: I dont know if this is the correct forum to post this =/
if is wrong move it =)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25791
Location: The netherlands

PostPosted: Thu Sep 02, 2010 3:45 pm    Post subject: Reply with quote

ListBox.Lines.Add (IntToHex (scan, 8)); is slow if you have a lot of results

also, (not the best way) but one way to speed it up:

replace except end; with
Code:

except
  scan:=((scan shr 12)+1) shl 12; //next page base
end;


better would be using virtualquery to find out the startaddress of the next readable region

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Iniro
How do I cheat?
Reputation: 0

Joined: 02 Sep 2010
Posts: 1

PostPosted: Fri Sep 03, 2010 12:38 pm    Post subject: Reply with quote

Dark Byte wrote:
ListBox.Lines.Add (IntToHex (scan, Cool); is slow if you have a lot of results

also, (not the best way) but one way to speed it up:

replace except end; with
Code:

except
  scan:=((scan shr 12)+1) shl 12; //next page base
end;


better would be using virtualquery to find out the startaddress of the next readable region



I go try this
--
EDIT:Working. . javascript:emoticon('Very Happy')
--

You have a alertpay account? i have $2 on he
i can donate for you =)

NOTE: I not used google translator now 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 -> General programming 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