sendGMCP([[Core.Supports.Add ["IRE.Target 1"] ]]) sendGMCP([[Core.Supports.Add ["Comm.Channel 1"] ]])The script itself which drives everything is:
local EMCO = require("MDK-1.EMCO") emcoContainer = emcoContainer or Adjustable.Container:new({name = "EMCOCon"}) chatEMCO = EMCO:new({ name = "Chatbox", x = 0, y = 0, height = "100%", width = "100%", consoles = { "All", "CT", "CGT", "Tells", "Misc", "Map" }, allTab = true, allTabName = "All", mapTab = true, mapTabName = "Map", blankLine = true, blink = true, timestamp = true, fontSize = 12, commandLine = true, cmdActions = { CT = "ct |t", CGT = function(txt) send("cgt " .. txt) end, }, backgroundImages = { CT = { image = "/home/demonnic/Pictures/i-am-the-mud-client-now.png", --edit for your own image mode = "center" } } }, emcoContainer) local function chatCapture() local info = gmcp.Comm.Channel.Text if info.channel:starts("tell ") then info.channel = "Tells" elseif not table.contains(chatEMCO.consoles, info.channel:upper()) then debugc("GMCP channel that isn't in console list: " .. info.channel) info.channel = "Misc" else info.channel = info.channel:upper() end local txt = ansi2decho(info.text) chatEMCO:decho(info.channel,txt) end if chatCaptureEventID then killAnonymousEventHandler(chatCaptureEventID) end chatCaptureEventID = registerAnonymousEventHandler("gmcp.Comm.Channel.Text", chatCapture)
(Ironhart Collective): Ashira says, "I'm pretty much the only dwarf around these days..."
(Ironhart Collective): Jolanthe says, "You might say that racial demographic is quite... dwarved by the others."
(Ironhart Collective): Celaphaeia says, "I would like a new alliance, please."
(Ironhart Collective): Eritheyl says, "Targeting Jolanthe."
(Ironhart Collective): You say, "No targeting Jolanthe!"
(Ironhart Collective): Llani says, "They always seem to come up short."
(Ironhart Collective): You say, "...Nn."
(Ironhart Collective): Lysandus says, "Oh boy."
(Ironhart Collective): Sutekh says, "Celaphaeia prefers the *new* clan...goru, it seems."
Gurashi,
Who you are friends with, especially a contemptible bug one is not my
concern or really worth the dirt on my boot as a reason for entry.
That said, your request seems harmless enough. Your access within the
borders of the Engine of Transformation is granted for 15 months with a
few basic stipulations. Keep your buggy buffoonery away from the
Megalith of Doom or other public spaces. There is to be no gnawing on or
otherwise disturbing city property. Beyond that, common sense applies to
respect from a visitor.
-- Kalas @Zagreus, Minister of Security
This release has been a long time coming, thanks to the vagaries of obtaining a new code signing certificate for our Windows builds. Consequently there are a lot of changes which made it into Mudlet 4.10. Let’s go over some of the highlights!
To turn on a commandline in a miniconsole, see here. To create a stand-alone, free floating command line, see here.
You know what else you’ve been waiting and asking for? Background images on miniconsoles! Edru has been on a roll!
This also means that the usual c/d/heho color formatting functions now accept transparency as a parameter. See here on how to set a background image.
This also means that you can try setting a background image for the main window as well – but you might find that games often hardcode the black background, so it’s not ideal.
Have you been struggling to get your Geyser elements lined up just right and wished you could nudge it over just a few pixels? Been avoiding Geyser and using another option so you could have math in your constraints? Well, now you can use Geyser and receive all of its updates and use math in your constraints.
This means for example if you have a 32×32 label you want to center you can do so by using Label1:move(“50%-16px“,“50%+10px“), or using “50%-16px” for both the x and y when making the label.
Geyser.Label also allows you to use “nocolor” as the text color, which will then allow for coloring the text via CSS. It also picked up the Geyser.Label:rawEcho(txt) function, which skips over all the formatting assistance normally provided by Geyser.Label:echo().
Geyser.MiniConsole gains Geyser.MiniConsole:display() which works just like regular display(), but outputs in the miniconsole instead of your main display.
Game admins will be happy about this feature – it is now possible to automatically set Mudlet’s text encoding – for example, to be utf8 in case your game supports emojis – using the CHARSET protocol. Big thanks to Tamarindo from StickMUD for pulling that one in.
Tamarindo also went ahead and added sound/music support to Mudlet’s MXP implementation. That said, there’s a much more modern Mud Client Media Protocol that you should aim to use
Apple will stop supporting 10.13 High Sierra in November 2020, and Mudlet will have to follow suit. Thus Mudlet 4.10 will be the last version to support 10.13, which had a good run of 3 years!
Thanks to all coders that have contributed to this massive release: Andre Castellanos, Damian Monogue, Eraene, Fae, Gustavo Sousa, Ian Adkins, Jonathan Mohrbacher, Kebap, keneanung, Manuel Wegmann, Matthias Urlichs, Mike Conley, Stack, Stephen Lyons, and Vadim Peretokin.
Thanks to all translators to translated Mudlet into their language: Alan Sneath (alsneath), Anubisa, emeraldboy, Hsin Hsiang Peng (Hsins), Kae (itsTheFae), Leris, Marco “M0lid3us” Tironi (wiploo), rodeos, rodeos, Vadim Peretokin (vperetokin), vingi, and 王AQ (Anselmus).
This massive piece of work would not be possible without all of you
added:
added & improved functions:
improved:
fixed:
infrastructure:
So, the things that I tried to finish last week got finished; however, other things took their place (and the looming threat of an examination at the end of the month awaits me too). This isn't to say I am gone, but my presence is far more piecemeal than it has been!Terentia said:I am a little behind on things out of game, so I am a bit sparse this week. Hopefully getting everything in order soon!