| roseycosey How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 24 Dec 2024
 Posts: 1
 
 
 | 
			
				|  Posted: Tue Dec 24, 2024 11:41 pm    Post subject: Unable to set ms.ScanresultFolder |   |  
				| 
 |  
				| Hey, 
 I am trying to write a simple aob scan LUA. The issue is that the anticheat of the game detects and crashes the game when CE tries to save scan result in TEMP directory. I have confirmed this by bypassing the crash by changing Settings > Scan Settings > Settings a different folder for scanfiles. In this case the game does not crash.
 
 Now I want to write a LUA trainer for my app, which is exported as EXE trainer.
 
 
  	  | Code: |  	  | local ms = createMemScan()
 ms.OnlyOneResult = true
 ms.ScanresultFolder = "D:\\TMP\\"
 .......
 
 | 
 
 after setting ms.ScanresultFolder = "D:\\TMP\\", i try to print the value of ScanresultFolder  but it does not change to this new directory, it's stuck at value specified at custom scanfiles and if i do not set custom scanfiles folder, even then i am unable to change the scanresult folder through LUA.
 
 Is there any way to change the scan result folder through lua , i want to bundle my trainer as exe so changing it in CE settings isn't an option.
 |  |