Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua script loop crashing game #137

Open
Palmtree64 opened this issue Jul 25, 2024 · 1 comment
Open

lua script loop crashing game #137

Palmtree64 opened this issue Jul 25, 2024 · 1 comment

Comments

@Palmtree64
Copy link

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

@Palmtree64
Copy link
Author

Please let me know if anything more is needed!

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

No branches or pull requests

1 participant