66 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
72 lines
4.8 KiB
Plaintext
72 lines
4.8 KiB
Plaintext
OctoTravelCapture is a passive observer for the official 1.12-based Octo client.
|
|
It records UI API observations, not network packets or proof of server acceptance.
|
|
No chat/addon messages, gameplay actions, map changes, API hooks or unit scans.
|
|
|
|
Load through its TOC, or append Observer.lua as an exactly marked, journaled block
|
|
in the already recognized pfUI addon. The latter uses the existing pfUI_cache
|
|
SavedVariables. New addon discovery may require a client restart on old clients;
|
|
the pfUI block avoids requiring one during the user's current flight.
|
|
Installation, backup/receipt and Reload UI remain the operator's responsibility.
|
|
|
|
/whtravel prints active/stopped, current per-load nonce, row count and drops.
|
|
The matching observer-ready row confirms this revision executed in that load;
|
|
actual activation still requires checking the client message and later a saved
|
|
row/event. /whtravel stop unregisters events. Reload/logout writes SavedVariables.
|
|
Rows persist across reloads; each load appends a new nonce/ready row. Check the
|
|
latest nonce and event counts; historical rows alone do not prove fresh activity.
|
|
|
|
Five-second samples contain zone/subzone/real-zone names, current map context and
|
|
coordinates when available, UnitOnTaxi and optional IsMounted/GetUnitSpeed values.
|
|
The observer NEVER calls SetMapToCurrentZone: coordinates may refer to a map the
|
|
user has opened, may be 0,0, or may be absent. They are not server/world XYZ.
|
|
Target/mouseover snapshots contain public name/GUID/level/type where the original
|
|
API exists. There is no nearby-world enumeration or verified vanilla model-ID
|
|
getter. On TAXIMAP_OPENED, target/npc information and up to 128 visible taxi nodes
|
|
are sampled. A missing NPC unit, GUID or mount API remains absent, not invented.
|
|
No private whisper/guild/party text is registered or copied. Raw unit names/GUIDs
|
|
remain local; exclude them when publishing an aggregate.
|
|
|
|
Hard row cap: 4096. Estimated scalar/key byte budget: 2 MiB. Drops are counted;
|
|
event counters and latest nonce still update after the row cap. Unsupported events
|
|
and optional API availability are explicit. Secret values and API failures omit
|
|
fields. Stopping does not delete prior rows; preserve them before clearing a run.
|
|
|
|
Host validation (does not establish real-client activation):
|
|
lua5.1 tests/octo_travel_observer_test.lua "$PWD"
|
|
|
|
Revision v2 adds SPELLCAST_START/STOP/FAILED/INTERRUPTED/DELAYED and channel
|
|
start/stop/update events. Only their first two public scalar arguments are saved;
|
|
they are original event arguments, not decoded spell IDs or proof of toy use.
|
|
Helpful/harmful player aura snapshots use GetPlayerBuff(index, filter) and the
|
|
texture/applications/time-left APIs already used by installed pfUI. Index origin
|
|
comes from PLAYER_BUFF_START_ID, not a guessed default. Up to 32 slots per filter
|
|
are read; unchanged periodic aura sets are deduplicated. Auras are texture/index
|
|
observations, not guessed names/IDs. No tooltip scanning or gameplay APIs.
|
|
|
|
The status message now includes cache=true/false; ready/travel records carry
|
|
cacheBound. The actual capture is rebound to the already declared pfUI_cache on
|
|
events, snapshots and logout, preserving unrelated cache fields. This checks the
|
|
Lua binding, not disk persistence: verify a post-activation SavedVariables mtime,
|
|
a matching nonce and later ready/event rows before claiming saved capture.
|
|
|
|
Prepared revision v3 (repository only until separately installed):
|
|
- Resolves explicit global index -1/0 with named vanilla/TBC origins. If absent,
|
|
uses only pfUI.env.PLAYER_BUFF_START_ID with matching pfUI.expansion vanilla/-1
|
|
or tbc/0, based on inspected compatibility sources. Unknown/inconsistent values
|
|
remain unresolved. Saved auraIndexOrigin makes that boundary explicit.
|
|
- Unchanged unit observations and stationary periodic/UNIT_FLAGS travel samples
|
|
are coalesced for up to 30 seconds. Aura details are emitted when the set changes,
|
|
at activation and logout. Original event counters continue for every event.
|
|
- No redundant event+travel rows accompany each cast or mouseover. Cast detail is
|
|
retained as one row. Important travel/ready/stop rows reserve 512 history slots
|
|
and 256 KiB of the unchanged 4096-row/2-MiB historical budget.
|
|
- latestReady and latestTravel are exactly two sanitized flat metadata records,
|
|
refreshed even when history is full. This preserves fresh activation/current
|
|
travel, not full later event history. Their fixed schema is separately bounded.
|
|
Historical rows are never reset/overwritten automatically, and dropped remains
|
|
cumulative. coalesced counts intentional reductions separately from cap drops.
|
|
- Safely archived source data is still required before manually clearing a run.
|
|
The observer cannot infer that a previous segment reached disk merely because
|
|
ReloadUI was requested. There is no automatic segment deletion or false lossless
|
|
capture claim. No shared parser size/token limit was raised.
|