HenryEx Advanced Cheater
Reputation: 2
Joined: 18 Dec 2011 Posts: 97
|
Posted: Mon Feb 24, 2025 1:30 pm Post subject: Custom autorun folder borked? |
|
|
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
|
|
Dark Byte Site Admin
Reputation: 467
Joined: 09 May 2003 Posts: 25679 Location: The netherlands
|
Posted: Mon Feb 24, 2025 4:28 pm Post subject: |
|
|
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 |
|