JohnnyStarr
Wizard


Group: Members
Posts: 550
Joined: Feb 14, 2009
|
#1 Posted Jul 17, 2009, 6:58 pm
|
http://www.tbamud.com/content/mud-any-computer
so this guy came out with an AJAX client and its awesome, you can literally use
any browser without having to have telnet, or flash, or open ports etc.
this is ideal for work! but i cant find any info about the guy who made it and
was wondering if anyone knew him? I would love to be able to use his source!
EDIT: Forgot to add the developer is "Shadowen"
|
......................... Current Development: Lunacy (a Lua powered Merc project)
Last edited Jul 17, 2009, 7:02 pm by staryavsky
|
|
elanthis
Wizard

Group: Members
Posts: 761
Joined: Feb 26, 2008
|
#2 Posted Jul 17, 2009, 7:40 pm
|
There are several utilities like this out there. Someone just posted about setting up an AnyTerm-based one just a couple weeks ago.
Essentially, all these utilities do is run a proxy daemon that connects to the MUD and keeps an open connection to it. It then uses regular HTTP/AJAX calls to retrieve and post I/O to this proxy daemon. Using Python or Ruby or the like, whipping together such a daemon is almost trivial. Getting the CSS/JS to display a good terminal using HTML is probably the trickiest part of all, honestly.
I've been toying with a similar idea for a while. A ZMP-enabled proxy could allow for a very intricate client, with all the paper dolls and automappers and so on I could ever want. If the client-side JS is modularized correctly, it would even be possible to slap in network connections via Flash/Silverlight/Java to avoid the overhead of AJAX through a proxy (mostly the cost of the request, response, and possibly reconnect cycles HTTP imposes) or even through a browser-native connection once WebSockets or some variant finally gets into a browser.
|
|
......................... Cutting corners to keep your line count down is just sad.
|
|
JohnnyStarr
Wizard


Group: Members
Posts: 550
Joined: Feb 14, 2009
|
#3 Posted Jul 17, 2009, 9:41 pm
|
elanthis said:There are several utilities like this out there.
any that come to mind? i'm hoping to not have to reinvent the wheel here
|
......................... Current Development: Lunacy (a Lua powered Merc project)
|
|
Cratylus
Wizard


Group: Members
Posts: 1,224
Joined: May 22, 2006
|
#4 Posted Jul 17, 2009, 10:45 pm
|
elanthis said:There are several utilities like this out there. Someone just posted about setting up an AnyTerm-based one just a couple weeks ago.
Yeah: http://dead-souls.net/demo.html
It uses anyterm which is pretty sweet.
The main problem with such a setup is that all your logins can wind up looking like
they come from the same IP, unless you do a fair amount of trickery with server-side
includes and telopts hacking.
Still, it's uber sweet for getting total newcomers to try your game, even if they
can't figure out what the words "telnet" and "client" mean.
-Crat
http://lpmuds.net
|
|
|
elanthis
Wizard

Group: Members
Posts: 761
Joined: Feb 26, 2008
|
#5 Posted Jul 17, 2009, 11:56 pm
|
staryavsky said:elanthis said:There are several utilities like this out there.
any that come to mind? i'm hoping to not have to reinvent the wheel here 
I gave you one in the second sentence. :)
|
|
......................... Cutting corners to keep your line count down is just sad.
|
|
|
|
elanthis
Wizard

Group: Members
Posts: 761
Joined: Feb 26, 2008
|
#7 Posted Jul 18, 2009, 11:23 am
|
AnyTerm does, I believe. It's meant to be a full terminal emulator, allowing admins to get into a system and use any regular sysadmin tool (e.g. vim).
|
|
......................... Cutting corners to keep your line count down is just sad.
|
|
Cratylus
Wizard


Group: Members
Posts: 1,224
Joined: May 22, 2006
|
#8 Posted Jul 18, 2009, 12:12 pm
|
quixadhal said:Now, the question is.... does it support ANSI/VT100 terminal sequences and such? I sense a nice easy way to let people play nethack or conquer remotely. :)
It does. If you log into my test mud using it, you can use uparrow/downarrow for command
recall, and even try out the fullscreen editing system:
help ced
charmode on
ced workroom.c
-Crat
https://dead-souls.net/dsd (you'll need to accept the SSL exception and stuff)
|
Last edited Jul 18, 2009, 12:13 pm by Cratylus
|
|
JohnnyStarr
Wizard


Group: Members
Posts: 550
Joined: Feb 14, 2009
|
#9 Posted Jul 18, 2009, 1:42 pm
|
Hey Crat, i see how you used that on your test-mud. i like it allot.
I have a linux server and was wondering if i needed admin rights to be able to install / run "AnyTerm"? The reason i ask is i do not have that since its a rented server.
|
......................... Current Development: Lunacy (a Lua powered Merc project)
|
|
Cratylus
Wizard


Group: Members
Posts: 1,224
Joined: May 22, 2006
|
#10 Posted Jul 18, 2009, 2:57 pm
|
staryavsky said:Hey Crat, i see how you used that on your test-mud. i like it allot.
I have a linux server and was wondering if i needed admin rights to be able to install / run "AnyTerm"? The reason i ask is i do not have that since its a rented server
Technically you do not need to be root to run and test anyterm.
It's worth playing around with as a user, to get an idea of it.
It can run as an internet-facing daemon.
However, it is mostly intended to be run behind an apache proxying
configuration, and as such, you'd need to have access to your
apache config files, as well as privileges to start/stop it.
Remember to be super careful, and read through all the docs.
Doing it wrong can lead to major security exposure.
-Crat
http://lpmuds.net
|
|
|
JohnnyStarr
Wizard


Group: Members
Posts: 550
Joined: Feb 14, 2009
|
#11 Posted Jul 18, 2009, 3:47 pm
|
thats really cool.
so i do have a web portion of my account, to be honest with you i dont know much about webservers, will i be able to login to my shell and d/l anyterm and just run the daemon?
will i need an extra port?
as it stands i just have the one mud port, but it looks like anyterm runs on its own?
or do i port it to the mudport?
|
......................... Current Development: Lunacy (a Lua powered Merc project)
|
|
Cratylus
Wizard


Group: Members
Posts: 1,224
Joined: May 22, 2006
|
#12 Posted Jul 18, 2009, 3:52 pm
|
staryavsky said:
so i do have a web portion of my account, to be honest with you i dont know much about webservers,
You'll probably want to learn. I suggest downloading vmware and running linux on it at home, so
you can mess around with a webserver as root and understand how it works.
staryavsky said:will i be able to login to my shell and d/l anyterm and just run the daemon?
You need to read the install instructions on the web site for the software.
staryavsky said:will i need an extra port?
Probably. Read the docs.
-Crat
http://lpmuds.net
|
|
|