Repository navigation
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eight small fixes, each with a regression test.
Wheat sheaf (
Cooking.cs). The sheaf's target callback did not re-check the sheaf, so one that another mobile had taken (or that was moved into someone else's possession) after the double-click still filled the mill and was consumed. The callback now refuses a sheaf that another mobile holds. A sheaf on the ground or in a container still works as before.Dawn's Music Gear (
DawnsMusicGear.cs). TheContainscheck was inverted: a new track was added but reported as "already in the musicbox" and the gear was kept, while a duplicate track consumed the gear. The check is now the right way round, so adding a track consumes the gear.Dawn's Music Box (
DawnsMusicBox.cs).HasAccesscheckedHouse.HasAccess(friends and the access list) instead of the box's secure level. The house already applies the secure level before the box is used, so this extra check could only narrow it: a box set to Guild or Anyone still refused guild members and visitors with "That is not accessible." It now usesHasSecureAccess(m, _level).Powder of Translocation (
PowderOfTranslocation.cs). The range check was against the powder only, so any item in sight could be charged at any range, including items carried by other players. The item to charge must now be in the user's backpack.Weapon engraving tool (
WeaponEngravingTool.cs). Any weapon in sight could be engraved or wiped at any range. The target must now be within 3 tiles, not held by another player, movable and not locked down, checked again when the gump is answered (cliloc 1072310).Banner facing gump (
Banner.cs). Closing the facing gump (right-click or any unknown button) still placed the banner, as if South had been chosen, and consumed the deed. Only the East and South buttons place it now.Cow milking (
Cow.cs).TryMilksent the "too far" and "escapes" messages but fell through, so the milk was still granted. Both rejections now return false.Cast-from-book request (
Spellbook.cs).CastSpellRequestused the spellbook named in the packet whenever it held the spell, with no check that the caster carries it, so a modified client, or a spellbook gump still open after the book left the pack, can cast spells the character doesn't have, from any spellbook in the world (another player's, a vendor's). Skill, reagents and mana still apply, and the book's owner loses nothing. A book is now used only when worn or directly in the backpack (book.Parent == from || book.Parent == from.Backpack), otherwise the normal lookup runs. This matchesOnDoubleClick(500207) andFindSpellbookInList.