HardcoreLedger — install in 2 minutes
=====================================

1) ADDON
   Copy the "HardcoreLedger" folder (the one at the top of this zip)
   into:
     <WoW>\Interface\AddOns\
   (Delete any older HardcoreLedger folder first.)

2) UPLOADER (optional, for the web leaderboard)
   Double-click:
     CLICK-ME-HARDCORELEDGER.bat
   It will ask where your WoW install is, then watch your save file and
   upload your run to https://hardcoreledger.pages.dev
   Answer Y when it asks about starting with Windows and you'll never
   have to touch it again.

3) IN GAME
   /reload
   Type /hl for the dashboard. The login line should say (v111).
   On a non-hardcore realm the addon asks which mode: pick Self for
   self-imposed hardcore. Self-imposed runs are tracked locally only —
   the leaderboard takes hardcore-mode runs.

That's it. Your runs, close calls, and (if it happens) your Last Stand
death report upload automatically. Die well.

---------------------------------------------------------------
ABOUT THE UPLOADER
---------------------------------------------------------------

The tiny auto-uploader for WoW: Forever hardcore runs. No account, no
password, nothing installed — this script IS the whole program.

RUN IT
  Double-click CLICK-ME-HARDCORELEDGER.bat (or right-click the .ps1 ->
  "Run with PowerShell"). Leave it running while you play. Ctrl+C stops it.

  First run asks: start automatically with Windows? Say yes and forget it.

WHAT IT DOES
  Watches your WoW SavedVariables file. After you play and type /reload
  (or log out), it uploads your current run to the HardcoreLedger
  leaderboard at https://hardcoreledger.pages.dev — automatically.
  Deaths you witnessed go up too, so the memorial wall is community-powered.

  After every upload it writes obs.txt to %APPDATA%\HardcoreLedgerUploader
  — point an OBS text source at it for a live run overlay on stream.

  Every ~30 minutes (only while the game is closed) it stamps the latest
  addon package version into your save file, so the addon can tell you
  when a new release is out — no network access needed in-game.

WHAT IT SENDS
  Only the run summary the addon saved: character name, class, level,
  faction, guild, mode (hardcore/self-imposed), challenges, playtime,
  close-call count, alive-or-dead, death report summary, and witnessed
  deaths. Nothing else on your PC is read or sent.

  Your leaderboard identity is a random per-PC client ID (stored in
  %APPDATA%\HardcoreLedgerUploader\client_id.txt) plus your character
  name. No IP-based identity.

IF YOUR WOW IS ELSEWHERE
  Edit the $wowBeta line at the top of CLICK-ME-HARDCORELEDGER.ps1 to
  point at your install folder (the one containing _classic_beta_).

TROUBLESHOOTING
  "Couldn't find HardcoreLedger.lua" -> log in with the addon installed,
  then type /reload in-game (SavedVariables are written on reload), then
  run the uploader again.

  Blocked by Windows -> run:
    powershell -ExecutionPolicy Bypass -File "CLICK-ME-HARDCORELEDGER.ps1"

NOTE: only hardcore-mode runs upload. Self-imposed runs are tracked locally but never sent to the leaderboard.
