Skip to content

[fix] auto-replenish: infinite loops#5715

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

[fix] auto-replenish: infinite loops#5715
Wide-Cat merged 5 commits into
MeteorDevelopment:masterfrom
chri-k:pr-random-7

Conversation

@chri-k

@chri-k chri-k commented Sep 23, 2025

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.

@chri-k

chri-k commented Sep 23, 2025

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.

@chri-k

chri-k 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
chri-k added a commit to chri-k/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