I was wondering, do any of you know of a template/base out there for a browser based MUD? I don't want to use java or telnet, but rather base it so that people can log on from any browser and play that way.
You can make any codebase into a browser based MUD. One example is http://crackwhip.com which is a tbaMUD that uses an embedded client and seems to frequently change ports simply so people can't connect to it from anything but their browser.
To second Fizban, I think you'd be better off with an embedded client, rather than emulating something like hollowgame.com. Anyway, I took some screenshots:
I didn't like the interface, but then again I'm not used to it. Basically it refreshes the page every time you enter a command or hit the submit button, so to see new stuff you need to refresh the page. It seems to me that an embedded client (on a web page, with an extended GUI around the border) would be more flexible.
An example client for Flash would be Fmud, I can't think of a similar Java client at the moment. Some folks were talking about similar clients over at the Mudconnector using php and Ajax I think, I can't find the exact thread at the moment.
Btw, is there any way to resize images within the img tags? I wanted to downsize the screenshots to embed them here with a link to the fullscreen but couldn't figure it out.
Assuming you don't mind accepting the update latencies, you could code a fairly complete MUD in PHP in a stupidly small amount of time. It's really not complex in the least.
The biggest problem with a pure Web game is that you are forced to deal with high latency in updates, or to deal with relatively high server load due to clients constantly reconnecting every 2 seconds. Each AJAX request will often require a new TCP connection to the server (whether or not HTTP Keep-Alive applies is kind of hit and miss), and getting updates from the server pretty much requires that you keep reconnecting over and over checking for updates.
There are some techniques for avoiding the checking for updates problem (these techniques are sometimes called "COMET") but they're pretty hacky and don't solve the latency issue of sending commands from the client to the server.
Until Web browser have a standard JavaScript bi-directional messaging mechanism (whether they be raw sockets or some specific protocol), you're pretty much forced to rely on Java or Flash or Silverlight to make a usable client. It's worth noting that you only need these for the networking part – you can still develop the entire UI in HTML/CSS/JavaScript.
I was wondering, do any of you know of a template/base out there for a browser based MUD? I don't want to use java or telnet, but rather base it so that people can log on from any browser and play that way.
Any help would be awesome!
Thanks in advance!
Kyndig had one that was written in php, im sure its on this site somewhere.
I was wondering, do any of you know of a template/base out there for a browser based MUD? I don't want to use java or telnet, but rather base it so that people can log on from any browser and play that way.
Any help would be awesome!
Thanks in advance!
Kyndig had one that was written in php, im sure its on this site somewhere.
You're talking about a mud client or an actual codebase? He was asking bout a codebase. Also if you meant client it was on mudmagic.com but it wasn't by any means his client as it was written by Elanthis.
I meant server code written in php, Kyndig had one written for him or did it himself, either way, there is a php framework for making a mud server from somewhere on this site.
I was wondering, do any of you know of a template/base out there for a browser based MUD? I don't want to use java or telnet, but rather base it so that people can log on from any browser and play that way.
Any help would be awesome!
Thanks in advance!