• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - ImGui Critical Failure minimizing overlay

Joined
Sep 27, 2020
RedCents
6,554¢
Have the following error occurring when attempting to minimize/collapse a UI overlay. Using the attached script, recreates the issue for me. Run the script. Click the minimize icon (triangle) in the upper left corner.

ImGuiError.png

Now, this could be isolated to me. And if it is, I'm really interested in knowing what I can do to resolve it.

[CODE lang="Lua" title="basicUI.Lua"]---@type Mq
local mq = require("mq")
---@type ImGui
require("ImGui")

---@type boolean|nil
local drawUi = true
---@type boolean
local shouldDraw = true

local function display()
drawUi, shouldDraw = ImGui.Begin("Basic UI #2", drawUi)

if (shouldDraw) then
ImGui.Text("This is a UI")
ImGui.End()
end
end

ImGui.Register('basicUI', display)

while drawUi do
mq.delay(100)
end[/CODE]
 

Attachments

Last edited:
Code:
---@type Mq
local mq = require("mq")
---@type ImGui
require("ImGui")
---@type boolean|nil
local drawUi = true
---@type boolean
local shouldDraw = true
local function display()
    drawUi, shouldDraw = ImGui.Begin("Basic UI #2", drawUi)
    if shouldDraw then
        ImGui.Text("This is a UI")
      
    end
    ImGui.End()
end
ImGui.Register('basicUI', display)
while drawUi do
    display()
   mq.delay(100)
end
 
Problem - ImGui Critical Failure minimizing overlay

Users who are viewing this thread

Back
Top
Cart