New Update - v5 - SMBXb5p3 Support
![Image]()
Changes
To update the addon in VSCode, you may need to open the addon manager again and press the big blue "Update" button.
For plugin features (case insensitive require() and the quick info panel for global events) you must manually set the plugin path and library path in the workspace's .vscode/settings.json, or .luarc.json. If it contains "${addons}" in the path, the plugin won't work. (I'll come back to fix this in the next update, an update was made to the language server since I made the plugin features which I did not consider)Put your Window's user where <User> is, and note that if you are using a different IDE, the location you install it will be different. This example is using VSCode.
Moving Forward
I'll likely only make one more update to this project by myself, just so I can fix small errors, but you are still free to make your own pull requests on the remote repository hosted on GitHub.

Changes
- Adds support for API changes from the new SMBX2 release Beta 5 Patch 3 (I forgot about the additive parameter in draw functions and SFX.volume.UNTAGGED, I'll release another update shortly to fix that)
- Removes known incorrect deprecation warnings (triggerEvent())
- Adds several missing LunaLua classes
- Generally improves annotations for many of the existing classes
- Renames some classes to better reflect their name as defined by LunaLua patches
To update the addon in VSCode, you may need to open the addon manager again and press the big blue "Update" button.
For plugin features (case insensitive require() and the quick info panel for global events) you must manually set the plugin path and library path in the workspace's .vscode/settings.json, or .luarc.json. If it contains "${addons}" in the path, the plugin won't work. (I'll come back to fix this in the next update, an update was made to the language server since I made the plugin features which I did not consider)
Code:
"Lua.workspace.library": [ "C:/Users/<User>/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/smbx2-lunalua/module/library"],"Lua.runtime.plugin": "C:/Users/<User>/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/smbx2-lunalua/module/plugin.lua"
Moving Forward
I'll likely only make one more update to this project by myself, just so I can fix small errors, but you are still free to make your own pull requests on the remote repository hosted on GitHub.
Statistics: Posted by WildW — Tue Mar 11, 2025 10:37 pm