Skip to content

Answer item info for costumes, amulets, holders, partner cards and the other inventories - #3310

Merged
erwan-joly merged 1 commit into
masterfrom
claude/project-thread-xhmouf
Nov 15, 2026
Merged

erwan-joly merged 1 commit into
masterfrom
claude/project-thread-xhmouf

Conversation

@erwan-joly

@erwan-joly erwan-joly commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #3293
Fixes #3294

What changed

Right-clicking many items opened no info window, because the server either had no answer for the item or did not understand which inventory the request was about.

  • Item kinds (ItemInfoService): hats and masks now use the accessory layout. Costume suits, costume hats, weapon skins and wing skins get the costume layout, which shows the remaining time (or permanent) and whether the item can still be traded. Amulets show their remaining time. A card holder shows the stored card's level, points and upgrade, and a fairy bead shows the stored fairy's element rate; both fall back to the empty layout. A partner card answers with pslinfo, which carries its three skills.
  • Inventories (EquipmentInfoPacketHandler): eqinfo now finds the item in the card inventory, the costume inventory, a partner's gear (partner slot, then gear slot) and an NPC shop (by item number). Trade, personal shop and warehouses are left for a follow-up.
  • Bumps NosCore.Packets to 43.0.0, which adds these packets and corrects the eqinfo type values. That release also contains 42.x, so the local AttackType copy is removed in favour of the package's one, and the sc/fd/tc_info casts are dropped.

How it was verified

Unit tests cover each item kind and each inventory. The full suite passes. Two tests failed once in the full run (ARunningCombatIsNotStartedAgain, and the bazaar E2E ASellerWhoLeavesTheWorldKeepsWhatWasNotSold while a local server stack was running) and both pass when run again.

In the browser client, master opens nothing for any of these items. With this branch, every window opens with the item's values:

Equipment bag: hat, mask, costume suit, costume hat, amulet (top row master, bottom row this branch)
Equipment bag 1

Equipment bag: partner card, full and empty card holder, fairy bead, weapon skin
Equipment bag 2

Card and costume inventories (left master, right this branch)
Card and costume inventories

Partner card, partner weapon, NPC shop headband and ring (left master, right this branch)
Partner gear and NPC shop

The card-inventory shot comes from a fresh client. After one specialist window has been opened and closed in a session, right-clicking a different card opened nothing, even though its slinfo reached the client. The "Item info windows" section of documentation/manual-test-plan.md asks for this to be checked in the game client.

Still needs a human

The new "Item info windows" checks in documentation/manual-test-plan.md. In particular, check remaining time on a real timed costume and an amulet against the game client.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 484a0f2 and da6b20e.

Files selected for processing: 11

  • Directory.Packages.props
  • documentation/manual-test-plan.md
  • src/NosCore.Data/Enumerations/Battle/AttackType.cs
  • src/NosCore.GameObject/Ecs/Extensions/PlayerBundleExtensions.cs
  • src/NosCore.GameObject/Services/ItemInfoService/ItemInfoService.cs
  • src/NosCore.GameObject/Services/MateService/IPartnerSpecialistService.cs
  • src/NosCore.GameObject/Services/MateService/PartnerSpecialistService.cs
  • src/NosCore.PacketHandlers/Inventory/EquipmentInfoPacketHandler.cs
  • test/NosCore.GameObject.Tests/Ecs/Extensions/CharacterStatsPacketTests.cs
  • test/NosCore.GameObject.Tests/Services/ItemInfoService/ItemInfoServiceTests.cs
  • test/NosCore.PacketHandlers.Tests/Inventory/EquipmentInfoPacketHandlerTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@erwan-joly
erwan-joly force-pushed the claude/project-thread-xhmouf branch from 1ebae99 to 1851f1f Compare November 15, 2026 03:32
…e other inventories

Hats and masks reuse the gloves layout, costumes and skins show whether
they can still be traded and the hours they have left, amulets their
remaining time, card holders the card they keep and fairy beads their
fairy. A partner specialist card answers with pslinfo: its skills and its
points.

eqinfo now also reads the card inventory (10), the costume inventory (11),
a partner's worn gear (7) and an NPC shop item by its VNum (2).

Fixes #3293
Fixes #3294

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014gSmkVobkaxLG1dXhviQ3W
@erwan-joly
erwan-joly force-pushed the claude/project-thread-xhmouf branch from 1851f1f to da6b20e Compare November 15, 2026 04:00
@erwan-joly
erwan-joly merged commit 0ce903c into master Nov 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants