Skip to content

Give crafted items through the Waypoint Tools mod, on releases too - #30

Merged
Wrathen merged 1 commit into
mainfrom
feat/crafter-on-releases
Nov 10, 2026
Merged

Wrathen merged 1 commit into
mainfrom
feat/crafter-on-releases

Conversation

@Wrathen

@Wrathen Wrathen commented Nov 10, 2026

Copy link
Copy Markdown
Member

What

The item crafter now works on a LocalExile release as it does on a source copy. Give item goes through the
Waypoint Tools mod (LocalExile-Mods mods/waypoint-tools):
Waypoint writes a request to data/waypoint-tools/requests/, and the mod builds the item with the Gateway's own
ItemCrafter.Build, puts it in the character's inventory and answers in replies/. Frida and the client control bridge
are no longer used for it.

  • Launcher.Core/WaypointToolsMod.cs: the request/reply channel (installed, loaded by a running Gateway, give).
  • The crafter offers to install the mod from the official source when it's missing (refused on a release when the mod
    has no release; asks when it's marked incompatible).
  • CrafterCatalog.HasCrafter reads the Gateway assembly's metadata for ItemCrafter instead of the command list, since
    /item_give moved to the gm-commands mod.
  • Tools shows the crafter on releases; the release note, Get the item crafter and the setup's Give item choice are
    gone (Windows and Linux).
  • Mods: a dependency on one of LocalExile's modules (such as Game) counts as met, so such a mod is no longer shown as
    Dependency blocked.
  • The source setup's tested commit moves to v0.4.2-beta, the first where mods reach the Game module.
  • docs/launcher.md, README and all three catalogs updated.

Relies on LocalExile-Mods#30 (the mod).

Checks

  • dotnet build Waypoint.slnx -c Release (0 warnings), dotnet build Waypoint.Linux.slnx -c Release
  • dotnet test Waypoint.slnx 403 passed, tests/Launcher.Checks 201 passed
  • adapter tests/*.Tests.ps1, the Python tests, tools/missing-translations.py
  • In the app: an item given through the mod on release v0.4.2-beta and on a source checkout (by character name and with
    none); the Mods dependency status checked.

🤖 Generated with Claude Code

The item crafter now works the same on a source copy and a release: Give
item goes through LocalExile-Mods' waypoint-tools mod (a request file in
data/waypoint-tools/), never through Frida or the client control bridge.
When the mod is missing, the crafter offers to install it from the official
mod source.

- Read whether a Gateway has the crafter from its assembly's metadata
  (the ItemCrafter type), since /item_give moved to the gm-commands mod.
- Drop the release note, "Get the item crafter" and the setup's Give item
  choice; Tools shows the crafter on releases.
- Count LocalExile's modules as met dependencies in Mods, so a mod that
  depends on Game is no longer "Dependency blocked".
- Move the source setup's tested commit to v0.4.2-beta, the first where
  mods reach the Game module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Wrathen
Wrathen merged commit c488ab3 into main Nov 10, 2026
2 checks passed
mingyue8621 pushed a commit to mingyue8621/Waypoint that referenced this pull request Nov 12, 2026
…er list

上游 36 个提交(PR#17~LocalExile#30)。冲突 11 个文件:
- Strings.resx / Strings.zh-CN.resx / Strings.ru.resx:**取并集**(上游 2244/2834/2244 条 + 本地独有
  368/372/260 条 = 2612/3206/2504 条),三条翻译一条不丢
- ModCatalog / SettingsEditor / ModBrowser / Waypoint.Linux.csproj / docs/launcher.md:保留本地
  (Mod 的 Root、设置项走翻译、倍率动态描述、Linux 工程的文件清单、更完整的控制台说明)
- MainWindow.xaml.cs / GameSystemsTab.cs / GameSystemsTab.Draft.cs:取上游(模式切换只在 release 上、
  League.Name 取代 DisplayName)

本地功能在新版上重新验证:中文翻译 3206 条、登录器按 Client.Folder 找客户端、设置项/选项走 L.Text、
描述里的 ×N 跟随当前倍率、Mod 的 checkout 根目录。

顺带一处结构适配:上游把 MainWindow 改成无参构造、settings 走 Shared() 里对 Application.Current 的
强制转换;而 流放之路服务端.exe 承载这些页面时 Application.Current 是另一个程序集的 App,转换会抛
InvalidCastException。新增 src/Waypoint/HostSettings.cs(internal 静态入口),Shared() 先读它,宿主
在创建窗口前把 settings 交过去。
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.

1 participant