Skip to content

[fix] auto-replenish: infinite loops - #5715

Merged
Wide-Cat merged 5 commits into
MeteorDevelopment:masterfrom
31a05b9c:pr-random-7
Sep 25, 2025
Merged

Wide-Cat merged 5 commits into
MeteorDevelopment:masterfrom
31a05b9c:pr-random-7

Conversation

@31a05b9c

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature

Description

removes two different sources of infinite loops

Related issues

fixes #5714

How Has This Been Tested?

auto-replenish still works, and infinite loops do not (although the hotbar-to-hotbar loop was always very hard to trigger in the first place)

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@31a05b9c

Copy link
Copy Markdown
Contributor Author

another example of how writing code this late results in silly things

@Wide-Cat

Copy link
Copy Markdown
Collaborator

Replenishing items in your offhand is completely broken because it passes '9' as the slot index for the offhand. Apart from that this looks good.

@31a05b9c

31a05b9c commented Sep 25, 2025 •

Copy link
Copy Markdown
Contributor Author

that's a bug inherited from the original code.
did notice that it was broken in-game at some point, but forgot about that when writing this

@Wide-Cat
Wide-Cat merged commit 96d5797 into MeteorDevelopment:master Sep 25, 2025
1 check passed
MukjepScarlet pushed a commit to MukjepScarlet/meteor-client that referenced this pull request Oct 7, 2025
31a05b9c added a commit to 31a05b9c/meteor-client that referenced this pull request Nov 15, 2025
MistressOfDNS pushed a commit to MistressOfDNS/meteor-client-fork that referenced this pull request May 7, 2026
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.

auto replenish with multiple grades I-V of ominous potion

3 participants