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 


Scanning

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3325

PostPosted: Fri Oct 01, 2021 4:18 pm    Post subject: Reply with quote

You pick one from the ComboBox.
Why'd you want to search multiple instead of all?
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sat Oct 02, 2021 5:08 am    Post subject: Reply with quote

vovasivy wrote:

Why did they even introduce a search for individual modules?

If you know how to reduce the search area without knowing where the desired value is, I will be grateful if you tell me.


It's likely because not every module contains executable code. There are modules which contain resources, link data etc...

You can reduce the search area by specifying the address range.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sat Oct 02, 2021 8:33 am    Post subject: Reply with quote

Check celua.txt

Code:

MemScan Class (Inheritance: Object)
getCurrentMemscan() : Returns the current memory scan object. If tabs are used the current tab's memscan object
createMemScan(progressbar OPTIONAL) : Returns a new MemScan class object

properties
  LastScanWasRegionScan: boolean - returns true is the previous scan was an unknown initial value
  LastScanValue: string
  LastScanType: ScanType/string - 'stNewScan', 'stFirstScan', 'stNextScan'
  ScanresultFolder: string - Path where the results are stored 
  OnScanDone: function(memscan) - Set a function to be called when the scan has finished
  OnGuiUpdate: function(memscan, TotalAddressesToScan, CurrentlyScanned, ResultsFound) - Called during the scan so you can update the interface if needed
  FoundList: FoundList - The foundlist currently attached to this memscan object
  OnlyOneResult: boolean - If this is set to true memscan will stop scanning after having found the first result, and written the address to "Result"
  IsUnique: boolean - Same as OnlyOneResult but will use multiple threads, so if the value is not unique you will be given a random address
  Result: Integer - If OnlyOneResult is used this will contain the address after a scan has finished

  CodePage: boolean;
  ScanOption: TScanoption
  VariableType: TVariableType
  VarType: TVariableType : ^
  Roundingtype: TRoundingType
  Scanvalue: string : Value to scan
  Scanvalue1: string : ^
  Scanvalue2: string : Secondary value to scan (e.g value between scan)
  Startaddress: integer
  Stopaddress: integer
  Hexadecimal: boolean
  BinaryStringAsDecimal: boolean
  UTF16: boolean
  Casesensitive: boolean
  Fastscanmethod: TFastScanMethod
  Fastscanparameter: string
  Customtype: TCustomType

  ScanWritable:    TScanregionpreference ('scanDontCare', 'scanExclude', 'scanInclude')
  ScanExecutable:  TScanregionpreference ('scanDontCare', 'scanExclude', 'scanInclude')
  ScanCopyOnWrite: TScanregionpreference ('scanDontCare', 'scanExclude', 'scanInclude')
 
  Percentage: boolean
  CompareToSavedScan: boolean
  SavedScanName: string


You can create a class object of your own and define the range of the scans as per your requirements.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sat Oct 02, 2021 9:25 am    Post subject: Reply with quote

I'm not a programmer either but I take steps to achieve what I want. You can extend Cheat Engine's functionality to create the scans and their criteria. Lua is an easy language to learn and I implore you try.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sat Oct 02, 2021 9:58 am    Post subject: Reply with quote

I wish I could agree. I must point out that according to my comments, I have some experience with Lua but by no means am I a professional. I understand that I have not given source code to achieve exactly what you want but I have given you enough information to start. DB provided what Lua functions interface with Cheat Engine directly within the celua.txt documentation and things pertaining to the Lua language can be referenced using the manual here:

Lua 5.3 Manual

I realise there is a lot to read but perserverance is the key. Once you achieve your goal by your own doing, it is just that little bit more satisfying than having the answer handed to you.

I am constantly reminded of the saying: "Give a man a fish, he won't starve for a day. Teach a man to fish and he won't starve for a lifetime".

The same can be said in this case, if you learn how to do it. There is nothing to stop you from achieving other things that you may want. You won't be stuck at every hurdle just because of something simple.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Sat Oct 02, 2021 10:42 am    Post subject: Reply with quote

vovasivy wrote:
Then ask DarkByte to change access to the forum only for those who understand programming and Lua.
And ask to change this line in the main page "Please report bugs and give feature requests for next version so I can make it even better."


No, I will not. The forum is here for more than just programming and Lua. It is here for guidance as well as reporting bugs, general discussions, game hacking and more.

If you do not like my answer then I'm sorry but tough. If someone wants to help you out they will. I don't have time to provide you with the answer you require therefore I suggested you look at how you can achieve it. If you can't be bothered to take the effort to achieve your own goal then how can you expect others to want to help you?
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