Skip to content

lua script loop crashing game #137

@Palmtree64

Description

@Palmtree64

Issue

Game crashing while running lua script in pcraft

Macro description

I have this script that makes gathering those nodes that have the items always in a random slot easier..
It basically waits for the gathering window to pop up, down-arrows/numpad2s (cycling back to top after hitting bottom) until it is hovering over something that pops a tooltip, then clicks enter once and waits (for pandora to finish gathering the item).
After the long wait that gives the gathering enough time to gather, it just jumps back to the beginning waiting for the next time you're at a gathering node

Macro

while true do
  if IsAddonReady("Gathering") then
    yield('/send NUMPAD2 <wait.1>')
    if IsAddonVisible("Tooltip") then
        yield('/send NUMPAD0 <wait.1>')
        yield('/wait 30')
        end
  end
end

Files

crash.log
dmp_file_analyze.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions