GeezerVison is showing github.com — Known gaps found while landing the trace work · Issue #3705 · NosCoreIO/NosCore
Known gaps found while landing the trace work #3705DescriptionThings we found that still need fixing but are not covered by an open PR. Related follow-up issues already open: #3697 (inventory atomicity follow-ups), #3699 (packet sequences round 2). #3675 and #3676 are closed.
Status checked against master 675b3f1 on 2026-11-24. The items added in comments are gathered under "Follow-ups from the comments" at the end.
Time-spaces
Instant Combat
- Only the level-70 bracket is evidenced, from a timed-out run. A successful run and captures of the other brackets are needed.
- Gold rewards were removed from every bracket because nothing evidences them. Restore them once a capture shows them.
Quests
Packets not yet wired
-
minipet: carries the mini pet's vnum. Show the mini pet a player wears #3822
-
Skipped because the traces show no visible effect or have too few samples:
eff_ob
gmapr: one sample.
s_mode: specialist stance.
ms_c: closes the mslot popup.
Revisit when more traces are available.
NosCore.Packets serializer
- An
rbr description containing \r. Read the item info, dialog, character list and time-space card lines of the traces NosCore.Packets#680
- A bare
dlgi with no packet. Read the item info, dialog, character list and time-space card lines of the traces NosCore.Packets#680
-
clist with a trailing separator. Read the item info, dialog, character list and time-space card lines of the traces NosCore.Packets#680, used by Pad the clist pet field to 26 values, keep the scheduled combat out of the end-to-end servers, fix two time-space checks #3720
- The item info packets (
e_info and the sayitemt family) need a rework of their field layout. Read the item info, dialog, character list and time-space card lines of the traces NosCore.Packets#680 and Support for MySQL #685; the weapon info is pinned to a traced line in Pin a weapon's shell options in its info to a traced line #3735
World and data
Tests
Follow-ups from the comments
- Time-space 6's talking monster under the event library. Let a time-space script give a monster a talk #3715
- A bare
wreq on a time-space stone. Read a bare wreq as a step onto a stone rather than as value 0 #3731
-
clist pet field for characters with mates: exactly 26 values. Pad the clist pet field to 26 values, keep the scheduled combat out of the end-to-end servers, fix two time-space checks #3720
- Story-chapter offer (
qnpc) is not re-sent at login after a relog between chapters; waits for a trace (Name the NPC that hands out the next story chapter with qnpc #3698).
- Map change during the clear reward: a participant who changes map while the reward runs can miss the experience, the stone and the clear record. Settled on master: each participant gets all four steps.
- Perfect stamp and kept-map monsters: monsters on a kept map count as kills but not in the Perfect total. Settled: no time-space builds a kept-map room.
- Mission Clear window experience: no client check yet.
- Missing-room stamp check moved to
timespace-02, and the experience test boundaries set with $SetLevel / $SetJobLevel, in the manual test plan. Pad the clist pet field to 26 values, keep the scheduled combat out of the end-to-end servers, fix two time-space checks #3720
- Weapon info with shell options crashing the client window: came from a pre-Move to NosCore.Packets 60, NosCore.Networking 15 and NosCore.Shared 7.1.0 #3666 build; master opens it. Pin a weapon's shell options in its info to a traced line #3735
- Time-space hit and HP-threshold steps can run out of hit order when the hit comes from outside the map's work.
- Instant Combat end-to-end tests failing just before an even hour: the scheduled combat is kept out of the end-to-end servers. Pad the clist pet field to 26 values, keep the scheduled combat out of the end-to-end servers, fix two time-space checks #3720
- Time-spaces 06, 08 and 09 send no room hint, and 28 sends no room objective; Loser Mode details beyond the doubled clock (see also Time-space lives, Loser Mode details and the time-space 20 door order differ from the traces #3795). Settled: the scripts match the captures.
- Channel move rollback overwriting a newer position. Write a channel move's destination only while the packets are held #3712
- Flaky
DignityItemHandlerTests from the static ladder: each world has its own ladders. Give each world its own reputation and dignity ladders #3744
- The running score check in
documentation/manual-test-plan.md points at timespace-03's first room, which summons no monsters.
- One-room Mission Clear window missing the room's 50. Show the last room's clear in the Mission Clear score #3748
- An armour shell's own info (
e_info 9) still numbers its option levels 1 to 12; no trace settles it.
- NosCore.Dao key write-back does not convert a DTO key of another type; guarded by
DatabaseTests.EveryDtoKeepsItsEntitysKeyType (Keep a new static bonus on its row across saves #3749).
-
MapTeleporterService.DestinationOf matches a teleporter by MapNpcId without the map. Start a map teleporter's bar only for the stone on its own map #3829
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code Activityerwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions Time-space 6 on the event library loses its talking monster
Found while rebasing #3663 onto #3607 (after master's #3664).
- On master, time-space 6 is still on the old hooks. The first monster that the last room's lever brings (vnum 33 at 16,10) is summoned with
MonsterSpawn(..., Dialog: 6028), so it carries talk 6028 until someone closes the talk.
- Redo time-spaces 0-32 from their captures where they differ #3663 moves time-space 6 to the event library. The library's
IMonster cannot give a monster its room's talk, so once Redo time-spaces 0-32 from their captures where they differ #3663 is rebased, that monster no longer carries 6028. The room still opens talk 6028 when the lever is used.
- The fix is a monster option in the library that sets
MonsterSpawn.Dialog, used on that monster. Nobody has added it yet: the rebase only carries over what the library can already express.
Carried over without new API: time-space 15's companion (317) stays an escort under the library (Npc(317).At(3, 8).Escort()), as on master after #3649.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions Two more found while landing the NosCore.Packets 60 bump (#3666):
- A bare
wreq on a time-space stone is refused. The client sends wreq with no value when it steps on a time-space stone (124 such lines in the traces). WreqPacket.Value is required, so the server never answers with rbr and the time-space card never opens from the stone. The fix belongs in NosCore.Packets (make the value optional), then NosCore.
-
clist pet field for characters with mates. For a character with k mates, the entry point writes 26 + k pet values; every traced line has exactly 26.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions Follow-ups from the time-space experience award (#3646, merged):
- Map change during the clear reward. The reward uses the character captured when the run ended; a participant who changes map while the reward runs can miss the experience, the stone and the clear record (only logged as
TIME_SPACE_CLEAR_REWARD_FAILED).
- Perfect stamp and kept-map monsters. Monsters on a kept map count as kills but not in the Perfect total, so a run can be stamped Perfect on monsters while a scripted monster is still alive.
- Mission Clear window experience. The manual test plan expects the window to show the experience and job experience gained; no client check has confirmed it.
- Missing-room stamp check.
timespace-01 has no optional room, so that manual check cannot be run there; pick a time-space that has one.
- Experience test boundaries. The "three times the window" check does not keep the character away from a level threshold or the job level cap.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions Time-spaces: hit and HP-threshold steps can run in a different order than the hits landed
Found in the review of #3653, on the event library from #3607.
- Each
EntityDamagedEvent now carries HpLeft, the target's HP right after its hit. The HP thresholds a hit crosses are taken from that value, so a later hit can no longer hide them, and each threshold still runs exactly once.
- The order between hits is not guaranteed in every case.
BattleService.ProcessHitAsync applies the hit on the target's map executor, then awaits the stat, su and target-info broadcasts before it raises the event.
- When the hit comes from work that already holds that map, the whole sequence runs under the map and the events come out in hit order. That covers a packet handler on the player's map and the monster life loop.
- When the hit comes from outside any map's work, the executor is released after the damage is applied. A second hit can then raise its event first. Its HP steps, or its
OnHit, can run before those of the earlier hit, although the set of thresholds that run is still right.
- No shipped script depends on that order today. A fix would raise the event, or capture its order, inside the hit queue's work on the map. Nobody has started it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions End-to-end: Instant Combat tests fail when CI runs just before an even hour (UTC)
InstantCombatTests start the combat with $Event and expect the start announcement. The end-to-end servers use the default Events schedule in configuration/world.yml, where InstantCombat runs Every: 02:00:00 from midnight and starts its countdown ahead of time. A run that reaches these tests during that countdown gets "This event is already running." instead, and all three tests time out in AskedToJoinAsync.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 21, 2026 CollaboratorAuthor More actions erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions From #3710 (CodeRabbit, ChannelService.cs): after MoveAsync returns false, the rollback in MoveToMapAsync puts back the MapId/MapX/MapY it read before writing the destination. If another path moved the character in the window between that write and the rollback, the rollback overwrites the newer position. Fix: restore only while the three values still equal the destination that MoveToMapAsync wrote.
Also from #3710: MoveToMapAsync writes the destination MapId/MapX/MapY before MoveAsync takes the packet lock, so a second concurrent move can change them in between. Writing them under the lock, together with the restore-if-unchanged fix above, closes both.
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions Flaky test seen on #3728: DignityItemHandlerTests.WithoutAnImportedMaximumTheItemIsKept failed once (dignity -50 instead of -150; run 44985947723, attempt 1) and passed on a rerun of the same commit (attempt 2). #3728 does not touch dignity.
Suspected shared state: DignityLevels is static. The test replaces the ladder with one that has no maximum (TheLadderHasNoMaximum calls DignityLevels.Load), but TestWorld.CreateAsync loads the full client ladder into the same static for every test, and GameObject.Tests runs classes in parallel (Parallelize(Scope = ExecutionScope.ClassLevel)). A world created by another class between the test's Load and the use of the item puts the maximum back, so the item restores 100 dignity. Fix: give the handler the ladder through an injected service (or per-world state) instead of the static, or mark the class [DoNotParallelize] until then.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions Flaky end-to-end test: ACharacterWhoseHpRunsOutDiesAndIsAskedHowToRevive timed out on #3728 (run 44986422704, head 4ab8e33) with "No 'the blow that kills' packet within 20 s" after the test client hit SocketException (32): Broken pipe. The other 353 end-to-end tests passed, and re-running the failed jobs on the same head passed. #3728 does not touch death or combat code.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions The bare wreq item: walking onto a stone already opened the card on Packets 60, which read a bare wreq as value 0 (DailyTeamTimeSpaceEntry) and so reached ShowAsync. The "refused" note dated from before the Packets 60 bump. #3731 now reads a bare wreq as its own null value on Packets 61.0.0, so it round-trips as wreq instead of being rewritten as wreq 0 -1. The client shows the same card on master and on the branch.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions From #3732, follow-ups:
- The "Time-space running score" check in
documentation/manual-test-plan.md (6, 17, 34, 56 and 84) points at the first room of timespace-03, which summons no monsters. It should name the room whose five monsters come one at a time.
- In the lab client, the Mission Clear window of a one-room run showed the kills' points (19) without the cleared room's 50. The unit tests include it, and the packet traces show the last room's +50 in
rnsc before score.
- The bonus the official clear adds on top of the running score (about 15 to 1 350 points before the level penalty) is still unknown. The fit table is in Send the time-space running score as the traces do #3732.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions Left open by #3737: an armour shell's own info (e_info 9) still sends its option levels as 1 to 12. An armour's info now sends them as 13 to 24, as every traced armour line does. No traced e_info 9 line shows an identified shell's options, so the numbering an armour shell uses is unknown. The client draws level n + 12 exactly like level n, so nothing visible depends on it. Setting IsArmor on an armour shell's options in ItemInfoService.GenerateShellInfo is a one-line change once a trace settles it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions erwan-joly commented on Nov 22, 2026 CollaboratorAuthor More actions From #3743 review: MapTeleporterService.DestinationOf matches a teleporter row by MapNpcId and type only, with no map check, while MapInstance.PlaceNpc/SummonNpc hand out _npcs.Keys.Max() + 1, which can equal another map's MapNpcId. An NPC placed while a map runs can then start that teleporter's bar on npc_req. #3743 asks the signpost service first so signposts are safe; the check itself still needs the NPC's map. #3743 (comment)
🤖 Generated with Claude Code
https://claude.ai/code/session_01CUfJ46iekh4rbiCyoTamtn
Generated by Claude Code erwan-joly commented on Nov 24, 2026 CollaboratorAuthor More actions Checked the "Time-spaces 06, 08 and 09 send no room hint, and 28 sends no room objective" item against the time-space captures. Nothing is missing:
- 06: the script sends its room hints (14
Say lines, for example on entering the maze, the corridors and the key room). They match the capture room by room.
- 08: the capture has no centred room hint at all. The run shows only objectives (
sinfo), and the script already sets 5 of them.
- 09: the capture has 2 distinct room hints, and the script sends 3 hint lines.
- 28: the capture shows neither a room hint nor an objective between the stone window and the score, so no objective is the expected behaviour.
That checkbox can be ticked.
Generated by Claude Code erwan-joly commented on Nov 24, 2026 CollaboratorAuthor More actions Two more items in the time-space section look settled on master (675b3f1):
- Map change during the clear reward.
TimeSpaceRunHost.EndedAsync takes the participant list before any await, reads each participant's experience rate up front, and runs the score, experience, stone and clear-record steps per participant on their own. AwardExperienceAsync follows a player who changes map to the new map's executor. A participant who leaves while the others are being rewarded still gets all four steps.
- Perfect stamp and kept-map monsters. Only rooms built with
WithMapRoom keep their map's monsters, and only the ship and Land of Death scripts build such rooms. No time-space has one, so no time-space can kill monsters that are left out of the Perfect total.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|