Conversation
Eat External.Discord.Get in UserTelnet instead of forwarding it to MUME. MUME does not support External.Discord.Get and responds with a MUME.Client.Error, which MMapper was displaying as a protocol error.
Eat External.Discord.Get in UserTelnet instead of forwarding it to MUME. MUME does not support External.Discord.Get and responds with a MUME.Client.Error, which MMapper was displaying as a protocol error.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe proxy now registers and identifies External.Discord.Get messages, then consumes them locally so unsupported requests are not forwarded to MUME and cannot trigger GMCP protocol errors. Tests cover deserialization, message naming, and type recognition. Sequence diagram for local handling of External.Discord.GetsequenceDiagram
participant Client
participant UserTelnet
participant MUME
Client->>UserTelnet: External.Discord.Get
UserTelnet->>UserTelnet: isExternalDiscordGet()
UserTelnet-->>Client: Consume message locally
Note over UserTelnet,MUME: Message is not forwarded to MUME
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #553 +/- ##
==========================================
+ Coverage 25.08% 27.28% +2.19%
==========================================
Files 528 559 +31
Lines 44211 45915 +1704
Branches 4793 4879 +86
==========================================
+ Hits 11092 12527 +1435
- Misses 33119 33388 +269 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Eat External.Discord.Get in UserTelnet instead of forwarding it to MUME. MUME does not support External.Discord.Get and responds with a MUME.Client.Error, which MMapper was displaying as a protocol error.
Eat External.Discord.Get in UserTelnet instead of forwarding it to MUME. MUME does not support External.Discord.Get and responds with a MUME.Client.Error, which MMapper was displaying as a protocol error.
Eat External.Discord.Get in UserTelnet instead of forwarding it to MUME. MUME does not support External.Discord.Get and responds with a MUME.Client.Error. In addition, log MUME.Client.Error internally rather than printing it to the user's game text console.
Register External.Discord.Get as a known GMCP message type so that it is correctly recognized and relayed directly to MUME over the proxy.
Register External.Discord.Get as a known GMCP message type so that it is recognized into an enum and passed through directly between the user client and MUME.
Register External.Discord.Get as a known GMCP message type so that it is recognized into an enum and passed directly through between the user client and MUME.
Register External.Discord.Get as a known GMCP message type so that it is recognized into an enum and passed directly through between the user client and MUME. Also log out-of-band MUME.Client.Error messages via qWarning rather than displaying them in the user text stream.
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.
Handle External.Discord.Get messages locally to avoid MUME GMCP errors.
Bug Fixes:
Enhancements:
Tests:
Summary by Sourcery
Prevent External.Discord.Get messages from reaching MUME and causing GMCP errors.
Bug Fixes:
Enhancements:
Tests: