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

add MMCP Development Preview #7155

Draft
wants to merge 110 commits into
base: development
Choose a base branch
from
Draft

Conversation

jmckisson
Copy link

Brief overview of PR changes/additions

Add MMCP Client and Server classes, Lua scriptability, and options for the MudMaster Chat Protocol

Motivation for adding to Mudlet

This is a feature largely requested by players of the Medievia MUD, it allows peer to peer client communication integrated directly into the main console.

Other info (issues closed, discussion etc)

This is a preview as support for MMCP is ultimately desired to be implemented mostly as a Lua package.

@add-deployment-links
Copy link

add-deployment-links bot commented Feb 18, 2024

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.

Copy link
Contributor

github-actions bot commented Feb 18, 2024

Warnings
⚠️ PR makes changes to 19 source files. Double check the scope hasn't gotten out of hand

Generated by 🚫 dangerJS against 0e55b62

@jmckisson jmckisson changed the title MMCP Development Preview add MMCP Development Preview Feb 18, 2024
Copy link
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a change intended to be merged at this point - instead it marks the lines that must be reverted should this PR ever get to be merged into the main development branch. As such ("1 change requested") it should form a blocker on anyone accidentally trying to do that! 😁

Comment on lines +137 to +140
# PLACEMARKER: revert "MMCP" back to "dev" in the next three lines before merging this code into the main development branch:
file(WRITE ${CMAKE_SOURCE_DIR}/src/app-build.txt "-MMCP-${GIT_SHA1}")
message(STATUS "Value written to app-build.txt file: -MMCP-${GIT_SHA1}")
set(APP_BUILD "-MMCP" CACHE STRING "This variable is automatically set during the CMake run and should not be manually altered!" FORCE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# PLACEMARKER: revert "MMCP" back to "dev" in the next three lines before merging this code into the main development branch:
file(WRITE ${CMAKE_SOURCE_DIR}/src/app-build.txt "-MMCP-${GIT_SHA1}")
message(STATUS "Value written to app-build.txt file: -MMCP-${GIT_SHA1}")
set(APP_BUILD "-MMCP" CACHE STRING "This variable is automatically set during the CMake run and should not be manually altered!" FORCE)
file(WRITE ${CMAKE_SOURCE_DIR}/src/app-build.txt "-dev-${GIT_SHA1}")
message(STATUS "Value written to app-build.txt file: -dev-${GIT_SHA1}")
set(APP_BUILD "-dev" CACHE STRING "This variable is automatically set during the CMake run and should not be manually altered!" FORCE)

Comment on lines +140 to +141
# PLACEMARKER: revert "MMCP" back to "dev" before merging this code into the main development branch:
BUILD = "-MMCP-"$${GIT_SHA1}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# PLACEMARKER: revert "MMCP" back to "dev" before merging this code into the main development branch:
BUILD = "-MMCP-"$${GIT_SHA1}
BUILD = "-dev-"$${GIT_SHA1}

@jmckisson
Copy link
Author

jmckisson commented Mar 20, 2024 via email

@jmckisson
Copy link
Author

This latest push includes Medievia specific code to support our installer-free distribution. I probably should have started a new renamed branch, will do that next time.. since the path forward for MMCP to be included will be in Lua eventually

@vadi2
Copy link
Member

vadi2 commented Apr 13, 2024

Right, and getting Medievia listed by default is just a matter of putting together a decent, minimum experience for the players.

@jmckisson
Copy link
Author

Right, and getting Medievia listed by default is just a matter of putting together a decent, minimum experience for the players.

Working on this as well. Current hangups are getting the mapper working and GMCP. I have the mapper mostly working currently however the newbie area is very large with many rooms having the same name so the mapper gets sometimes confused when walking around in a loop and reconnecting the tail end back to an existing mapped room. Editing this to be correct is very tedious.
GMCP is another issue... I have not gotten any acknowledgement from our admin after mentioning it several times. But I will continue to press the issue.

@vadi2
Copy link
Member

vadi2 commented Apr 13, 2024

In the case of same named rooms and same exits, without any identifying information (like a vnum or a hash) one of the ways of getting of getting it fixed would be to go manual and use the visual editor or aliases. It would be very hard for automation to tell one thing apart from the other without outside knowledge.

@jmckisson
Copy link
Author

This is what I've resorted to trying.. always ran into a snag that somehow confused the mapper regarding which room I am in, and I can't seem to recover after that. I'll take a deeper look soon I am currently strung out between several projects sigh

@vadi2
Copy link
Member

vadi2 commented Apr 13, 2024

Also try using clear moves when things are going wrong, because in case you try to move, fail, and you haven't created a trigger to catch the failed move, the mapper's tracking will be knocked off course.

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.

None yet

4 participants