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 


Unable to set ms.ScanresultFolder

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

Joined: 24 Dec 2024
Posts: 1

PostPosted: Tue Dec 24, 2024 11:41 pm    Post subject: Unable to set ms.ScanresultFolder Reply with quote

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.
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 Lua Scripting 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