Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

read-saved-data

/read-saved-data

Odczytuje plik SavedVariables dodatku do World of Warcraft, żeby sprawdzić, co dodatek zapisał w grze.

Repozytorium
ReagentAtlas ↗
Licencja
GPL-3.0
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

GPL-3.0, otwarta.

Co robi i kiedy

Odczytuje plik SavedVariables dodatku do World of Warcraft, żeby sprawdzić, co dodatek zapisał w grze.

Oryginalny opis (EN)

Read Reagent Atlas's SavedVariables file (ReagentAtlasDB) from the WoW Forever client folder to see what the addon actually recorded in-game, e.g. settings, tracking list, characters, loot map data. Use when debugging something that works in tests but not in-game, or when the user asks what the addon has saved.

Jak działa

  1. Find the file
  2. Is it current?
  3. Read it
  4. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 44 linii, 369 słów
Podgląd SKILL.md
---
name: read-saved-data
description: Read Reagent Atlas's SavedVariables file (ReagentAtlasDB) from the WoW Forever client folder to see what the addon actually recorded in-game, e.g. settings, tracking list, characters, loot map data. Use when debugging something that works in tests but not in-game, or when the user asks what the addon has saved.
---

# Read the saved data

## Find the file

The game path comes only from `REAGENTATLAS_GAME_PATH`, in this session or at user level. Never guess a path or use one from memory. If it isn't set, stop and tell the user how to set it (see the `deploy-and-check` skill, step 4).

```powershell
$p = $env:REAGENTATLAS_GAME_PATH
if (-not $p) { $p = [Environment]::GetEnvironmentVariable('REAGENTATLAS_GAME_PATH', 'User') }
Get-ChildItem -LiteralPath (Join-Path $p 'WTF\Account') -Directory | ForEach-Object {
    Get-Item -LiteralPath (Join-Path $_.FullName 'SavedVariables\ReagentAtlas.lua') -ErrorAction SilentlyContinue
} | Select-Object FullName, Length, LastWriteTime
```

`ReagentAtlasDB` is account-wide: one file per account folder in `WTF\Account\<ACCOUNT>\SavedVariables\`, none per character. If there are several account folders, ask which one.

## Is it current?

The client writes the file only on `/reload`, logout or exit, never during play. Compare `LastWriteTime` with what the user describes (and with `Get-Date`). If the file is older than the thing to check (a loot, a setting change), ask the user to `/reload` first, then read it again.

A file written by an older build is recognizable: settings added by the new build (defaults in `Core.lua` → `DEFAULT_SETTINGS`) are missing. That means the new code never ran. Usually the game wasn't restarted after a TOC change.

## Read it

It's a Lua table dump, one key per line. Read it as text; never run it. Pull out one top-level table at a time:

```bash
sed -n '/^\["settings"\]/,/^},/p' "<file>"
sed -n '/^\["tracked"\]/,/^},/p' "<file>"
sed -n '/^\["lootMap"\]/,/^},/p' "<file>" | head -80
```

The structure is in SPEC.md → "Data model" → "SavedVariables". Useful facts:

- Numeric keys (itemIDs, mapIDs, grid cells) are saved as numbers: `[2251] = {`.
- Loot map grid cell = `gx * 100 + gy + 1`, so map position ≈ `((gx + 0.5) / 100, (gy + 0.5) / 100)`; cell `0` = no position (instances).
- Item and map names aren't saved. Look up IDs in `Data/Reagents.lua` (`G[itemID]`) or ask the user.

## Rules

- Read-only. Never edit the file: the game overwrites it on logout, and the user may be logged in.
- It contains the account folder name and character names. Don't copy them into the repo, commits, artifacts, or tests. Quote only what's needed to explain the finding.

Wersje

W bazie nie ma innych skilli o nazwie read-saved-data.

Migawka bazy z 13.11.2026 · wersja paczki 1a65c65a8273 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 82wow-addon-builder
    Prawdopodobnie pomaga budować dodatek do gry WoW Forever.
  • 100wow-addon-development
    Buduje, ulepsza, debuguje, portuje i przegląda dodatki do World of Warcraft Retail i Forever: Lua i XML, pakowanie, ustawienia, trwałość danych, wydajność i interfejs w grze.
  • 100forever-api-check
    Sprawdza, czy funkcja, zdarzenie lub globalna zmienna WoW Forever istnieje i jak działa, zanim użyje się jej w dodatku.
  • 100wow-coach
    Uczy gracza World of Warcraft Forever krok po kroku na podstawie zapisu postaci z dodatku CoachLink.
  • 100deploy-and-check
    Uruchamia testy offline, diagnostykę LuaLS i skan ścieżek, wdraża Reagent Atlas do klienta WoW Forever i mówi, czy wystarczy /reload.
  • 100write-addon
    Pisze, rozszerza i naprawia dodatek do aplikacji claude-ui: manifest, widoki HTML i skrypty sprawdzane typami.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.