Загрузить файлы в «/»

This commit is contained in:
Ade
2026-10-17 20:56:14 +00:00
parent 4e1b79ff8e
commit d1115ca763
5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Title: Ade Alts
## Notes: Alt manager: cooldowns, inventory, bank, gear, professions and missing recipes of all your characters. /ade
## Author: Ade
## Version: 1.2.2
## Version: 1.2.3
## SavedVariables: AdeAltsDB, ProfCDTrackerDB
## OptionalDeps: pfUI, SuperWoW, nampower
core.lua
+3
View File
@@ -1,5 +1,8 @@
# Changelog
## 1.2.3
- Guild / party / raid chat sync is now **off by default**; enable it with `/ade chat`. Shared-file sync (SuperWoW) is unaffected.
## 1.2.2
- Fixed: lists (recipes, bags, bank, search results) jumped back to the top every few seconds.
- Fixed: a dropped profession stayed in the list (the shared file / chat brought it back). Dropped professions are now remembered and the removal syncs between accounts.
+4 -4
View File
@@ -16,7 +16,7 @@ including those on **other accounts**, and shows it in one window.
- Turtle WoW / any 1.12 client.
- Optional but recommended: **[SuperWoW](https://github.com/balakethelock/SuperWoW)** – lets all accounts in the same
game folder share data through `imports\AdeAlts.txt`. Without it, only cooldowns sync (guild / party / raid chat).
game folder share data through `imports\AdeAlts.txt`. Without it, nothing is shared between accounts unless you enable chat sync with `/ade chat` (cooldowns only).
- Optional: pfUI (minimap button docking and skin).
## Installation
@@ -43,7 +43,7 @@ Every alias works the same: `/ade`, `/adealts`, `/pcd`, `/profcd`, `/cdt`.
| `/ade cd` (also `cooldowns`) | Open / close the profession cooldowns window |
| `/ade find <text>` | Open the manager and search items and recipes across all alts |
| `/ade list` | Print all cooldowns to the chat frame |
| `/ade sync` | Sync now: shared file (SuperWoW) and a chat request to guild/party/raid |
| `/ade sync` | Sync now: shared file (SuperWoW) and a chat request to guild/party/raid (only if chat sync is on) |
| `/ade scan` | Rescan this character (level, gold, bags, gear, professions) and print what the client reports |
| `/ade status` | Show whether SuperWoW file sync is on and how many characters are known |
| `/ade export` | Open a text box with all data (copy it to move data by hand) |
@@ -56,13 +56,13 @@ Every alias works the same: `/ade`, `/adealts`, `/pcd`, `/profcd`, `/cdt`.
| `/ade reset` | Set all cooldowns of the current character to Ready |
| `/ade del <name>` | Remove a cached character and ignore it from now on, so chat / shared-file sync cannot bring it back (not the one you are logged in on) |
| `/ade unignore <name>` | Stop ignoring a character removed with `del` |
| `/ade chat` | Turn guild / party / raid addon-message sync on or off (SuperWoW file sync is unaffected) |
| `/ade chat` | Turn guild / party / raid addon-message sync on or off (**off by default**; SuperWoW file sync is unaffected) |
## How data is shared
Each character stores its own record (gold, bags, bank, gear, professions, cooldowns). With SuperWoW all accounts
read and write one shared file, `<WoW folder>\imports\AdeAlts.txt`, and the newest data per character wins.
Cooldowns (and only cooldowns) are also exchanged through guild / party / raid addon messages, so characters of other players who run the addon (or the old ProfCD Tracker) in your guild or group can appear in your list; remove them with `/ade del` or switch this off with `/ade chat`.
If you turn it on with `/ade chat`, cooldowns (and only cooldowns) are also exchanged through guild / party / raid addon messages (off by default), so characters of other players who run the addon (or the old ProfCD Tracker) in your guild or group can appear in your list; remove them with `/ade del`.
## Notes
+1 -1
View File
@@ -7,7 +7,7 @@ local AA = AdeAlts
-- Command: /pcd Minimap button: auto-docked by pfUI's addon button panel.
AA.ADDON = "AdeAlts"
AA.VERSION = "1.2.2"
AA.VERSION = "1.2.3"
AA.PREFIX = "PCDT"
AA.DAY = 86400
AA.RDATA = {} -- recipe database, filled by the data_*.lua files
+4 -4
View File
@@ -163,7 +163,7 @@ ev:SetScript("OnEvent", function()
AA.bagDirty = true
elseif event == "CHAT_MSG_ADDON" then
if arg1 == AA.PREFIX and AA.db and not AA.db.noChat and arg4 ~= UnitName("player") then
if arg1 == AA.PREFIX and AA.db and AA.db.chat and arg4 ~= UnitName("player") then
if arg2 == "R" then
if AA.me and GetTime() - AA.lastReply > 5 then
AA.lastReply = GetTime()
@@ -203,7 +203,7 @@ SlashCmdList["PROFCD"] = function(msg)
AA.Send("R")
AA.Broadcast()
AA.FileSync()
AA.Print("synced (shared file: " .. ((ImportFile and ExportFile) and "on" or "off") .. ", chat request sent).")
AA.Print("synced (shared file: " .. ((ImportFile and ExportFile) and "on" or "off") .. ", chat sync " .. (AA.db.chat and "on" or "off") .. ").")
elseif cmd == "scan" then
AA.Print("client reports: level=" .. tostring(UnitLevel("player")) .. " gold(copper)=" .. tostring(GetMoney()))
AA.ScanSelf()
@@ -289,8 +289,8 @@ SlashCmdList["PROFCD"] = function(msg)
end
AA.Print("no longer ignoring " .. n .. " character(s).")
elseif cmd == "chat" then
AA.db.noChat = not AA.db.noChat
AA.Print("guild / party / raid sync " .. (AA.db.noChat and "|cffff6060OFF|r (nothing is sent or accepted from chat)" or "|cff40ff40ON|r") .. ".")
AA.db.chat = not AA.db.chat
AA.Print("guild / party / raid sync " .. (AA.db.chat and "|cff40ff40ON|r (cooldowns are sent to and accepted from guild / party / raid)" or "|cffff6060OFF|r (default; nothing is sent or accepted from chat)") .. ".")
else
AA.Print("/ade - alts window | cd (cooldowns) | find <item> | list | sync | scan | status | debug | bags | chat | unignore <name> | export | import | minimap | alert | reset | del <name>")
end