Request: autocomplete for lua_refresh_file
Done in commit 09a162 ("Fixed auto complete for lua_refresh_file"); the request was closed.
Done in commit 09a162 ("Fixed auto complete for lua_refresh_file"); the request was closed.
Cynosphere asked for autocomplete for lua_refresh_file.
In #lua-help, Artemking4 suggested fs_report_sync_opens 1 to check whether files are read twice; drobotk found it opens every time.
In #next-update, Gonzo Pipi said Lua autorefresh stopped working for him on 64-bit dev (Windows 11 26H2) and asked how to debug it. Rubat said he added a console print for when autorefresh will certainly not work. On Windows there may be debug output, visible by attaching a debugger such as Visual Studio or WinDbg. Autorefresh changed in the previous day's dev update; he isn't having issues himself.
In #next-update, DMatter04 reported that some addons' InitPostEntity hooks added with hook.Add never run, breaking addons such as Custom FOV. homonovus suggested an addon returns a non-nil value from its hook, and Zaurzo posted a lua_run snippet to find it. On 22 Oct DMatter04 found the culprit, lua/autorun/ultrakill_test_soulorbs.lua from "[DrGBase] ULTRAKILL - Enemies - Act II & Act III", using Zaurzo's whereis tip, and Zaurzo suggested asking the author to fix it.
wrefgtzweve asked for more VPROF nodes in PhysFrame, often a top-5 cost. Done on 19 October (commit 280e7a).
wrefgtzweve asked to improve the ERROR_HANDLE_EOF when reading file warning, which doesn't say which file fails. robotboy655 said he'd try to get the path via the Win32 API; commit aa4090 tries to add it.