[Bug] Rested EXP bar shows REXP 0:00 (empty, "Bank is empty") when the game reports the time in minutes
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 90/100
Research direction
Start with src/Genie.Core/Extensions/Builtin/RestedExpGauge.cs, especially ParseDuration at the linked lines, and find RestedExpGaugeTests for the existing duration cases. Add coverage for singular and plural minute values, then verify that values such as 59 minutes display as 0:59 and that cycle refresh minutes appear correctly in the tooltip.
Written by the indexing model from the issue text.
Description
What happened
The rested-EXP bar shows REXP 0:00, empty and red, with the tooltip "Bank is empty", while the character still has rested EXP. It happens whenever the game reports less than an hour as minutes, for example:
Rested EXP Stored: 59 minutes Usable This Cycle: 49 minutes Cycle Refreshes: 12:53 hours
RestedExpGauge.ParseDuration understands H:MM hours, N hours, H:MM hour, none and less than a minute. Anything else counts as zero, including N minutes and 1 minute:
So for the whole last hour of a bank or of a cycle's allowance, the bar says there's nothing left. The same goes for Cycle Refreshes: N minutes, which shows as 0:00 in the tooltip.
What you expected
59 minutes reads as 0:59. The bar shows REXP 0:49 (the smaller of banked and usable), filled to match, yellow (under an hour), and the tooltip says the bonus is running low.
Steps to reproduce
- Play a character with less than an hour of rested EXP banked or left this cycle, so
expreports it in minutes. - Look at the rested-EXP bar on the hands strip: REXP 0:00, empty, red.
- Hover it: "Bank is empty: training is at normal speed."
Environment
- OS + version: Ubuntu 24.04 arm64 and Ubuntu 26.04.1 x86_64; not OS-specific
- Genie 5 version: v5.0.1-beta.5 (the parser is unchanged since the gauge was added in 8d26ccb)
- Install type: built from source; unpacked AppImage
- Connection mode: Direct SGE
Logs / session capture
The forms the game sends, counted across two characters' logs (numbers replaced by N):
Rested EXP Stored: N:N hours Usable This Cycle: N:N hours (most common)
Rested EXP Stored: N minutes Usable This Cycle: N minutes (330 lines)
Rested EXP Stored: N minutes Usable This Cycle: none (92)
Rested EXP Stored: N:N hours Usable This Cycle: N minutes (54)
Rested EXP Stored: N:N hour Usable This Cycle: N minutes (35)
... Cycle Refreshes: N minutes (38)
Out of one character's logs, 576 lines had a minutes value in Stored or Usable, and 1 minute (singular) appears too.
Anything else
The fix looks small: accept N minute(s) in ParseDuration, with test cases next to the existing less than a minute one in RestedExpGaugeTests.
- Dominant language
- C#
- Stars
- 2
- Forks
- 5
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenieClient/Genie5
-
enhancement g4-regression
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GenieClient/Genie5#494 ·
Maintainers usually reply within 5 days
-
area:ui-dock enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenieClient/Genie5#462 ·
Maintainers usually reply within 5 days
-
area:mapper bug est:<1d P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
GenieClient/Genie5#449 · 1 comment ·
Maintainers usually reply within 5 days
-
[Bug] Maps ▸ Update from Official Repo / Repair Maps give no notification of success or failurePossibly taken A pull request linked to this issue is open or already merged. Openarea:mapper area:updater bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#423 · 1 assignee ·
Maintainers usually reply within 5 days
-
area:ui-dock bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#394 ·
Maintainers usually reply within 5 days
All issues in GenieClient/Genie5
Similar issues
-
documentation good first issue kind:task level:starter size:s
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Arggon/ArggonStores#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Tool] MockAPIOpenhas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 72/100
shanselman/TinyToolTown#956 ·
Maintainers usually reply within 2 days
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Bug]: Native build script prints a traceback when Git is missing from PATHPossibly taken @Jaisuryan-web claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnifeLemon/Filee#1953 ·
Maintainers usually reply within 1 day