| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Sun Jul 16, 2017 5:13 pm    Post subject: ModuleList region scan | 
				       | 
			 
			
				
  | 
			 
			
				save this in your autorun folder and the memory region options will have a dropdown where you can select which module to scan
 
 	  | Code: | 	 		  
 
c=createComboBox(MainForm.gbScanOptions)
 
 
c.Style='csDropDownList'
 
c.Items.add('All')
 
c.ItemIndex=0
 
 
 
c.Align=alTop
 
c.BorderSpacing.Left=6
 
c.BorderSpacing.Right=6
 
c.BorderSpacing.Bottom=2
 
 
local modulelist
 
 
c.OnDropDown=function(d)
 
  --fill the list
 
  while c.Items.Count>1 do
 
    c.Items.delete(1)
 
  end
 
 
  modulelist=enumModules()
 
  local i
 
  for i=1, #modulelist do
 
    c.Items.Add(modulelist[i].Name)
 
  end
 
end
 
 
c.OnSelect=function(d)
 
  if c.ItemIndex>=1 then
 
    MainForm.FromAddress.Text=string.format("%.16x",modulelist[c.ItemIndex].Address)
 
    if modulelist[c.ItemIndex].Size==nil then
 
      modulelist[c.ItemIndex].Size=getModuleSize(modulelist[c.ItemIndex].Name)
 
    end
 
    MainForm.ToAddress.Text=string.format("%.16x",modulelist[c.ItemIndex].Address+modulelist[c.ItemIndex].Size)
 
  else
 
    MainForm.FromAddress.Text="0000000000000000"
 
    MainForm.ToAddress.Text="7fffffffffffffff"
 
  end
 
end
 
 
c.Enabled=false
 
 | 	  
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		abystus Expert Cheater
  Reputation: 1
  Joined: 09 Dec 2010 Posts: 140
 
  | 
		
			
				 Posted: Sun Jul 16, 2017 5:17 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Thank you sir!
 
 
**Note**
 
 
For 6.6 and below, change all references to MainForm to getMainForm().
 _________________
 Hitler are you bored? Watch some of my hacks here.  Want 2 gb of online storage space for free? Get Dropbox for computer, phone, etc...  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		ToolboyNIN How do I cheat?
  Reputation: 0
  Joined: 10 Aug 2020 Posts: 3
 
  | 
		
			
				 Posted: Mon Aug 10, 2020 4:17 am    Post subject: No list in... dropdown list | 
				       | 
			 
			
				
  | 
			 
			
				Would there be a particular reason or even a describable range of reasons why my Cheat Engine 7.1 (latest) does not show anything in the dropdown list for modules to scan? I could swear it worked before I updated but I hadn't need to use it since then. At the moment, I can not choose a module to scan specifically for the scan options. Obviously this is an old thread, but I could not find anything with search AND this deals EXACTLY with the dropdown. Might be something in Windows but I would like to start with CE first, since Windows could be a plethora of crap to deal with. Thank you. 
 
 
EDITED FOR SPELLING, sorry.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Mon Aug 10, 2020 4:48 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				First, don't use the script here, it's from before this became part of CE itself so using both scripts may conflict
 
 
EnumModules can fail if you're using kernelmode openprocess because you can't open it otherwise
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		ToolboyNIN How do I cheat?
  Reputation: 0
  Joined: 10 Aug 2020 Posts: 3
 
  | 
		
			
				 Posted: Tue Aug 11, 2020 11:13 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| I had checked the autorun folder after reading this thread and realized it was already there in a more updated fashion and realized it was NOT the reason to my situation. Also, would you be referring to CE kernelmode or Windows kernelmode? At the moment the option in 'Extras' is unchecked, therefore using Windows kernel, I believe. This IS the latest version of Windows (May Update) so it might just be something in Windows, like I had mentioned. Thanks for the reply, though. I will look into changing some ticks here and there to see if I can get different results.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Tue Aug 11, 2020 11:47 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				check out the result of eumModules()
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		ToolboyNIN How do I cheat?
  Reputation: 0
  Joined: 10 Aug 2020 Posts: 3
 
  | 
		
			
				 Posted: Wed Aug 12, 2020 1:33 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| Using CE kernel routines (DBVM) instead of Windows seems to have made the difference. Dropdown list is now populated. Unsure if that was the 'fix' since it has been over 24 hours with a few reboots in between the last time I used CE... but it works, now! Yay. Thanks, Dark Byte!
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |