FMud version 0.9 released

FMud is a simple web based Flash mud client.

A running demo, feature list and installation instructions are available on the FMud project page.

Download it here.

Version 0.9

Released on 16th June 2009.

  • Client can again be resized by altering the height and width parameters in the embedding page
  • More improvements to ANSI colour handling, removed bold text
  • Removed embedded font due to Flash Player display bug
  • Font can now be selected from any installed font
  • Added option in preferences to disable the keep last command feature
  • Added new parameters; font, font_size, hide_password, name, pass

See the included README file for an explanation of the new parameters.

I’m still hoping to rewrite some parts of the client for a 1.0 release, time permitting, but hopefully this release should be an improvement in the mean time.


 
 
 
  • matt

    Forgot to add, line breaks should now be sent correctly from the editor window!

  • http://www.d20mud.com/flash-client/FMud.html Steve Squires

    Hey there,

    I installed version 0.9 today and it worked great at first but now it seems to only make connections to your site no matter what I enter as fields… bc-dev.net 4000. Anyone else having this problem and know of a workaround?

  • matt

    Hmm, it’s possible I uploaded the testing version by mistake, I’ll double check!

  • matt

    Yep, sorry about that, 0.91 is the fixed version.

  • http://kingdomsofahln.com Justin

    Changing any colors resets the font.

  • nrhtr

    Just a few questions:
    – When you hit enter with no input it just scrolls the window down a small amount. Is this intentional?
    – Would it be possible to have an extra button for the edit window that sends the contents without closing? It would be handy for making small edits without reopening/pasting. Thanks.

  • http://pokegirls.org Foz

    Found a bug – using a ; causes the line to split into two or more lines, so when you try to do this:

    @dig House=North;n,South;s

    it creates a one way link North, and then tries goes “Huh ?” at the n,South command

    Other than that, it’s superb :D

  • matt

    @Foz, that’s not a bug. Uncheck command stacking in the settings.

  • http://pokegirls.org Foz

    That’s awesomeness!

    Is there a way of setting the defaults first time in?

  • guangming.wan

    Can FMud support change language none En ?

  • Bill

    hmmm. so if we dont have root access to our webserver, we are screwed? Trying to get security policy setup :-)

  • matt

    @Bill You can specify which port to check for the policy file in the embedding parameters. If you serve the policy file on a port > 1024 you shouldn’t need root access. The other alternative is to ask your hosting provider to serve a master policy file which allows all access.

  • Chris

    After going with the perl script (since we have an older version of python), I got the client working, sort of. The client doesn’t work in IE8 (haven’t tried older versions), but works in Firefox. I get a security error in IE8 even in compatibility mode, and I am using the newst version of flash. Please help.

  • matt

    @Chris can you access the demo running on this site? It works fine for me in IE8.

  • Chris

    Yes, your demo does work in IE8. I’m not sure as to the problem, then. When I try to connect, it takes a few seconds, then says “Unable to connect: security error.” I get no connect attempt on the server, yet it works just fine in Firefox, like I posted before.

  • http://www.turkmud.org Ozi

    Dear Matt,
    This is an awsome work! :) Is it also possible for us to edit or develop fmud? i downloaded adobe flex builder 3 tried to have a look in but nope..eh.. if not, is it possible for you to add a full screen button to FMud? I’d really appreciate that..
    Thank you & Best Regards

  • Bill

    Hi Matt!

    Love fMud. Can I get the output to to extend more than 80 characters? Is that a mud server setting, or your client setting?

    Thank you for releasing this!

  • Bill

    ok – I should of looked around more before asking this. I understand now what I need is the right default font. Andale Mono works well, but what is a really common font that is truly monospaced? This issue is:

    [repeat(=,90)]

    looks very different than

    [repeat(-,90)]

    Thank you!

  • http://www.genesismud.org Roman

    Dear Matt,

    For some reason we’re getting all the commands echoed back as asterisks as if they’re passwords.

    It happened:
    in FF3.6/Ubuntu
    in FF3.6/Windows
    in IE8/Windows

    Any ideas?
    Thanks,
    Roman

  • matt

    @Roman
    The client turns the asterisks on and off in response to WILL ECHO and WONT ECHO from the server so I guess you’re not sending WONT ECHO after the password is entered.

    If you email me the sequence your server sends/expects for handling passwords I can look at incorporating it in the client.

    In the mean time use the hide_password paramater to disable it (see the README for details).

  • http://www.genesismud.org Roman

    Dear Matt,

    I asked our Gamedriver team to provide the sequences. However when I tried to set hide_password to 0, the asterisks remained.

    Only the commands of the initial connection, until the password prompt are echoed correctly.

    Thanks again for your time,
    Roman.

  • http://www.genesismud.org Roman

    Addition:

    Our gamedriver sends the options
    RCVD IAC GA
    with each output stream.

    RCVD WILL ECHO
    SENT DO ECHO
    RCVD IAC GA
    for password

    RCVD WONT ECHO
    SENT DONT ECHO
    RCVD IAC GA
    after password

    RCVD IAC GA
    afterwards at any output sent
    R.

  • matt

    I think I see what the problem is, I’ll put out a new version with a fix soon.

  • http://www.genesismud.org Roman

    Any news? :)

  • http://www.turkmud.org Ozi

    Hi Matt,
    I need a button that will make the fmud window full screen as in farmville. Add it please on next version :..(

  • http://mudconnector Jake

    I’m using FMud on TMC and it is very nice. I’m having a difficult time because my aliases, etc aren’t being saved. I noticed it is possible to load a file (looks to be .txt), but I’m not sure what the format would look like for triggers, aliases or macros in the file. A sample file with an example or two of each would make the client much easier to use.
    Thanks!

  • matt

    @Jake
    You need Flash Player version 10 to save and load your settings.

  • Sam

    Hello Matt,

    I’ve got it working, I’m able to use it to connect, my server has the following when someone attempt to connect via it:

    “Connection from XXXXXX
    Valid request received from XXXXXX
    Sent policy file to XXXXXX”

    Then on the client you get the following:

    “Trying to connect to XXXXXX
    Unable to connect: security error.”

    What have I done wrong?

  • matt

    @Sam
    A security error means that the client doesn’t have permission to make a socket connection to the host. If the client is receiving the policy file ok it sounds like the policy file itself is not granting the correct permissions.
    1. What is the url of the webpage you have the client?
    2. What is your policy file?

  • Sam

    Please delete the above.

  • http://www.shadowlandsmud.com Nox

    Hey there,

    I am also having the “Unable to connect: security error” issue. I can see it attempting to connect from the MUD, but it never actually completes the connection.

    I have set the port for the policy to the same one as the MUD (above 1024) and other ports, but it’s still not working.

    Do I need to input a command from in the shell? If I have my shell and my website on different clusters, do I need to put the policy in one place and the rest of it on the website?

    I’m not sure what to do here.

    http://www.shadowlandsmud.com/FMud2.html

  • http://muds.dyndns.org David

    From the browser:
    Trying to connect to muds.dyndns.org:9000
    Unable to connect: security error.

    From the FMud log:
    Listening on port 843

    Connection from ::ffff:76.119.99.238:58936
    Valid request received from ::ffff:76.119.99.238:58936
    Sent policy file to ::ffff:76.119.99.238:58936

    That’s when I launched directly when clicking on the FMud.html file. For some reasons I cannot get it to work within Apache. This is my httpd.conf output:
    Alias /fmud “/home/mud/FMud/”

    AllowOverride All
    Options Indexes FollowSymLinks MultiViews ExecCGI
    Order allow,deny
    Allow from all

    Can anyone show me some lights here? What am I missing?

    Thanks,

    -David

  • http://muds.dyndns.org David

    Forgot to output my flashpolicy.xml

    root@ubuntu:/home/mud/FMud# cat flashpolicy.xml


  • http://muds.dyndns.org David

    site-control permitted-cross-domain-policies=”master-only”

    allow-access-from domain=”muds.dyndns.org” to-ports=”9000″

  • Night1Candi

    Hello,
    I am not sure how to change policy files. I was using FMud from mudconnect.com to access Shadowrun – Denver, but then it suddenly quit working after a while and gave the same security error that others have stated they experienced. Can you help me, step by step, on a way to allow me to use FMud? The computer I am using right now uses Windows Vista. Thank you!

  • http://bc-dev.net Matt

    @Night1Candi

    I’m not sure I can help with the client on mudconnect.com as any problems are going to be at their end. Perhaps try contacting Andy at TMC directly?

  • http://www.ackmud.net Kline

    Hello,

    Is FMud sending multiple newlines on connection to a game, or is it just a problem I am experiencing local to a game I play?

    Please see here: http://sh.ackmud.net

    It appears two newlines are sent immediately after connect; and this has occurred across different host machines, too.

    • http://bc-dev.net Matt

      @Kline
      That page is down for me so I can’t check, but if you’re specifying name and pass parameters in the embedding page then FMud will send these to the mud on connection and that would explain two newlines. They are in the example html page that comes with FMud but if you’re not using that functionality you should remove the parameters.

  • http://www.ackmud.net Kline

    Seems it went down due to a large HE.net link outage earlier; but those params are the issue it seems as I see them in the HTML source on the page. I let the owner know, thanks!

    Also, would you know if it is FMud or Flash in general that is so pedantic about accepting policy files?

    FMud would not connect using the policy file served from that same server (sh.ackmud.net:843) when it contained a single blank newline at the end. Removing the newline solved the issue but I wasn’t sure if it was a FMud problem or a larger Flash problem.

  • http://bc-dev.net Matt

    It’s nothing to do with FMud. All the processing of the policy file happens by magic inside the Flash player itself. The only thing the client does is pass the url and port where the file is served.

  • http://www.yhhero.com tokyfeng

    hi,Matt, your FMUD can not support CHINESE(maybe Unicode),can you help me??

  • http://apps.facebook.com/ageofdragonsmud/ Steve

    Hey all,

    I too am having the security error. I have noticed the following behavior:
    -I set up FMud according to the instructions, using 843 as the port (I have root)
    -I set up a script to see if FMud is running, and if not to run it, and added a cron job to run this script
    -FMud works fine, happy days
    -I log out of the shell and close my putty window… FMud stops working
    -No further attempts will get FMud to work, I always get a security error
    - I change the port to 4444, FMud works again, until I log out of shell.
    - Now no attempts will get FMud to work on either 843 or 4444

    So it seems there is some kind of log or something that I can’t find that is preventing it from working on a port it has already run on.

    I am thinking that I could set up some kind of hack to delete this log before I run the startup script on server reboot, but I am not sure if this would work.

    Can anyone who has sucessfully gotten FMud to work please help out?

    Thanks so much,

    Steve

  • http://bc-dev.net Matt

    @Steve

    When you’re talking about having FMud running on port 843 I assume you mean the socket policy file?

    Security errors are almost always because either the policy file is not accessible (not being served, firewall blocking it) or the policy file itself is incorrect (wrong domain, syntax error, existing master, etc.)

    If it works until you log out of the shell make sure you are using nohup (or similar) when starting the policy file server script.

  • http://apps.facebook.com/ageofdragonsmud/ Steve

    Thanks so much Matt for the quick response.

    I did actually get it working. The problem was that I had set up a crontab as well with a different shell user than root, which was firing first, and of course the policy didn’t have permissions to run correctly.

    I did notice that the client wouldn’t work running off of cron until I logged on as root, and then even after I logged off it would work. I will try the nohup.

    So… note to others who might have troubles: It appears that you need to either run the flashpolicyd.py file as root or another user that has superuser privelidges. In other words, chances are you can’t get this to work if you are running on shared hosting, only if you have your own VPS or dedicated server. Correct mne if I’m wrong in that Matt.

    Thanks again Matt.

    Steve

  • http://bbs.xymud.com ivy

    不支持中文啊,郁闷。
    Fmud does not support Chinese.