Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Handle sound files in subdirectories #5984

Merged
merged 25 commits into from
Mar 11, 2022
Merged

Fix: Handle sound files in subdirectories #5984

merged 25 commits into from
Mar 11, 2022

Conversation

mpconley
Copy link
Contributor

@mpconley mpconley commented Feb 19, 2022

Brief overview of PR changes/additions

Fix an issue where sound files would not play in sub directories.

Note: This issue was reduced to focus on this error. Another method was determined to use a trigger and the API to achieve MSP without negotiation.

Motivation for adding to Mudlet

User reported.

Other info (issues closed, discussion etc)

Mudlet Discord user Qvazir#2882, a game admin, reported this issue.

@mpconley mpconley requested review from a team as code owners February 19, 2022 15:54
@add-deployment-links
Copy link

add-deployment-links bot commented Feb 19, 2022

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@mudlet-machine-account mudlet-machine-account added this to the 4.16.0 milestone Feb 19, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2022

Messages
✔️

PR type: Improvement

Generated by 🚫 dangerJS against cbb019b

@vadi2
Copy link
Member

vadi2 commented Feb 19, 2022

This is not a great way to go about it - in this case I'd question the request because it's bending the convention, and not in a good way. Do we know why can't the game enable it like all others do?

@mpconley
Copy link
Contributor Author

  • We'd prefer everyone use negotiations for MSP.
  • Qvazir of AndorMUD has periodically reminded me of this request since @vadi2 referred me last month.
  • Andor MUD returned online from a long hiatus. They have MSP embedded in many commands. They are not in a position to negotiate anything. Clients of the past are no longer an alternative.
  • Clients and MUDs do not have to use negotiations for MSP.
  • Per the MSP specification, "If the server does not implement telnet option negotiation, then..."
  • The number of games negotiating with MSP vs. those that are not negotiating with MSP is an unknown.
  • With this pull request, Mudlet finds a way to increase support for the MSP specification without changing much code or highlighting this practice elsewhere prominently.

@SlySven
Copy link
Member

SlySven commented Feb 20, 2022

  • Andor MUD returned online from a long hiatus.

Yeah it went down in 2009 and returned in August last year, see http://www.mudstats.com/World/AndorMUD and it averages 2 players online since then. The last time the listed URL for it's web-site had anything relevant for it was in 2001! https://web.archive.org/web/20010927052030/http://mud.skota.org:80/ - however some digging located it now at https://mud.rootix.se/ which redirects to: https://andormud.se/ .

Though this "Andor" is nothing to do with the country of that name in the Wheel of Time world - or the Disney+ series prequel to the Star Wars "Rogue one" film.

@vadi2
Copy link
Member

vadi2 commented Feb 25, 2022

Expanding the scope of receiveMSP() to also turn protocols on/off is not the right way, but let's work on a solution that will help the game in the end. Is MSP enabled by default in zmud/cmud/mushclient/kmuddy without any telnet negotiation whatsoever?

@mpconley mpconley changed the title Improve: Enable MSP via receiveMSP() Improve: Enable MSP without negotiation Feb 27, 2022
@mpconley
Copy link
Contributor Author

Please review this approach, thanks!

@vadi2
Copy link
Member

vadi2 commented Feb 27, 2022

Still not so hot on this (because this gives ground to other force enable protocol functions, which is not how it should work), interested in the answer on -

Is MSP enabled by default in zmud/cmud/mushclient/kmuddy without any telnet negotiation whatsoever?

@mpconley
Copy link
Contributor Author

mpconley commented Mar 1, 2022

No feedback from Reddit or the Mud Discord on this. Someone thought it was like that in Zmud. I like the change taking it out of receiveMSP(). This helps meet that specification. We could advise best practice in documentation, with this as a work-around to meet the standard for games that support MSP but not negotiation.

@mpconley mpconley changed the title Improve: Enable MSP without negotiation Fix: Handle sound files in subdirectories Mar 3, 2022
@mpconley
Copy link
Contributor Author

mpconley commented Mar 3, 2022

We're going to ask for some help to make the trigger call the new sound APIs as another way to do this. I do need to get a bug fix integrated we discovered along the way that impacts MCMP and MSP where sub-directories are used.

@mpconley mpconley added the bug label Mar 3, 2022
@vadi2 vadi2 enabled auto-merge (squash) March 11, 2022 12:14
@vadi2 vadi2 merged commit e09365b into Mudlet:development Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants