Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| faa214d711 | |||
| 12dc325987 | |||
| fe7298dead | |||
| 7860923b0a | |||
| 91bfbc2896 | |||
| ce528a463e | |||
| 7212a7ddf8 | |||
| 98f63bdd23 | |||
| dca93d29af | |||
| 6296dcd554 | |||
| 22c13cb4b2 |
+199259
-185123
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,8 @@
|
|||||||
|
<img src="https://i.postimg.cc/dVsnq11F/sdfsegt.png"/>
|
||||||
|
<img src="https://i.postimg.cc/rFLQPg2P/dfgsdf.png"/>
|
||||||
|
|
||||||
|
For faster scanning check out https://github.com/brues-code/AuctionQueryThrottle
|
||||||
|
|
||||||
# Relationships Auction Price
|
# Relationships Auction Price
|
||||||
|
|
||||||
**Relationships Auction Price** is a lightweight Auction House addon for **OctoWoW** that combines a powerful Auction House scanner with informative item tooltips, giving you instant access to market prices without repeatedly searching the Auction House.
|
**Relationships Auction Price** is a lightweight Auction House addon for **OctoWoW** that combines a powerful Auction House scanner with informative item tooltips, giving you instant access to market prices without repeatedly searching the Auction House.
|
||||||
@@ -71,3 +76,93 @@ No extra windows or complicated configuration are required.
|
|||||||
* ✔ Lightweight with minimal impact on performance.
|
* ✔ Lightweight with minimal impact on performance.
|
||||||
|
|
||||||
Whether you're flipping valuable items, deciding what to vendor, or simply curious about an item's worth, **Relationships Auction Price** provides quick, reliable Auction House pricing directly where you need it—inside every item tooltip.
|
Whether you're flipping valuable items, deciding what to vendor, or simply curious about an item's worth, **Relationships Auction Price** provides quick, reliable Auction House pricing directly where you need it—inside every item tooltip.
|
||||||
|
|
||||||
|
# Chat Commands
|
||||||
|
|
||||||
|
The addon provides the following slash commands:
|
||||||
|
|
||||||
|
| Command | Description |
|
||||||
|
| --------------------- | ---------------------------------------------------------------------------------------- |
|
||||||
|
| `/rap scan` | Starts a full Auction House scan using the current filters. |
|
||||||
|
| `/rap fast` | Starts a faster scan with reduced delay between pages. |
|
||||||
|
| `/rap continue` | Continues the last interrupted scan from the saved checkpoint. |
|
||||||
|
| `/rap stop` | Stops the current scan. Partial results are preserved. |
|
||||||
|
| `/rap clear` | Clears all locally stored price data for the current realm and faction. |
|
||||||
|
| `/rap stats` | Displays statistics for local and shared price data. |
|
||||||
|
| `/rap show <itemID>` | Shows stored data for a specific item ID. |
|
||||||
|
| `/rap export` | Exports collected data into `RAP_SHARED_DATA_EXPORT` for creating a new `PriceData.lua`. |
|
||||||
|
| `/rap exportstring` | Exports data as a legacy string stored in `RelationshipsAuctionPriceDB.export`. |
|
||||||
|
| `/rap name <text>` | Applies a name filter to the next scan. |
|
||||||
|
| `/rap name clear` | Removes the name filter. |
|
||||||
|
| `/rap class <index>` | Applies a class filter using the Auction House class index. |
|
||||||
|
| `/rap class clear` | Removes the class filter. |
|
||||||
|
| `/rap continue clear` | Deletes the saved scan checkpoint so future scans start from page 1. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# See The Results
|
||||||
|
|
||||||
|
After completing a scan:
|
||||||
|
|
||||||
|
1. Run:
|
||||||
|
|
||||||
|
```text
|
||||||
|
/reload
|
||||||
|
```
|
||||||
|
|
||||||
|
# Exporting Price Data
|
||||||
|
|
||||||
|
After completing a scan:
|
||||||
|
|
||||||
|
1. Run:
|
||||||
|
|
||||||
|
```text
|
||||||
|
/rap export
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Reload your UI** to save the export:
|
||||||
|
|
||||||
|
```text
|
||||||
|
/reload
|
||||||
|
```
|
||||||
|
|
||||||
|
> **⚠️ Important**
|
||||||
|
>
|
||||||
|
> You **must** use `/reload` after running `/rap export`.
|
||||||
|
>
|
||||||
|
> The export is only written to your SavedVariables file when the UI reloads (or you log out). Without reloading, no export data will be saved.
|
||||||
|
|
||||||
|
3. Open:
|
||||||
|
|
||||||
|
```text
|
||||||
|
WTF/Account/<YourAccount>/SavedVariables/RelationshipsAuctionPrice.lua
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Copy the entire:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
RAP_SHARED_DATA_EXPORT = {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Paste it into:
|
||||||
|
|
||||||
|
```text
|
||||||
|
AddOns/RelationshipsAuctionPrice/PriceData.lua
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Rename:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
RAP_SHARED_DATA_EXPORT
|
||||||
|
```
|
||||||
|
|
||||||
|
to
|
||||||
|
|
||||||
|
```lua
|
||||||
|
RAP_SHARED_DATA
|
||||||
|
```
|
||||||
|
|
||||||
|
Your shared pricing database is now ready for distribution.
|
||||||
|
|
||||||
|
|||||||
@@ -790,7 +790,37 @@ local function CreateAHUI()
|
|||||||
local bd = cPanel.borderColor or { 0.55, 0.42, 0.22, 1 }
|
local bd = cPanel.borderColor or { 0.55, 0.42, 0.22, 1 }
|
||||||
ahPanel:SetBackdropColor(bg[1], bg[2], bg[3], bg[4])
|
ahPanel:SetBackdropColor(bg[1], bg[2], bg[3], bg[4])
|
||||||
ahPanel:SetBackdropBorderColor(bd[1], bd[2], bd[3], bd[4])
|
ahPanel:SetBackdropBorderColor(bd[1], bd[2], bd[3], bd[4])
|
||||||
ahPanel:SetFrameStrata("HIGH")
|
ahPanel:SetFrameStrata("MEDIUM") -- AH is DIALOG strata; keep panel below it
|
||||||
|
ahPanel:SetToplevel(false)
|
||||||
|
|
||||||
|
-- Draggable panel (only while AH is open)
|
||||||
|
ahPanel:SetMovable(true)
|
||||||
|
ahPanel:EnableMouse(true)
|
||||||
|
ahPanel:RegisterForDrag("LeftButton")
|
||||||
|
ahPanel:SetClampedToScreen(true)
|
||||||
|
ahPanel:SetScript("OnDragStart", function()
|
||||||
|
if AuctionFrame and AuctionFrame:IsVisible() then
|
||||||
|
this:StartMoving()
|
||||||
|
this.isMoving = true
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
ahPanel:SetScript("OnDragStop", function()
|
||||||
|
if this.isMoving then
|
||||||
|
this:StopMovingOrSizing()
|
||||||
|
this.isMoving = false
|
||||||
|
local point, _, relPoint, x, y = this:GetPoint()
|
||||||
|
RelationshipsAuctionPriceDB.panelPos = {
|
||||||
|
point = point, relPoint = relPoint, x = x, y = y,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Restore saved position (if any), otherwise keep the AH-anchored default
|
||||||
|
local savedPos = RelationshipsAuctionPriceDB and RelationshipsAuctionPriceDB.panelPos
|
||||||
|
if savedPos and savedPos.point then
|
||||||
|
ahPanel:ClearAllPoints()
|
||||||
|
ahPanel:SetPoint(savedPos.point, UIParent, savedPos.relPoint, savedPos.x, savedPos.y)
|
||||||
|
end
|
||||||
|
|
||||||
-- Scan button
|
-- Scan button
|
||||||
local cBtn = C.scanButton or {}
|
local cBtn = C.scanButton or {}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
## Title: Relationships Auction Price
|
## Title: Relationships Auction Price
|
||||||
## Notes: AH scanner + tooltip prices (highest to lowest) for Octowow. Supports a shared PriceData.lua for transfers.
|
## Notes: AH scanner + tooltip prices (highest to lowest) for Octowow. Supports a shared PriceData.lua for transfers.
|
||||||
## Author: Relationship
|
## Author: Relationship
|
||||||
## Version: 1.0
|
## Version: 1.1
|
||||||
## SavedVariables: RelationshipsAuctionPriceDB, RAP_SHARED_DATA_EXPORT
|
## SavedVariables: RelationshipsAuctionPriceDB, RAP_SHARED_DATA_EXPORT
|
||||||
|
|
||||||
PriceData.lua
|
PriceData.lua
|
||||||
|
|||||||
Reference in New Issue
Block a user