Skip to content

Vanilla WoW 1.12 Addon - Stores and auto-fills auction house prices based on item and stack size.

License

Notifications You must be signed in to change notification settings

Devilquest/AHPriceMemory

Repository files navigation

AH Price Memory

Addon for World of Warcraft Vanilla 1.12 that remembers your auction house prices and automatically fills them for you. Perfect for regular sellers who want to save time and maintain consistent pricing across different stack sizes.

Version WoW Version

Features

  • Automatic Price Memory: Saves Starting Bid and Buyout prices for each item and stack size.
  • Smart Auto-Fill: Automatically fills prices when you place items for auction.
  • Stack Size Awareness: Remembers different prices for different stack sizes (e.g., singles vs. stacks of 20).
  • Account-Wide Database: All characters share the same price history.
  • Toggle Controls: Enable/disable auto-fill and info messages independently.
  • Database Browser: View, search, sort, and filter all your saved prices.
    • Search by item name or ID
    • Sort by ID, name, bid price, buyout price, or rarity
    • Filter by item quality
    • Optimized virtual scrolling handles thousands of entries smoothly
  • Per-Character Settings: Auto-fill and message preferences saved per character.

Installation

Method 1: Direct Download (Recommended)

  1. Click the green <> Code button at the top of this page.
  2. Select Download ZIP.
  3. Extract the ZIP file.
  4. Rename the folder from AHPriceMemory-main to AHPriceMemory (remove -main).
  5. Move the AHPriceMemory folder to World of Warcraft/Interface/AddOns/.
  6. Restart WoW or type /reload in-game.

Method 2: Git Clone

Navigate to your WoW installation folder's Interface/AddOns/ directory and run:

git clone https://github.com/Devilquest/AHPriceMemory.git

Verification

After installation, your folder structure should look like this:

World of Warcraft/
└── Interface/
    └── AddOns/
        └── AHPriceMemory/
            ├── AHPriceMemory.toc
            ├── AHPriceMemory_Constants.lua
            ├── AHPriceMemory_UI.lua
            └── AHPriceMemory.lua

Common Issues:

  • AddOns/AHPriceMemory-main/AHPriceMemory/ (too nested)
  • AddOns/AHPriceMemory/ (correct!)

Requirements

  • Game Version: World of Warcraft 1.12.x (Vanilla).
  • Dependencies: None (standalone addon).

Usage

Basic Workflow

  1. First Time Setup: Place an item in the auction house and set your desired prices.
  2. Create Auction: Click "Create Auction" - prices are automatically saved.
  3. Next Time: Place the same item with the same stack size - prices auto-fill instantly.

Automatic Price Saving

Prices are saved automatically when you click "Create Auction".

  • Saves both Starting Bid and Buyout prices.
  • Separate memory for each stack size (e.g., singles, stacks of 5, stacks of 20).
  • Only saves when prices actually change (no spam).
  • Works silently in the background.

Auto-Fill Feature

When Auto-fill is enabled (default):

  • Place an item in the auction slot.
  • Prices automatically fill in the Starting Bid and Buyout fields.
  • If no saved price exists for that stack size, Buyout clears but Bid remains unchanged.
  • Toggle via the database window (/ahpm show).

Info Messages

When Show Messages is enabled (default), you'll see confirmation when prices are saved or auto-filled:

[AHPM] Saved prices for Wool Cloth (x20):
  - Bid: 10s | Buyout: 15s

Slash Commands

  • /ahpm or /ahpricememory: Display addon information and statistics.
  • /ahpm show: Open the database browser window.

Database Browser Window

Access with /ahpm show to view all saved prices.

Search & Filter:

  • Search Box: Find items by name or item ID.
  • Rarity Filter: Show only specific quality items (All, Poor, Common, Uncommon, Rare, Epic, Legendary).
  • Clear Button: Reset search instantly.

Sorting:

  • IDs/Names: Click headers to sort.
  • Prices: Sort by Bid or Buyout.
  • Rarity: Group by item quality. Click any sort button twice to reverse the order.

Display Format:

Wool Cloth (x20) [ID 2592]    Bid: 10s | Buyout: 15s
Wool Cloth (x1) [ID 2592]     Bid: 50c | Buyout: 1s

How It Works

Price Memory System

The addon tracks prices using a three-tier system:

  1. Item ID: Identifies the specific item (e.g., Wool Cloth = 2592).
  2. Stack Size: The number of items in the stack (1, 5, 20, etc.).
  3. Prices: Starting Bid and Buyout for that combination.

Example:

Wool Cloth (x1):  Bid 50c, Buyout 1s
Wool Cloth (x5):  Bid 2s 50c, Buyout 5s
Wool Cloth (x20): Bid 10s, Buyout 20s

Each combination is tracked separately, allowing you to maintain different pricing strategies for different stack sizes.

Auto-Fill Logic

  1. Place Item: Addon identifies item ID and stack size.
  2. Check Memory: Looks for an exact match.
  3. Fill: If found, fills prices. If not, defaults (clears buyout).

Price Updates

Prices are updated when you create an auction with different prices than previously saved.

  • The addon only saves if prices actually changed (prevents unnecessary updates).
  • Changes are immediate - no /reload required.

Data Storage

Account-Wide Database (SavedVariables/AHPriceMemory.lua):

  • All saved prices stored in AHPriceMemory_Data.
  • Shared across all characters on the same account.
  • Saved automatically when you logout or /reload.
  • Location: WTF/Account/ACCOUNTNAME/SavedVariables/AHPriceMemory.lua.

Per-Character Settings (SavedVariablesPerCharacter):

  • Settings like "Auto-fill" and "Show Messages" are saved per character.
  • Location: WTF/Account/ACCOUNTNAME/SERVER/CHARACTER/SavedVariables/AHPriceMemory.lua.

Data Format (AHPriceMemory_Data):

AHPriceMemory_Data = {
    [2592] = {  -- Item ID (Wool Cloth)
        itemName = "Wool Cloth",
        quantities = {
            [1] = {  -- Stack size
                bid = 50,     -- In copper
                buyout = 100  -- In copper
            },
            [20] = {
                bid = 1000,
                buyout = 2000
            }
        }
    }
}

Troubleshooting

  • Prices not auto-filling: Check "Auto-fill" checkbox in /ahpm show. Verify you've auctioned this exact item+stack size before.
  • Prices auto-fill with wrong values: The addon remembers the last used price. Create a new auction with the correct price to update it.
  • Info messages not showing: Check "Show Messages" checkbox.
  • Database window shows old data: Close and reopen the window to force a refresh.
  • Items show "(not in cache)": Normal for items not seen recently. Game client will cache them eventually.

Known Limitations

  • Personal Tracking Only: Only tracks prices you personally set (doesn't scan other auctions).
  • Action Required: Requires actually creating an auction to save prices.
  • Exact Match: Stack sizes must match exactly for auto-fill to work.
  • UI Position: Window position not saved between sessions.
  • WoW Version: World of Warcraft 1.12.x (Vanilla) only.

Changelog

v1.0.0

  • Initial release
  • Automatic price memory per item and stack size
  • Smart auto-fill system
  • Database browser with search, sort, and filter
  • Virtual scrolling optimization for large datasets
  • Per-character auto-fill and message preferences
  • Account-wide price database


❤️ Donations

Donations are always greatly appreciated. Thank you for your support!

Buy Me A Dinosaur

About

Vanilla WoW 1.12 Addon - Stores and auto-fills auction house prices based on item and stack size.

Topics

Resources

License

Stars

Watchers

Forks

Languages