prometheus-lua / Prometheus

Lua Obfuscator written in pure Lua
https://levno-710.gitbook.io/prometheus/
GNU Affero General Public License v3.0
220 stars 65 forks source link

[BUG] #80

Closed shadowTW closed 1 year ago

shadowTW commented 2 years ago

image image

ImInTheICU commented 2 years ago

Odd, sadly levno doesn't work on this that match meaning its going to be awhile before a patch is released.

levno-710 commented 2 years ago

I would really appreciate if you could try and find a simple example code, that can be used to reproduce this bug.

Otherwise it is almost impossible for me, to find the source of the bug and fix it

shadowTW commented 2 years ago

Code:


---- Theme ----
for theme, color in pairs(kVars.themes) do
    sectionTheme:addColorPicker(theme, color, function(color3)
        Window:setTheme(theme, color3)
    end)
    Window:setTheme(theme, color)
end

sectionTheme:addButton("Save Theme", function()
    saveSettings()
end)

sectionKeybinds:addKeybind("Open/Close Menu", Enum.KeyCode.Backquote, function()
    Window:toggle()
end, function()
end)

---- Select main page to display ----
Window:SelectPage(Window.pages[1], true)

---- Closing ----
kVars.ClosingConnect = game:GetService("CoreGui").ChildRemoved:Connect(function(child)
    if child.Name == kVars.WindowName then
        kVars.InfJumpConnect:Disconnect()
        kVars.AntiAfk:Disconnect()
        for i,v in pairs(kVars) do
            if type(v) == "boolean" then
                v = false
            end
        end
        wait(.1)
        kVars.ClosingConnect:Disconnect()
        script:Destroy()
    end
end)

syn.protect_gui(game:GetService("CoreGui")[kVars.WindowName])
levno-710 commented 2 years ago

Can you try to track down, in what line the error occurs.

For example by using print statements and seeing which ones are printed before the error?

levno-710 commented 1 year ago

Could you test wether this bug has been fixed in Prometheus v0.2.5.

The update should have fixed this bug