Skip to content

fix: map the four new client const strings - #539

Merged
erwan-joly merged 1 commit into
masterfrom
fix/game18n-new-const-strings
Oct 12, 2026
Merged

erwan-joly merged 1 commit into
masterfrom
fix/game18n-new-const-strings

Conversation

@erwan-joly

@erwan-joly erwan-joly commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

master is red on I18NDocumentation. The test downloads the live client's conststring_UK.dat, and the game added four strings:

Key Text Name
2869 Family %s used a skill to increase fairy experience earned by its members. FamilyUsedSkillFairyExperience
2870 Family %s used a skill to increase the chance of its members receiving an additional raid token. FamilyUsedSkillRaidToken
2871 The medal has expired. Effect deactivated. MedalExpired
2872 %s has expired. Effect deactivated. HasExpiredEffectDeactivated

The names follow the older descriptive style (FamilyUsedSkillGold, MedalEreniaExpired) rather than the auto-numbered FamilyUsedASkillToIncrease5.

Also in the diff:

  • The game reworded five existing strings (e.g. "18th Anniversary Buff" → "Anniversary Buff"); only the generated comments change.
  • SerializerCorpusTests snapshot: the corpus picks seeded Game18NConstString values, so the four new members shift the picks in the 16 packets that carry the enum (sayi, msgi, in via InNonPlayerSubPacket.Title, …). No serializer behavior changes.

All 128 tests pass locally.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added messages for family skill notifications involving fairy experience and raid tokens, along with medal and named-effect expiration notices.
  • Updates
    • Updated text for party-member notifications, anniversary messages, and the meteor-dodging instruction.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Repository: NosCoreIO/NosCore.Packets/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4858805a-ee69-441f-a45f-004e9bc82f6e

📥 Commits

Reviewing files that changed from the base of the PR and between 1113fc5 and 09c04f4.


You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NosCoreIO/NosCore.Packets/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4882a4fd-ab27-4e51-bf9e-cbfc2594283d


📥 Commits

Reviewing files that changed from the base of the PR and between fa6087f and 1113fc5.



📒 Files selected for processing (2)
  • src/NosCore.Packets/Enumerations/Game18NConstString.verified.cs
  • test/NosCore.Packets.Tests/SerializerCorpusTests.ExpressionTreeSerializerOutputIsPinnedForEveryPacket.verified.txt


Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.




Walkthrough

The update changes selected game string text, adds four Game18NConstString entries, and revises expected numeric outputs in the pinned packet serializer corpus.

Changes

Game string entries

Layer / File(s) Summary
Game string edits and additions
src/NosCore.Packets/Enumerations/Game18NConstString.verified.cs
Party, anniversary, and meteor message text changes. Four entries add family-skill notifications and medal- and named-effect-expiration messages.

Serializer corpus expectations

Layer / File(s) Summary
Packet output fixture updates
test/NosCore.Packets.Tests/SerializerCorpusTests.ExpressionTreeSerializerOutputIsPinnedForEveryPacket.verified.txt
Expected numeric outputs change for multiple packet samples. The final numeric value in InPacket#7 changes from 193 to 181.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 1113f

The enum additions account for the updated packet snapshots, and no concrete behavior regression is evident. No actionable merge blocker remains.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the main change: mapping four new client const strings.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.



✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR



🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR



  • 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

Comment @coderabbitai help to get the list of available commands.

The live client added const strings 2869-2872 (family fairy experience
and raid token skills, medal expiry), which failed I18NDocumentation on
every build. Five existing strings were also reworded, which only
changes the generated comments.

The serializer corpus snapshot moves because it picks seeded values from
Game18NConstString, which now has four more members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@erwan-joly
erwan-joly force-pushed the fix/game18n-new-const-strings branch from 1113fc5 to 09c04f4 Compare October 12, 2026 07:39
@erwan-joly
erwan-joly merged commit 18e863e into master Oct 12, 2026
4 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

Development

Successfully merging this pull request may close these issues.

1 participant