Skip to content

feat: relay /zaap to every open client (multi-account) - #18

Open
pedroduca wants to merge 3 commits into
Miniluchi:mainfrom
pedroduca:feat/multi-account
Open

pedroduca wants to merge 3 commits into
Miniluchi:mainfrom
pedroduca:feat/multi-account

Conversation

@pedroduca

@pedroduca pedroduca commented Nov 5, 2026 •

Copy link
Copy Markdown

Closes #19 ## Why With several accounts open, every /zaap has to be taken by hand on each of the other clients (a /travel is followed by the group leader on its own). Zaapy already knows the open Dofus windows, so it can do the visiting itself. ## Change - New Multi-account switch, in the tray menu and in the settings panel (both write the same multi_account config field, so they cannot disagree). Off by default. - When on, a /zaap goes to the other open windows of the target's process first, then to the selected character last, so the player ends up on it. /travel is not relayed: in a group the followers already follow the leader, whereas a zaap has to be taken by each account. - The panel lists the other open clients (one checkbox per character, from the title before -). Until one is unticked every open client is reached; after that multi_targets holds the chosen names. - Item names (and /travel) are never broadcast: they are pasted into whatever field the selected client has open. - A client that fails does not stop the others; the first error is the one reported. - The settings window grows to fit the new rows (ARCHITECTURE.md updated). ## Testing cargo test --workspace (core: 25 unit + 31 bridge tests, including relay order, the off switch, travel and items not broadcast, and a chosen subset), svelte-check clean. Not tested against several live Dofus clients, so how the in-game chat behaves when windows are focused in quick succession is unverified. 🤖 Generated with Claude Code

pedroduca and others added 2 commits November 5, 2026 11:16
A Multi-account switch, in the tray menu and in the settings panel, sends each
chat command to every open window of the target's process: the other clients
first, the selected character last, so the player ends up on it. Item names
are never broadcast. A client that fails does not stop the others; the first
error is the one reported. Off by default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The panel lists the other open clients of the selected Dofus process, one
checkbox per character, under the Multi-account switch. Until the user unticks
one, every open client is reached, as before.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
In a group the followers already follow the leader's /travel, so it only
goes to the selected character. A zaap is taken by each account on its
own, which is the part worth relaying.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@pedroduca pedroduca changed the title feat: relay /travel and /zaap to every open client (multi-account) feat: relay /zaap to every open client (multi-account) Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-account: relay /zaap to every open client

1 participant