in reply to Re: Re: Perlmonks MUD
in thread Perlmonks MOO

Perhaps, but think of it as an introduction to Perl for newbies. Learn by playing! I think it would be neat if you wanted to say place a 'security camera' in a room to watch people there, you would need to figure out how to code it yourself. You could also write your own special abilities, (I've been somewhat inspired by The Matrix Online (Check out the features page, I think it would be neat to implement something like that).

I'm game to help if anyone else is, but I don't know where to start.


our @item = reverse (114, 101, 107, 99, 97, 104, 32, 108, 114, 101, 80, 32, 114, 101, 104, 116, 111, 110, 97, 32, 116, 115, 117, + 74); local $my = reverse ")meti@\ ,rhc (pam tnirp";eval $my;

Replies are listed 'Best First'.
Re: Re: Re: Re: Perlmonks MUD
by jepri (Parson) on May 27, 2004 at 18:18 UTC
    If everyone one in the world were positive thinking and nice, it would suffice to grab a perl telnet server (or web server) and simply eval every command sent to it. In no time, people will have built a complete MOO.

    In practise, you'll have your server reformatted in no time flat.

    So you go back, and try to sanitise people's commands, or switch them to a language like lisp or BASIC. You provide a backend object database, perhaps implemented with hashes (each key is an attribute for an object), overlay a security system for authenticated users (so they can't edit each other's hashes without permission).

    It's one of the best examples of Model-View-Controller programming in the world.

    I have a friend currently running up a MOO on our server. If you would like, I'll introduce the two of you. I'm sure he'd be interested in talking MOOcode for a bit.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

      Sure, Thanks


      our @item = reverse (114, 101, 107, 99, 97, 104, 32, 108, 114, 101, 80, 32, 114, 101, 104, 116, 111, 110, 97, 32, 116, 115, 117, + 74); local $my = reverse ")meti@\ ,rhc (pam tnirp";eval $my;