January 2nd, 2025
GMCP Implemented!

GMCP Implemented

From Kymbahl,

We've enabled GMCP (Generic MUD Communication Protocol) in Medievia! This is a behind the scenes change that allows modern MUD clients to receive certain information automatically from the game without the need for writing triggers.

What this means:
Players who have GMCP enabled in Mudlet (Settings->General->Game protocols box, "Enable GMCP") will start receiving character vitals and room information. To see what information we're providing, you can type 'lua gmcp' which will present to you an array of data that you may immediately use in scripts.

For example, the gmcp.Char.Vitals array contains basic character vitals such as current and max hp, mana, movement, and breath.
You can type 'lua gmcp.Char.Vitals' to display just that table.

Char.Vitals variables:
  • gmcp.Char.Vitals.hp
  • gmcp.Char.Vitals.maxHp
  • gmcp.Char.Vitals.mana
  • gmcp.Char.Vitals.maxMana
  • gmcp.Char.Vitals.mv
  • gmcp.Char.Vitals.maxMv
  • gmcp.Char.Vitals.br
You will be provided a full set of these vitals upon login, and partial sets of only the changed values when you receive a prompt. Each minute you will also receive another full set (unless none have changed).

The gmcp.Room.Info array contains your current room name as well as exits that are visible to you. As with the Char.Vitals array you can type 'lua gmcp.Room.Info' to see only the room information.

Room.Info variables:
  • gmcp.Room.Info.name
  • gmcp.Room.Info.exits -- This is an array containing visible exit directions and room names.
The Discord Rich Presence module has also been enabled, allowing you to opt-in to have Discord say "Playing Medievia" instead of simply "Playing Mudlet". This needs to be enabled in both Mudlet (on the Connect dialog for your profile, Options tab, click Discord) and additional options are in Mudlet Settings in the Chat tab. You will also need to enable this option in Discord, click "User Settings" cogwheel at the bottom left of your window, scroll down to Activity Privacy, and enable or disable the option for "Share your detected activities with others" as you prefer.

Please refer to the in-game HELP GMCP for additional information.

Now for the Beta Testing!
We have updated the MedUI to use GMCP for the gauges. If you would like to help test this new version follow these steps:
  1. It is recommended to duplicate your current profile so nothing gets overwritten.
  2. Uninstall the current MedUI if you have been using it (Click Packages in the top toolbar, select MedUI, click "Remove package")
  3. In Mudlet Settings->General, enable "Allow server to install script packages" checkbox. "Enable GMCP" must also be enabled for this to work.
  4. Type 'kymbahl medui' in game
  5. You should now be presented with a Medievia graphic and options for MedUI.
  6. Read HELP MEDUI for additional help.
Please send any comments or feedback to Kymbahl via telepath, mudmail or on Discord!

-Kymbahl


Copyright © 1992-2025 Medievia.com, Inc.
All Rights Reserved.
For more information contact: Webmistress: Soleil