Skip to content

Function error fixes 9c16c#137

Open
Yuki-1224-nazz wants to merge 9 commits into
Upbolt:revisionfrom
Yuki-1224-nazz:function-error-fixes-9c16c
Open

Function error fixes 9c16c#137
Yuki-1224-nazz wants to merge 9 commits into
Upbolt:revisionfrom
Yuki-1224-nazz:function-error-fixes-9c16c

Conversation

@Yuki-1224-nazz

Copy link
Copy Markdown

No description provided.

qwen-intl and others added 9 commits April 29, 2026 06:26
- Added complete Hydroxide framework structure with LICENSE and README.md
- Implemented core methods for environment, string, table, and userdata operations
- Created module scanner, closure spy, remote spy, and explorer tools
- Established object system with Closure, Constant, LocalScript, ModuleScript, Remote, and Upvalue classes
- Integrated UI components with main control modules
- Updated .gitignore with comprehensive file exclusion patterns for development environments

The framework provides a foundation for Roblox script analysis and exploration tools with organized module architecture and proper development environment configuration.
Update from task 74ca28c8-e0e6-4685-882b-68bace456e51
Update from task 74ca28c8-e0e6-4685-882b-68bace456e51
Update from task 74ca28c8-e0e6-4685-882b-68bace456e51
- Modified .gitignore to add comprehensive ignore patterns for compiled files, dependencies, build artifacts, editor files, system files, and logs
- Updated Constant.lua to change setConstant/getConstant calls to oh.Methods.setConstant/oh.Methods.getConstant
- Updated LocalScript.lua to change getConstants call to oh.Methods.getConstants
- Updated ModuleScript.lua to change getConstants call to oh.Methods.getConstants
- Updated Upvalue.lua to change setUpvalue/getUpvalue calls to oh.Methods.setUpvalue/oh.Methods.getUpvalue

These changes standardize method access through the oh.Methods namespace while adding proper git ignore configuration for common development artifacts.
Comment thread modules/ClosureSpy.lua
local table_find = table.find
local typeof = typeof
local getInfo = debug.getinfo or getinfo

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we still localizing globals in 2026

Comment thread Hydroxide

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i do not understand the point of this file

Comment thread loader.lua

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant file, caching is already done here

Hydroxide/init.lua

Lines 190 to 286 in 91327d0

if readFile and writeFile then
local hasFolderFunctions = (isFolder and makeFolder) ~= nil
local ran, result = pcall(readFile, "__oh_version.txt")
if not ran or releaseInfo.tag_name ~= result then
if hasFolderFunctions then
local function createFolder(path)
if not isFolder(path) then
makeFolder(path)
end
end
createFolder("hydroxide")
createFolder("hydroxide/user")
createFolder("hydroxide/user/" .. user)
createFolder("hydroxide/user/" .. user .. "/methods")
createFolder("hydroxide/user/" .. user .. "/modules")
createFolder("hydroxide/user/" .. user .. "/objects")
createFolder("hydroxide/user/" .. user .. "/ui")
createFolder("hydroxide/user/" .. user .. "/ui/controls")
createFolder("hydroxide/user/" .. user .. "/ui/modules")
end
function environment.import(asset)
if importCache[asset] then
return unpack(importCache[asset])
end
local assets
if asset:find("rbxassetid://") then
assets = { game:GetObjects(asset)[1] }
elseif web then
if readFile and writeFile then
local file = (hasFolderFunctions and "hydroxide/user/" .. user .. '/' .. asset .. ".lua") or ("hydroxide-" .. user .. '-' .. asset:gsub('/', '-') .. ".lua")
local content
if (isFile and not isFile(file)) or not importCache[asset] then
content = game:HttpGetAsync("https://raw.githubusercontent.com/" .. user .. "/Hydroxide/" .. branch .. '/' .. asset .. ".lua")
writeFile(file, content)
else
local ran, result = pcall(readFile, file)
if (not ran) or not importCache[asset] then
content = game:HttpGetAsync("https://raw.githubusercontent.com/" .. user .. "/Hydroxide/" .. branch .. '/' .. asset .. ".lua")
writeFile(file, content)
else
content = result
end
end
assets = { loadstring(content, asset .. '.lua')() }
else
assets = { loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/" .. user .. "/Hydroxide/" .. branch .. '/' .. asset .. ".lua"), asset .. '.lua')() }
end
else
assets = { loadstring(readFile("hydroxide/" .. asset .. ".lua"), asset .. '.lua')() }
end
importCache[asset] = assets
return unpack(assets)
end
writeFile("__oh_version.txt", releaseInfo.tag_name)
elseif ran and releaseInfo.tag_name == result then
function environment.import(asset)
if importCache[asset] then
return unpack(importCache[asset])
end
if asset:find("rbxassetid://") then
assets = { game:GetObjects(asset)[1] }
elseif web then
local file = (hasFolderFunctions and "hydroxide/user/" .. user .. '/' .. asset .. ".lua") or ("hydroxide-" .. user .. '-' .. asset:gsub('/', '-') .. ".lua")
local ran, result = pcall(readFile, file)
local content
if not ran then
content = game:HttpGetAsync("https://raw.githubusercontent.com/" .. user .. "/Hydroxide/" .. branch .. '/' .. asset .. ".lua")
writeFile(file, content)
else
content = result
end
assets = { loadstring(content, asset .. '.lua')() }
else
assets = { loadstring(readFile("hydroxide/" .. asset .. ".lua"), asset .. '.lua')() }
end
importCache[asset] = assets
return unpack(assets)
end
end
useMethods({ import = environment.import })
end

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't understand why these images are in directly in the repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants