v2.1.13
What's new
Unreleased
Core.lua:Grinder:stop()saves the finished session to a per-character history (KrytoolsGrinderDB.history, latest 100 sessions). Each entry stores start/end time, duration, exp, and gold change.History.lua(new): session history window, opened with the small "H" button in the top-left corner of the main frame. Shows the latest sessions with a totals line, scrollable with the mouse wheel.History.lua: each history entry has an "X" button to delete that session from the history.- Once the character is at max level, sessions are saved without exp and the exp column shows "-". Exp gained before reaching max level is kept in the session entry and in the totals.
Core.lua: Exp/h and Gold/h show "--" during the first 30 seconds of a session, since the rate is not meaningful yet.Frame.lua: addshistory = {}to the saved variables defaults and exposes the backdrop asns.backdropfor the history window.Krytools_EXP_Gold_Tracker.toc: loadsHistory.luaafterFrame.lua.Buttons.lua: Start/Stop is full width at the bottom. A new "Pause" button above it pauses the timer; exp and gold gained while paused are not counted. Pausing is saved with the session across reloads.Buttons.lua: the "Historie" button (bottom right) opens the history window. The top-right "H" is replaced by an "X" with a tooltip that hides the frame.Frame.lua: the frame is 25 px taller to make room for the button row.- New locale keys:
BTN_PAUSE,BTN_RESUME,BTN_HISTORY(theBTN_HIDEkey is used for the X tooltip). Overview.lua(new): "since login/reset" stats (time, Exp/h, Gold/h). They are shown in the minimap tooltip and in the overview window, and are not saved.Overview.lua: account-wide overview of all characters (name, realm, class, level, XP %, gold), stored in the newKrytoolsGrinderAccountDB.characters(## SavedVariablesin the.toc, next to the per-characterKrytoolsGrinderDB). Each character is saved on login, XP/money/level changes and logout.Overview.lua: the overview window has a "CSV" button that shows the data as;-separated text in a box to copy from (WoW cannot write files).Overview.lua:/kryg reset(or/krygold reset) resets the since-login stats./krygtoggles the overview window, and the window has a "Reset" button too.Frame.lua: minimap icon tooltip shows the since-login stats. Right-click on the minimap icon opens the overview, left-click still toggles the frame.Frame.lua: listens toPLAYER_MONEYandPLAYER_LEVEL_UPto keep the account overview up to date.Krytools_EXP_Gold_Tracker.toc: loadsOverview.luaafterHistory.lua.
This mod has no additional files

