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 


Custom autorun folder borked?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
HenryEx
Advanced Cheater
Reputation: 2

Joined: 18 Dec 2011
Posts: 97

PostPosted: Mon Feb 24, 2025 1:30 pm    Post subject: Custom autorun folder borked? Reply with quote

So, i know the repo is pretty old & i dunno how accurate the "version 7.6" you can get from the front page is, since there's been problems with the upload apparently.

But both self-compiled and front-page download have a problem with the autorun custom folder. In that it sees files in there, but can't load them.

In case this isn't fixed yet in the proper 7.6 release (i can't be the only one trying to use the custom folder, right?), here's the issue:

-> LuaHandler.pas -> LoadLuaScriptsFromPath()

The function counts up the files correctly from the path in its arguments, but then tries to load the files from the hard-coded autorun folder.
This line
Code:
i:=lua_dofile(luavm, pchar( UTF8ToWinCP(autorunpath+DirInfo.name)));

should try to load from just 'path' instead of 'autorunpath'.

In case this is already fixed in the patreon version, feel free to ignore.


edit: just in case: there's also more references to hard-coded autorunpath later in the same function in the public git
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

Joined: 09 May 2003
Posts: 25679
Location: The netherlands

PostPosted: Mon Feb 24, 2025 4:28 pm    Post subject: Reply with quote

Looks like a bug. Oh well, next version maybe.

And yes, you do seem to be the only person to ever try it as there's been never any bug report or mentioning about it

_________________
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
View user's profile Send private message MSN Messenger
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