vscript_lua51
April 22, 2023 ยท View on GitHub
This extension enables Lua VScript from CS2 to load external lua module dll. Tested on Mar 24th (9640) and Mar 30th (9652) version.
Usage
- Prepare build environment: VS2022 + CMake
- Build lua51.dll and vscript.dll
- Rename vscript.dll to vscript2.dll in CAGO\game\bin\win64
- Copy lua51.dll and vscript.dll into CAGO\game\bin\win64
- Put any other external lua module dll (like luasocket.dll) into CAGO\game\bin\win64
- Load module by
local luasocket = require("luasocket")
Warning: This is a client-side hack, NEVER install it under VAC, or you may get banned.
Support
PRs and issues are welcomed.