MUD Defined Fullscreen Mode

Posted by Panaku on Sat 02 Mar 2013 08:30 AM — 8 posts, 38,398 views.

#0
Not really sure how to completely describe the problem so I'll just do what I can and hope we can fix it.

In the mud I play (Blood Dusk: mud.dusk.org port 7000) there is a configuration option called "Fullscreen" which is described as "Use VT-100 codes to split screen" if it is enabled.

What this does in telnet, putty, and at least zMUD is it takes my prompt (which displays my combat information, health and what not) and gives it a static location at the very bottom and just updates it as new information comes into play like taking damage.

If Fullscreen is off a new prompt is displayed every after every bit of output or input just as it does in MUSH.

The problem is when I turn on fullscreen in MUSH, instead of making the static prompt that updates as new information comes, it removes the prompt completely and only provides one when certain information shows up. And in some cases places multiple ones in a line which creates a lot of spam and causes the output to look rather bad.

So! Do we think there is anyway to fix this problem and get it so that I can use Fullscreen mode?
Germany #1
MUSHclient doesn't support VT100, for a number of reasons - see here: http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1268

Having said that, it's relatively easy to create or adapt a plugin to display proper graphical energy bars, and VT100 is so crude by comparison that I doubt many people would use it given a choice between the two options.
Australia Forum Administrator #2
If all their full-screen mode does is update a prompt, you could make a plugin that detects the prompt and redirects it to a miniwindow at the bottom of the screen.

Or for that matter, even without their full-screen mode it is simple enough to detect a certain sort of line and display it elsewhere.

For example, here:

http://www.gammon.com.au/forum/?id=9626
#3
Alright then, I'll check out the links from you guys and try my hand at creating a plugin to simulate the mode. I might be back asking for help though!
#4
Alright so I'm working on developing a plugin that will simulate fullscreen mode for MUSHclient for my mud. I have managed to create a MiniWindow which displays the prompt's information, I then omitted all prompt's from output and set it up so that the MiniWindow prompt updates perfectly on time as opposed to a line late because of a messing \n.

There are two final steps left to this project of mine, having the prompt update automatically and coloring my MiniWindow prompt to match the normal prompt as opposed to having it a single color.

I've tried using a blank timer and a timer with a pointless command to be sent every second with omit from output on, a trigger then catches what the game returns and omits that as well but this didn't work. I got it working with DeleteLines(2) on send-to-script-after-omit but it caused a horrible flicker. The main reason I want the auto-update is that in normal fullscreen mode as I heal my prompt is updated with the new information without me having to walk or enter in any other commands.

Changing the colors are going to be an issue because as numbers displayed on the prompt change they change color.

So, any suggestions on where to start?
Australia Forum Administrator #5
Template:faq=23
Please read the MUSHclient FAQ - point 23.


That shows the general idea of pulling in colours from the matching line.

As for the omitting, I didn't quite get that bit.

There is a plugin around that adds newlines to prompts, if you can't get the MUD to do that. eg.

Template:faq=11
Please read the MUSHclient FAQ - point 11.


#6
When playing in telnet with the native Fullscreen Mode ON
If I am out of combat and start healing from damage my prompt will automatically update with the new health displayed.

This update doesn't happen unless Fullscreen is ON so I attempted to make a timer that fires every second, I don't want to see this timer though as it's point is to just update the prompt once a second so that I can see healing -- so I have it set to omit everything the timer does. The timer was providing a blank line every second though even with omit ON so I switched to using DeleteLines which worked but caused a lot of flicker as the client is deleting two lines every second.

I think I found a way to get it the auto-update on healing working though, if I enable Fullscreen Mode and continue and modify my current triggers I don't see the spam of prompts mushclient normally gets from the VT-100 codes which is great, my MiniWindow is however blocking the very last line of information the MUD output's. I understand TextRectangle can be used to fix this buy creating a buffer at the bottom -- but I couldn't figure out how to use TextRectangle.

I hope that made it a bit more clear and I'll look into the color information now.
Germany #7
Quote:
The main reason I want the auto-update is that in normal fullscreen mode as I heal my prompt is updated with the new information without me having to walk or enter in any other commands.

That sort of thing is a pain to do in-band, particularly with such frequent updates. If you could convince the owner of Blood Dusk to add support for one of the out-of-band mud protocols, you'd find it much easier.

Perhaps point him to this thread: http://www.topmudsites.com/forums/mud-coding/6418-gui-snippet.html

Can't hurt to ask.