February 2007
- [Design] Personal virtual worlds Lachek Butalek
- [Design] Personal virtual worlds Mike Rozak
- Old MUD-Dev mailing list archives Nick Koranda
- Old MUD-Dev mailing list archives Raph Koster
- [ALL PLEASE READ - FROM MODERATOR] Nick Koranda
- [Design] Avoiding the uncanny valley: cartoons and animals Mike Rozak
- stock market mechanisms in muds Johnicholas Hines
- stock market mechanisms in muds John Buehler
- stock market mechanisms in muds Acius
- stock market mechanisms in muds Daniel James
- stock market mechanisms in muds Matt Chatterley
- stock market mechanisms in muds Johnicholas Hines
- stock market mechanisms in muds Chapman, Greg
- Imaginary Realities mirror Richard Tew
- Imaginary Realities mirror Michael Hartman
- Old MUD-Dev mailing list archives Peter Harkins
- [DESIGN] AJAX Client/Servers? Phillip Lenhardt
- [DESIGN] AJAX Client/Servers? Morris Cox
- [DESIGN] AJAX Client/Servers? John Bertoglio
- [DESIGN] AJAX Client/Servers? Morris Cox
- [DESIGN] AJAX Client/Servers? Jeremy Noetzelman
- [DESIGN] AJAX Client/Servers? Alex Arnon
- [DESIGN] AJAX Client/Servers? Squid
On 2/14 Philip wrote:
> Is anyone aware of or working on AJAX(ish) client/server code for
> something mud-like? I am specifically not interested in emulating
> a telnet+ansi connection in a browser. I am interested in the
> details of making http 1.1 keep-alive and chunking work (correctly?
> at all?) to minimize the amount of socket creation/teardown, error
> detection and recovery when sockets/connections close, etc. Extra
> points if the server end code is in python.
I've been interested in this topic for awhile, and thought I might share
some of my observations on the subject. I have been casually working on a
more traditional mud server written in Pike (a lpc derived scripting
language), but I plan on developing a web client for it.
One potential workaround to the lack of a constant connection is you can
use either a shockwave or java applet bridge to do a more traditional
socket connect to a mud server, and have that generate calls to
javascript. The upside is you can send live events to the client and have
a persistant state world without a database, the downside is the end user
still has to be able to connect to whichever port your mud is answering
on, which pretty much stops anyone from playing from a firewalled up
office, or computer lab still.
SocketJS:
http://dev.dschini.org/socketjs/
I have not gotten this library to work, but it started me down the path.
AFLAX:
http://www.aflax.org/examples/sockets/sockets.html
A much larger library designed for controlling flash via javascript, this
can be used to open a flash xmlsocket and be used as a bridge to
javascript events. I have gotten this working somewhat, however there are
some problems in the library, especially if you are trying to send words
such as <omg>, the flash bridge is trying to treat the content sent as
html.
The flash object has to be served from the mud server you are connecting
to, or you need to have another webserver on the mud with crossdomain.xml
(policy file) in the root to tell the socket it's okay to connect.
Another recommendation to anyone going down this path:
Instead of doing straight AJAX I recommend you look into JSON. Basically,
instead of sending raw xml, you send raw serialized javascript code. In
my case, Pike has a Public.Parser.JSON library (which requires json-c
installed). I can take a mapping structure such as ([ "msg" : "This is a
test.\n" ]), and then the javascript recieves it like:
{ \"msg\": \"This is a test.\n\" }
// this is part of the AFLAX library, but you can roll your own
var json = JSON.parse(str);
alert(json["msg"]);
The advantage to this is a eval is much faster than parsing xml.
Overall drawbacks:
-flash requires a crossdomain.xml policy file if you are connecting to a
different server
-flash socket requires that you send \0 as your 'end of line' terminator,
basically letting it know you're done with a packet.
-aflax/flash library gets crazy if you are sending tags that look like bad
html, such as <gossip>.
I had planned on writing my own java based gateway to get rid of some of
these problems, but then the wow expansion came out. ;)
-Joshua Hughes
- Old MUD-Dev mailing list archives Ghilardi Filippo
- Old MUD-Dev mailing list archives Darryl Woodford
- stock market mechanisms in muds Raph Koster
- [DESIGN] AJAX Client/Servers? John Bertoglio
- [Design]Characters moving between worlds [was Personal virtual worlds] Mike Rozak
- [Design]Characters moving between worlds [was Personalvirtual worlds] Michael Sellers
- [Design]Characters moving between worlds [was Personal virtual worlds] Caliban Darklock
- [Design]Characters moving between worlds [was Personalvirtual worlds] John Buehler
- [Design]Characters moving between worlds [was Personalvirtual worlds] Michael Sellers
- [Design]Characters moving between worlds [was Personalvirtual worlds] Jeffrey Kesselman
- [Design]Characters moving between worlds [was Personalvirtual worlds] Caliban Darklock
- [Design]Characters moving between worlds [wasPersonalvirtual worlds] Dave Scheffer
- [Design]Characters moving between worlds [was Personal virtual worlds] Jeffrey Kesselman
- Old MUD-Dev mailing list archives Ghilardi Filippo
- [Design] A rant against MMORPG installs and initial user experience Mike Rozak
- stock market mechanisms in muds Matt Chatterley
- stock market mechanisms in muds Peter Keeler
- stock market mechanisms in muds Johnicholas Hines
- [MUD-Dev2] Michael Sellers
- [Design] A rant against MMORPG installs and initial user experience Jeffrey Kesselman
- Mailing List Alternatives (was Old MUD-Dev mailing list archives) Morgan Ramsay
- [OFF-TOPIC] A rant against Vanguard reviews and rants Mike Rozak
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Lachek Butalek
- [OFF-TOPIC] A rant against Vanguard reviews and rants Jeffrey Kesselman
- [OFF-TOPIC] A rant against Vanguard reviews and rants Mike Rozak
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- [OFF-TOPIC] A rant against Vanguard reviews and rants Mike Rozak
- genre vs creativity [was: Rant against Vanguard] cruise
- genre vs creativity [was: Rant against Vanguard] Jeffrey Kesselman
- genre vs creativity [was: Rant against Vanguard] Jeffrey Kesselman
- genre vs creativity [was: Rant against Vanguard] cruise
- genre vs creativity [was: Rant against Vanguard] Sean Howard
- genre vs creativity [was: Rant against Vanguard] Jeffrey Kesselman
- genre vs creativity [was: Rant against Vanguard] Damion Schubert
- [OFF-TOPIC] A rant against Vanguard reviews and rants Jeffrey Kesselman
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- [OFF-TOPIC] A rant against Vanguard reviews and rants Adam Martin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- [OFF-TOPIC] A rant against Vanguard reviews and rants cruise
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Damion Schubert
- [OFF-TOPIC] A rant against Vanguard reviews and rants Dana V. Baldwin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Amanda Walker
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Dave Scheffer
- [OFF-TOPIC] A rant against Vanguard reviews and rants Phillip Lenhardt
- [OFF-TOPIC] A rant against Vanguard reviews and rants Caliban Darklock
- [OFF-TOPIC] A rant against Vanguard reviews and rants Vincent Archer
- [OFF-TOPIC] A rant against Vanguard reviews and rants Michael Sellers
- [OFF-TOPIC] A rant against Vanguard reviews and rants Caliban Darklock
- [OFF-TOPIC] A rant against Vanguard reviews and rants Dana V. Baldwin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Caliban Darklock
- [OFF-TOPIC] A rant against Vanguard reviews and rants Michael Hartman
- [OFF-TOPIC] A rant against Vanguard reviews and rants Dana V. Baldwin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants Vincent Archer
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Michael Hartman
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants Damion Schubert
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Damion Schubert
- [OFF-TOPIC] A rant against Vanguard reviews and rants Matt Chatterley
- [OFF-TOPIC] A rant against Vanguard reviews and rants Damion Schubert
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants Amanda Walker
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [TECH DESIGN] Next Generation Infrastructure Phillip Lenhardt
- [TECH DESIGN] Next Generation Infrastructure Lachek Butalek
- [TECH DESIGN] Next Generation Infrastructure Jeffrey Kesselman
- [OFF-TOPIC] A rant against Vanguard reviews and rants Adam Martin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Amanda Walker
- [OFF-TOPIC] A rant against Vanguard reviews and rants Adam Martin
- [OFF-TOPIC] A rant against Vanguard reviews and rants Amanda Walker
- [OFF-TOPIC] A rant against Vanguard reviews and rants Daniel James
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- [OFF-TOPIC] A rant against Vanguard reviews and rants Richard A. Bartle
- [OFF-TOPIC] A rant against Vanguard reviews and rants Phillip Lenhardt
- [OFF-TOPIC] A rant against Vanguard reviews and rants John Buehler
- [OFF-TOPIC] A rant against Vanguard reviews and rants Mike Rozak
- [OFF-TOPIC] A rant against Vanguard reviews and rants Sean Howard
- Re:[Humor] MMORPG Cliches (was " A rant against MMORPG installs and initialuserexperience") Mike Rozak
- [OFF-TOPIC] A rant against Vanguard reviews and rants Mike Rozak
- [OFF-TOPIC] GDC (and hello all) Adam Martin
- [OFF-TOPIC] GDC (and hello all) Michael Sellers
- [OFF-TOPIC] GDC (and hello all) Raph Koster
- [OFF-TOPIC] GDC (and hello all) Adam Martin
- [OFF-TOPIC] GDC (and hello all) Jon Leonard
- [OFF-TOPIC] GDC (and hello all) Jeffrey Kesselman
- [OFF-TOPIC] GDC (and hello all) Raph Koster
- [Design] A rant against MMORPG installs and initial user experience Vincent Archer
- [DESIGN] Excellent commentary on Vanguard's diplomacy system Michael Sellers
- [DESIGN] Excellent commentary on Vanguard's diplomacy system cruise
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem Michael Sellers
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem Sean Howard
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem Caliban Darklock
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem John Buehler
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem Lachek Butalek
- [DESIGN] Excellent commentary on Vanguard's diplomacysystem Raph Koster
- [OFF-TOPIC] A rant for Vanguard DANIEL Harman
- [OFF-TOPIC] A rant for Vanguard Sean Howard
- [DESIGN] Music Industry teaching the Game Industry (Was: A rant for Vanguard) Nick Koranda
- [DESIGN] Music Industry teaching the Game Industry Sean Howard
- [DESIGN] Music Industry teaching the Game Industry Morgan Ramsay
- [DESIGN] Music Industry teaching the Game Industry Caliban Darklock
- [DESIGN] Music Industry teaching the Game Industry Jeffrey Kesselman
- [DESIGN] Music Industry teaching the Game Industry Adam Martin
- [DESIGN] Music Industry teaching the Game Industry Christopher Allen
- [DESIGN] Music Industry teaching the Game Michael Sellers
- [OFF-TOPIC] GDC (and hello all) Raph Koster