Mushclient Questions

by Esano

Back to Mechanic's Corner.

Rika2009-01-09 22:03:00
Weird.. I couldn't get it to work. I'll work on it a bit more.
Isuka2009-01-10 09:25:00
Ok, new question.

I'm having a serious issue with text rendering in MUSH. I've tried several possible settings of fonts and font sizes, but regularly have an issue with two things.

First: the MAP renders horribly (see image below).


Second: The text doesn't seem like it's being properly spaced period. After trying to read the text for a while, my eyes start to seriously hurt... and I've been working with computers for years, never had such a problem before.

The best that I can figure, it is not a problem with the font itself, but rather MUSH is not properly gauging font metrics and incorrectly padding characters. I don't know what setting would cause this to happen, and I could obviously be wrong.

Anyone have a solution, or at least know what the problem is? I've tried with every fixed-width font that I know about, but I obviously don't know about all of them. That particular font is Courier New at 10pt.

For as much as I love MUSH so far, this is a problem that could end my usage of it.
Unknown2009-01-10 12:35:06
I see no image. Honestly, though, I'd say that there's something different in your OS settings or something obscure in your MUSHclient installation because I (and I think many others) have no problem at all with the fonts or rendering of things like the map.
Unknown2009-01-10 15:04:00
I don't see an image, but for the MAP problem, try using a font like Courier New. It'll align nicely. smile.gif
Unknown2009-01-10 17:08:13
QUOTE (Alacardael! @ Jan 10 2009, 10:04 AM) <{POST_SNAPBACK}>
I don't see an image, but for the MAP problem, try using a font like Courier New. It'll align nicely. smile.gif


You must've tl;dr'd because Isuka is using Courier New 10pt there.
Isuka2009-01-10 21:21:15
QUOTE (Zarquan @ Jan 10 2009, 04:35 AM) <{POST_SNAPBACK}>
I see no image. Honestly, though, I'd say that there's something different in your OS settings or something obscure in your MUSHclient installation because I (and I think many others) have no problem at all with the fonts or rendering of things like the map.


... That's really odd... the image was there last night when I posted it....

try this: Map link.
Unknown2009-01-10 21:57:02
It looks fuzzy, sorta glowing. The room southwest of you is collapsed or something? Weird. Anyway, do you have any sort of anti-aliasing, font smoothing, ClearType, or other option enabled, either for your OS or for MUSHclient?
Enero2009-01-10 22:02:41
Not really a question regarding something specific, but I was wondering if I could find a kind soul who could help me with some Lua and MUSH skills, learning it -my way-. That would basically involve finding the right syntax/thingy to make MUSH do something that I had in cMUD and generally look at some examples that has something to do with Lusternia, otherwise it just boggles me mind when I need to learn how to do something for lusty and the example has nothing to do with muds/curing what so ever...
Lua might as well be as intuitive as people claim but my last attempt to find MUSH'es alternative to c/zMUDS #CW/%ansi ended with MUSH help files griefing me for some 45 minutes and making me spend about as much on MUSH forums without really getting a clue (well, I sort of did find it after all).

In case anyone feels like helping out, I thank ye! smile.gif
Isuka2009-01-10 22:07:37
QUOTE (Zarquan @ Jan 10 2009, 01:57 PM) <{POST_SNAPBACK}>
It looks fuzzy, sorta glowing. The room southwest of you is collapsed or something? Weird. Anyway, do you have any sort of anti-aliasing, font smoothing, ClearType, or other option enabled, either for your OS or for MUSHclient?


I don't believe so, as far as my OS goes. I'm running Vista home premium, and don't have an issue with any other application.

For MUSH, I haven't played with most of the settings, other than font and font size. For reference, when I open CMUD with the exact same size and font, it looks as it's supposed to.

Also, look at the orientation of the slashes (diagonal exits). They're all off from where they're supposed to be, and the right side of the picture shows three back-slashes that are supposed to form a solid line, staggered.
Unknown2009-01-10 22:21:27
QUOTE (Enero @ Jan 10 2009, 05:02 PM) <{POST_SNAPBACK}>
Not really a question regarding something specific, but I was wondering if I could find a kind soul who could help me with some Lua and MUSH skills, learning it -my way-. That would basically involve finding the right syntax/thingy to make MUSH do something that I had in cMUD and generally look at some examples that has something to do with Lusternia, otherwise it just boggles me mind when I need to learn how to do something for lusty and the example has nothing to do with muds/curing what so ever...
Lua might as well be as intuitive as people claim but my last attempt to find MUSH'es alternative to c/zMUDS #CW/%ansi ended with MUSH help files griefing me for some 45 minutes and making me spend about as much on MUSH forums without really getting a clue (well, I sort of did find it after all).

In case anyone feels like helping out, I thank ye! smile.gif


If you post specific things you want to convert from CMUD to MUSHclient, I'll give you all the pointers I can on how to get it done. For example, when you want to change the text or colors on a line, your best bet is to make a trigger does sends to "Script (after omit)" and then use the ColourNote function to echo your own text in your own colors.


QUOTE (Isuka @ Jan 10 2009, 05:07 PM) <{POST_SNAPBACK}>
Also, look at the orientation of the slashes (diagonal exits). They're all off from where they're supposed to be, and the right side of the picture shows three back-slashes that are supposed to form a solid line, staggered.


Slashes and backslashes almost never form a straight line when laid out like that. They're staggered in my Lucida Console 9pt, too, and they look fine to me.
Everiine2009-01-10 23:05:33
I've never seen the map where the diagonal lines form a solid straight line. I use Zarquan's font, and the map looks pretty good until you get into some messed up places tongue.gif. But that's more Lusternia's fault, as the map is made by them.
Isuka2009-01-10 23:09:43
All right, for the record: I've got this working properly now. I set my font to Courier, 10pt. and disabled bold. It now looks like i think is should, and the map looks perfect.
Unknown2009-01-11 18:10:21
What is the difference between VBScript and Lua? I'm in the midst of reading the tutorials you linked, and while helpful, those that I've read so far seem to be rather...generic. Still, I'm hoping I might be able to understand better as I read more. (EDIT: I don't learn coding/computing, so if possible, in more layman's terms? If not possible, then say so smile.gif )

And where is the test function? I remember using it liberally when making my debating scripts, but now I forgot where it is, and can't seem to find it. huh.gif
Unknown2009-01-11 20:26:47
QUOTE (Caerulo @ Jan 11 2009, 01:10 PM) <{POST_SNAPBACK}>
What is the difference between VBScript and Lua? I'm in the midst of reading the tutorials you linked, and while helpful, those that I've read so far seem to be rather...generic. Still, I'm hoping I might be able to understand better as I read more. (EDIT: I don't learn coding/computing, so if possible, in more layman's terms? If not possible, then say so smile.gif )


VBScript is familiar to a lot of people who may have learned how to code real VB apps or who work on web sites with some client-side VBScript code embedded in the pages. Its syntax and functionality is fairly simple but not always the best. It used to be the default language selection in MUSHclient (before Lua was an option).

Lua is built from the ground up to be embedded in other applications directly, as opposed to an external engine that gets loaded at run-time. It's relatively lightweight and very fast. It uses lookup tables (think of it as an organized filing cabinet sort of system) that work very well in building scripts that make sense. You can very easily group things together and retrieve them in a simple way.

The tutorials I've had time to post so far are meant to be the most basic things, yes. There are many who are unsure how to even get started with MUSHclient, so that's where I began the explanation. I plan to eventually get around to the more advanced topics.


QUOTE (Caerulo @ Jan 11 2009, 01:10 PM) <{POST_SNAPBACK}>
And where is the test function? I remember using it liberally when making my debating scripts, but now I forgot where it is, and can't seem to find it. huh.gif


On the Game menu, you'll find the Test Trigger option (Shift+Ctrl+F12), or you can use the Simulate function to test the firing of your triggers. With Lua on the command-line, you can even do multi-line trigger simulations using square brackets instead of the parentheses (to allow newlines to be part of the string parameter). Use Ctrl-Enter to add a line without sending the command.

CODE
/Simulate]
Unknown2009-01-13 21:56:05
Would anyone happen to know why my mushclient keeps closing the connection?

I'll be logged on for anywhere between 10 seconds and four minutes and I get a pop up that says The "treant" server has closed the connection
Unknown2009-01-13 22:32:36
QUOTE (Kidchex @ Jan 13 2009, 04:56 PM) <{POST_SNAPBACK}>
Would anyone happen to know why my mushclient keeps closing the connection?

I'll be logged on for anywhere between 10 seconds and four minutes and I get a pop up that says The "treant" server has closed the connection

Sounds like a connection issue to me.
Yamiki2009-01-14 01:38:31
I have a question about Mush Client, How can I make a trigger group? I'm trying to enable a group, so that I'm able to that classified group but I don't know how to make a trigger group? anyone help plz?
Esano2009-01-14 01:54:56
If you're using the trigger dialog (boxes and such), there's an option near the bottom labelled Group: . Put your group name in there. Every trigger with the group name is part of that group.

If you're writing them in xml, it's
group="insert_name_here"
in each trigger.
Yamiki2009-01-14 02:33:10
ok I did do that, but then when I try to enable the group, by doing "world.EnableGroup "groupname", 1" it doesn't work?
Unknown2009-01-14 03:43:30
QUOTE (Yamiki @ Jan 13 2009, 09:33 PM) <{POST_SNAPBACK}>
ok I did do that, but then when I try to enable the group, by doing "world.EnableGroup "groupname", 1" it doesn't work?


Does your world actually use VBScript? Or are you trying to use VBScript when it should be Lua?