| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		.lua Expert Cheater
  Reputation: 1
  Joined: 13 Sep 2018 Posts: 203
 
  | 
		
			
				 Posted: Wed Dec 11, 2024 1:01 am    Post subject: Regarding the issue of module address | 
				       | 
			 
			
				
  | 
			 
			
				How to display module address(fl.Address)
 
 	  | Code: | 	 		  function FindAndReplaceDoubleB(find)
 
   ms=createMemScan()
 
   ms.firstScan(soValueBetween, vtDword, rtTruncated, find,find,0,0xffffffffffffffff,'+W*X-C', fsmAligned,'4', false, false, false, false)
 
   fl=createFoundList(ms)
 
   ms.waitTillDone()
 
   fl.initialize()
 
   if fl.Count>0 then
 
     for i=0,7 do
 
        print(fl.Address[i])
 
       end
 
   end
 
   fl.destroy()
 
   ms.destroy()
 
 end | 	  
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 26.61 KB | 
	 
	
		|  Viewed: | 
		 9684 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Wed Dec 11, 2024 1:48 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				look up getNameFromAddress
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		.lua Expert Cheater
  Reputation: 1
  Joined: 13 Sep 2018 Posts: 203
 
  | 
		
			
				 Posted: Wed Dec 11, 2024 4:24 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Dark Byte wrote: | 	 		  | look up getNameFromAddress | 	  
 
I found it in the Lua help documentation, while the opposite is getAddressFromName.
 
I have another question, how do you determine that it is a static base address and change it to green
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Wed Dec 11, 2024 11:01 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				when inModule(address) returns true
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		.lua Expert Cheater
  Reputation: 1
  Joined: 13 Sep 2018 Posts: 203
 
  | 
		
			
				 Posted: Thu Dec 12, 2024 6:08 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Dark Byte wrote: | 	 		  | when inModule(address) returns true | 	  Oh My God, this is great. I still need to read more help files. There are too many good things in it.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		.lua Expert Cheater
  Reputation: 1
  Joined: 13 Sep 2018 Posts: 203
 
  | 
		
			
				 Posted: Tue May 06, 2025 1:42 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Dark Byte wrote: | 	 		  | when inModule(address) returns true | 	  What should I do when encountering this type of module
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 52.19 KB | 
	 
	
		|  Viewed: | 
		 3102 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Dark Byte Site Admin
  Reputation: 470
  Joined: 09 May 2003 Posts: 25807 Location: The netherlands
  | 
		
			
				 Posted: Wed May 07, 2025 1:00 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Use that modulename+offset like that
 
 
no idea what those addresses mean
 _________________
 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 | 
		 | 
	
	
		  | 
	
	
		.lua Expert Cheater
  Reputation: 1
  Joined: 13 Sep 2018 Posts: 203
 
  | 
		
			
				 Posted: Wed May 07, 2025 1:35 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Dark Byte wrote: | 	 		  Use that modulename+offset like that
 
 
no idea what those addresses mean | 	  
 
 
1.The list on the left side of the figure contains the addresses of registers (EAX, EDX, EBX...)
 
2.Search them again to find the base address (this is a feature provided by CE)
 
3.CE should have processed the strings in the module, which is correct
 
There may be symbols in the module address, so the third parameter should be set to false.
 
 	  | Code: | 	 		  getNameFromAddress(address,ModuleNames OPTIONAL=true, Symbols OPTIONAL=true, Sections OPTIONAL=false): Returns the given address as a string. Registered symbolname, modulename+offset, or just a hexadecimal string depending on what address
 
 | 	  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |