Author
Topic: Mudlet Graphical Prompt (Read 3644 times)

Updated 2018-09-20: Updated to fix images under Windows and use an empty line instead of the prompt to end inventory/equipment capture.

I've been tinkering with Mudlet for a bit and got this prompt bar up. I'm planning on writing a mapping script to go along with it (some day) and to (potentially!) combine the two into a profile resembling a GUI for Mudlet.

Installing it should be fairly straightforward besides the font and the background colors.

lua function d(a,b)if not b:find("arm_gui",1,true)then return end installPackage(b)os.remove(b)cecho("<lime_green>Package installed!\n")end registerAnonymousEventHandler("sysDownloadDone","d")downloadFile(getMudletHomeDir().."/arm_gui.zip","https://raw.githubusercontent.com/azuriolinist/armageddon-mudlet/master/arm_gui.zip")Alternatively, if that doesn't work, use the links below to download the package. Open Mudlet and navigate to the Package Manager (this is also found under Toolbox > Package manager).

Press Install and select the downloaded .zip file.

Setting the promptIn game, you will have to set your prompt to %h/%H|%v/%V|%t/%T|%m/%M|%A|%w|%S|%a|%o|%d|%e|%E|%p|%P|%O|%n>. The alias setprompt does this for you.

Setting the background colorBecause Mudlet does not (AFAIK) support setting the background color through a script, you will have to set it yourself through the preferences. Otherwise, you're left with a weird brown outline around the main console and behind the prompt!

In the Profile preferences window, open the tab Color view and change the background colors (Background, Command line background, and Command background) to #16130F.

Alternatively, you can keep the background black. Modify arm_prompt.xml within the zip file and change the line setBorderColor(22,19,15) to setBorderColor(0,0,0).

Huh, it must have saved the border setting. Open up Preferences and click on the Main display tab. You can set the size of the Display border through there (so you probably want Border bottom height at 0).

Hmm, I installed it using the package manager, Maybe thats what it is the catch promt trigger. Yeah Version 3.0. I installed my old one back, but I wanted to check yours out. I will try again and check the Catch trigger.

Everything works, but the prompt is WAY too small. I got a keyboard just now for my Surface Pro.

Awesome! Mind showing how it looks on your screen (during startup, so no one sees any sekrit details)? I was hoping to make the prompt info easy to absorb, but not take too much attention from the MUD's text on the main window.

Everything works, but the prompt is WAY too small. I got a keyboard just now for my Surface Pro.

Awesome! Mind showing how it looks on your screen (during startup, so no one sees any sekrit details)? I was hoping to make the prompt info easy to absorb, but not take too much attention from the MUD's text on the main window.

I had a beloved character lose connection on his final march to the arena. So I was stored by the staff.

Before I discovered it was my child playing with one of our routers I uninstalled mush client and bought a keyboard for my surface pro 3 tablet. This solved my travel problem but created a mudlet problem.

Surface pro 3 and mudlet are not friends. Every thing is out of proportion. QuickBooks too among other programs that don't scale to different resolutions well.

I tried changing the resolution, but nothing works. I can't even make alias triggers or gags because the font and box sizes aren't proportional.

For example "name" for alias tool says "ame" because the box is so squished. Don't yet know how to do screenshots on surface pro. My keyboard doesn't have a print screen button.

I have been meaning to add a couple more things. I haven't been able to figure out the mapper, though. One of these days, I'll strap myself down to it.

Putting in an auto-updating inventory and equipment list proved to be really hack-y. I tried having Mudlet send "i" and "eq" to the MUD every time the prompt showed up. Kept running into the risk of it becoming an endless loop of "i"s and "eq"s, what with the prompt showing up after the inventory/equipment list.

Went with timers, instead, and manually updating the inventory/equipment list by typing in the commands. Also, I changed the look to incorporate more graphics. The color of the time of day now adjusts according to said time, while the weight bar also adjusts depending on how heavy it is. I was jealous of RiftTalon's MUSHClient set-up. Sue me!

Feedback's always appreciated. You can download the package here. Same instructions as those in the OP to set it up.