Repository navigation
Releases: wouter-intveld/BetterRations
Releases · wouter-intveld/BetterRations
Release list
v0.3.5
BetterRations
v0.3.5 (2026-10-05)
Full Changelog Previous Releases
- feat(bandage): right-click bandages yourself
v0.3.4
BetterRations
v0.3.4 (2026-10-05)
Full Changelog Previous Releases
- feat: add /br healthstone toggle
- fix: read only restored mana from tooltips
Well Fed lines such as "gain 8 mana every 5 seconds" made buff food
count as a drink. - chore: drop Deprecated items from the data table
Removed from the game, so no one carries them. - fix: leave character macros of the same name alone
GetMacroIndexByName also finds character macros, so a player's own
macro named BR Eat was overwritten. - fix: warn about a full macro list only once
The message printed at every scan, so after every loot. - fix: stop rescanning after a failed spell load
A failed load was requested again by every scan, so one unloadable
spell kept the addon scanning twice a second for the whole session. - fix: use the potion while the healthstone cools
/castsequence only advances when a step succeeds, so a stone on
cooldown from the last fight kept the potion out of reach. - fix: leave Well Fed drinks out of BR Drink
The buff food setting only gated food, so BR Drink drank buff
teas and smoothies as plain water.
v0.3.3
BetterRations
v0.3.3 (2026-10-04)
Full Changelog Previous Releases
- fix: show the combat item's icon in combat
The client does not redraw macro icons when combat starts, so a [combat]
icon stayed on the food or placeholder. On PLAYER_REGEN_DISABLED, which
fires before macros lock, swap in combat-only bodies; the normal bodies
return after the fight. Confirmed in game. - fix: keep healthstones for combat without food
With no food, BR Eat became a plain /use of the healthstone and spent it
out of combat (same for potions and drink). Combat items are now
combat-only; out of combat the macro prints what is missing. The icon
line names the item in combat and the placeholder outside it, since a
stored icon would override #showtooltip. Reported by a user.
v0.3.2
BetterRations
v0.3.2 (2026-10-04)
Full Changelog Previous Releases
- feat: placeholder icons for empty macros
An empty macro showed the question mark. It now shows the icon of a basic
item of its kind: bread, spring water, linen bandage. The stored icon is
compared too, only for empty macros, so existing ones switch over;
confirmed in game with no repeated edits.
v0.3.1
BetterRations
v0.3.1 (2026-10-04)
Full Changelog Previous Releases
- fix: load item spells before reading tooltips
After a full client start the tooltip has no Use: line until the item's
spell is loaded, which the client does not do by itself, so items read
as useless for the whole session. Request the spell data, treat the item
as unresolved, and rescan on SPELL_DATA_LOAD_RESULT. Confirmed in game:
all tooltips read correctly seconds after a cold start.
v0.3.0
BetterRations
v0.3.0 (2026-10-04)
Full Changelog Previous Releases
- feat: item data table, works in any language
Data.lua lists what 333 consumables restore, generated by
tools/gen-data.js from the 1.60.1 game tables on wago.tools. Items are
looked up there first, without tooltip text, so the addon works on every
client language; the English tooltip parse stays as the fallback.
Checked in game: 0 differences against the tooltips.
v0.2.2
BetterRations
v0.2.2 (2026-10-04)
Full Changelog Previous Releases
- fix: rescan after coming back from death
While dead or a ghost no item is usable, so a scan then wrote the empty
macros and nothing rescanned on resurrection. Scans now wait while dead,
like in combat and on a taxi, and run a second after PLAYER_ALIVE or
PLAYER_UNGHOST.
v0.2.1
BetterRations
v0.2.1 (2026-10-04)
Full Changelog Previous Releases
- fix: rescan a few seconds after a fresh login
On a cold login items can read as unusable while level and skills load,
so the entering-world scan wrote the empty macros and nothing rescanned
until the bags changed. A fresh login now schedules one more scan after
five seconds.
v0.2.0
BetterRations
v0.2.0 (2026-10-03)
Full Changelog Previous Releases
- fix: stop rewriting all macros at every login
GetMacroBody returns the stored body with a trailing newline after a
reload, so the first scan of every session saw three mismatches and
rewrote macros that had not changed. Compare without trailing
whitespace. - fix: rescan after landing from a flight path
A /reload in flight scanned while no item was usable and wrote the
empty macros, and nothing rescanned on landing. Scans are now deferred
while on a taxi, like in combat, and a scan runs a second after
PLAYER_CONTROL_GAINED, the same grace a level-up gets. - feat: healthstone then potion in one fight
When both a healthstone and a healing potion are picked, BR Eat becomes
a castsequence: first press in a fight uses the stone, second the
potion, reset when combat ends. With one combat item it stays a plain
/use. /br prints the sequence. - fix: only consumables count, not recipes
A potion recipe quotes the tooltip of the potion it makes and has Potion
in its name, so it was picked as the combat item. Judge by item class
before reading the tooltip: anything that is not a Consumable is marked
useless without parsing, which also spares most of the bag at login. - feat: potions in combat as an option
Off by default. With potions on, BR Eat uses the best healing potion in
combat when there is no healthstone, and BR Drink uses the best mana
potion. Potions are recognised by name and the "Restores X to Y" range
in the tooltip, ranked by the low end. /br now also lists the combat
item per macro, and /br potions toggles the setting. - fix: retry scans that could not read an item
A freshly crafted bandage was not picked up until the next bag event:
the scan right after crafting could not read the new item yet, and
nothing scheduled a second look. A scan that leaves an item unread now
retries after a second, up to three times. /br perf shows how many
items the last scan left unresolved. - perf: cheaper bag scans, guard uncached items
Read slots with GetContainerItemID instead of GetContainerItemInfo,
which built a table per slot (46.7 KB and 1.63 ms per scan with 34
items), and fetch counts with GetItemCount only for consumables. Cache
false for items with no use, so the pick loop and IsUsableItem only see
consumables. Hoist the pick list and the debounce callback out of the
hot paths.
Also skip items whose data the client has not loaded yet: the tooltip
would read "Retrieving item information" and the item would be cached
as useless for the session. Request the data and rescan on
ITEM_DATA_LOAD_RESULT. - feat: add /br perf with scan timing and memory
Counts scans and macro edits, times each update and measures what it
allocates, so the optimisation pass has before and after numbers.
Mirrors /bqt perf.
v0.1.0
BetterRations
v0.1.0 (2026-10-03)
Full Changelog Previous Releases
- feat: add icon and CurseForge project ID
Show the addon icon (icon.tga, rendered from art/icon.svg) in the AddOns
list, keep art/ out of the release zip, and set the CurseForge project
so the release workflow can upload. - feat: add BetterRations addon
Keeps three account macros, BR Eat, BR Drink and BR Bandage, on the
best usable item in your bags. BR Eat uses a healthstone in combat.
Conjured items win ties. Includes a settings panel and /br command.