From kira@lightsphere.com Fri Oct 11 15:03:16 2002 Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by new.cgi101.com (8.12.5/8.12.5/Debian-1) with ESMTP id g9BK3Fe4018821 for ; Fri, 11 Oct 2002 15:03:15 -0500 Received: from localhost ([65.68.74.201]) by mta4.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H3U002J62DEX7@mta4.rcsntx.swbell.net> for moo-cows@cgi101.com; Fri, 11 Oct 2002 15:03:15 -0500 (CDT) Date: Fri, 11 Oct 2002 15:03:29 -0500 From: Jackie Hamilton To: moo-cows@cgi101.com Message-id: <82C5954D-DD54-11D6-908D-003065F2467C@lightsphere.com> MIME-version: 1.0 (Apple Message framework v482) X-Mailer: Apple Mail (2.482) Content-type: text/plain; format=flowed; charset=US-ASCII Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [Moo-cows] testing. Sender: moo-cows-admin@cgi101.com Errors-To: moo-cows-admin@cgi101.com X-BeenThere: moo-cows@cgi101.com X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General discussion on MOO. List-Unsubscribe: , List-Archive: testfnord. -- Jackie Hamilton http://lightsphere.com/ From kira@cgi101.com Mon Oct 14 19:42:39 2002 Received: from new.cgi101.com (localhost [127.0.0.1]) by new.cgi101.com (8.12.5/8.12.5/Debian-1) with ESMTP id g9F0gcN5001067 for ; Mon, 14 Oct 2002 19:42:38 -0500 Received: from localhost (kira@localhost) by new.cgi101.com (8.12.5/8.12.5/Debian-1) with ESMTP id g9F0gcNq001063 for ; Mon, 14 Oct 2002 19:42:38 -0500 X-Authentication-Warning: new.cgi101.com: kira owned process doing -bs Date: Mon, 14 Oct 2002 19:42:38 -0500 (CDT) From: "Jacqueline D. Hamilton" To: moo-cows@moo-cows.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [MOO-Cows] fnordly. Sender: moo-cows-admin@moo-cows.com Errors-To: moo-cows-admin@moo-cows.com X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: The MOO-Cows Mailing list List-Unsubscribe: , List-Archive: testing. Jacqueline Hamilton (kira@cgi101.com) Webmaster, CGI101 (http://www.cgi101.com/) From kira@cgi101.com Tue Oct 15 21:37:24 2002 Received: from new.cgi101.com (localhost [127.0.0.1]) by new.cgi101.com (8.12.5/8.12.5/Debian-1) with ESMTP id g9G2bON5018234 for ; Tue, 15 Oct 2002 21:37:24 -0500 Received: from localhost (kira@localhost) by new.cgi101.com (8.12.5/8.12.5/Debian-1) with ESMTP id g9G2bOEx018230 for ; Tue, 15 Oct 2002 21:37:24 -0500 X-Authentication-Warning: new.cgi101.com: kira owned process doing -bs Date: Tue, 15 Oct 2002 21:37:24 -0500 (CDT) From: "Jacqueline D. Hamilton" To: moo-cows@moo-cows.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: [MOO-Cows] Welcome to MOO-Cows Sender: moo-cows-admin@moo-cows.com Errors-To: moo-cows-admin@moo-cows.com X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: The MOO-Cows Mailing list List-Unsubscribe: , List-Archive: Welcome to MOO-cows. I'm trying to resurrect the mailing list here (in a nice spam-free environment); please feel free to use this list to discuss MOO programming, design, administration and server-related stuff. No flames please, and if you're new to MOO, be sure to check the FAQ's first: http://www.moo-cows.com/docs/ Also (as you've probably noticed) I'm putting together the www.moo-cows.com site, which is mostly links to MOO related stuff, though I'm still working on adding links. If you know of a MOO resource that isn't listed, please e-mail the details and I'll add it to the list. I would also like to mirror as many MOO articles and useful docco here as possible; if you're the author of any such article and would allow me to mirror it here, please e-mail it to me (HTML or text attachments preferred). At some point soon I'm going to set up a code library of downloadable MOO objects. Still thinking of how best to do this but I may actually set up a MOO here exclusively for that purpose, then have a web interface where you could @dump the objects to the new id# of your choice. (That seems like the easiest way to port things, anyway.) I do have archives of the older MOO-cows list from 1999-2001 which I plan on putting online soon. I'm still searching for any pre-1999 archives of the old MOO-cows mailing list; if you have copies of these, please send them to me! Thanks muchly, & welcome to MOO-cows :) -- Jackie Hamilton aka "Kira" kira@cgi101.com From kira@cgi101.com Thu Jul 21 10:56:01 2005 Received: from new.cgi101.com (localhost [127.0.0.1]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j6LFu0Pw001886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 21 Jul 2005 10:56:00 -0500 Received: from localhost (kira@localhost) by new.cgi101.com (8.13.4/8.13.4/Submit) with ESMTP id j6LFu0ns001882 for ; Thu, 21 Jul 2005 10:56:00 -0500 X-Authentication-Warning: new.cgi101.com: kira owned process doing -bs Date: Thu, 21 Jul 2005 10:55:59 -0500 (CDT) From: "Jacqueline D. Hamilton" To: moo-cows@moo-cows.com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] test X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 15:56:01 -0000 Testfnord. Jacqueline Hamilton (kira@cgi101.com) Webmaster, CGI101 (http://www.cgi101.com/) From neil.fraser@gmail.com Wed Sep 14 10:22:07 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j8EFM1CH021885 for ; Wed, 14 Sep 2005 10:22:01 -0500 Received: by nproxy.gmail.com with SMTP id a4so79761nfc for ; Wed, 14 Sep 2005 08:22:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dv6bVDYUJZ2BgKrYf4OEohcE4xoFemjtcRJ3umKw46iSHHdqDGhZnDiXvqUkHbQTkeTsQxsEimK9xumqp2I2cUrBqiQdvDCvIMEBQrdMFwGGrUa8SPLCGHgtkZEov4TKkIJdpqWviVd7w6MjJtr79QEmZ0mbURUBfm9DZ2T/mRE= Received: by 10.48.49.9 with SMTP id w9mr42962nfw; Wed, 14 Sep 2005 08:22:00 -0700 (PDT) Received: by 10.48.49.20 with HTTP; Wed, 14 Sep 2005 08:21:59 -0700 (PDT) Message-ID: <416401b0050914082178cfc804@mail.gmail.com> Date: Wed, 14 Sep 2005 16:21:59 +0100 From: Neil Fraser To: moo-cows@moo-cows.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id j8EFM1CH021885 Subject: [Moo-cows] Moo Database Browser X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: neil.fraser@gmail.com List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 15:22:07 -0000 This message was originally written back in July, right after Kenny's MOO-Cows list died. Apparently everything has been transferred to Kira's server. Is everyone subscribed? Anyway, here's the long-delayed followup: Neil Fraser wrote: > I just wanted to let you know that there are a couple of new tools available > for reading and browsing Moo Databases directly from disk: > [...] > Let me know if you have suggestions for improvements or ideas for other applications. Thanks for all the great comments (both on and off the list), it was good to hear. * A segmentation fault caused by scanning recycled objects has been corrected. * A quoting error when dealing with nested data structures has also been corrected. * A compiled DOS version of the command-line browser is now available. So you can click and run on a DOS or Windows box. I've encountered several people (not on this list) who were nervous about committing their data to the Moo architecture (we are not an industry standard). Accordingly, I've written a conversion tool in Python which reads in a Moo database and prints out XML. This tool may help in such situations since they can be assured that their data would always be available in XML. It also opens up possibilities for other exo-Moo applications, since XML is significantly easier to deal with than the Moo's format. Sean Davis pointed out that there is no documentation whatsoever regarding the Moo's native db file format. I built my applications by reading the Moo server's source code -- thank goodness for open source. In case anyone else is tempted to manipulate the db file, I've written detailed documentation which should make the format easier to work with. I've also added a LambdaCore and a JHCore to the surfable databases in the demo. I'll add a CanCore (Moo Canada's core) as soon as we exorcise the WAIFs from our database. All this is available at: http://neil.fraser.name/software/moobrowser/ -- Neil Fraser, Scotland http://neil.fraser.name From neil.fraser@gmail.com Mon Oct 3 09:40:45 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.200]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j93Eegg6009024 for ; Mon, 3 Oct 2005 09:40:43 -0500 Received: by nproxy.gmail.com with SMTP id x4so133666nfb for ; Mon, 03 Oct 2005 07:40:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=okQifh1/2K/UxDGrVFHynJdSjT8wElg6LUJdxZZW20U0RGjKTLqj3H3+WV72KFB50iBo9kfh48DZUZgP4WQryWuDhOywiqLrC4YoI5kSPCej7vLTafIDTJ3OJyPBO5RD4NWpmZCVC/F5RhvXyEveQKU/KjT9yRQWHDa428fajIM= Received: by 10.48.226.17 with SMTP id y17mr225948nfg; Mon, 03 Oct 2005 07:40:41 -0700 (PDT) Received: by 10.48.49.20 with HTTP; Mon, 3 Oct 2005 07:40:41 -0700 (PDT) Message-ID: <416401b00510030740l3742cd93t@mail.gmail.com> Date: Mon, 3 Oct 2005 15:40:41 +0100 From: Neil Fraser To: moo-cows@moo-cows.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id j93Eegg6009024 Subject: [Moo-cows] Ping? X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Neil Fraser List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 14:40:46 -0000 Am I the only one subscribed to this list? Who else is here? -- Neil Fraser, Scotland http://neil.fraser.name From kira@lightsphere.com Mon Oct 3 10:08:59 2005 Received: from miniMac.local.oplink.net ([209.223.46.80]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j93F8qaE012730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 3 Oct 2005 10:08:53 -0500 Date: Mon, 3 Oct 2005 10:08:51 -0500 From: Jackie Hamilton To: moo-cows@moo-cows.com Message-ID: <20051003100851.583312.36cbf1af@lightsphere.com> In-Reply-To: <416401b00510030740l3742cd93t@mail.gmail.com> References: <416401b00510030740l3742cd93t@mail.gmail.com> Subject: Re: [Moo-cows] Ping? Mime-Version: 1.0 (GMessage framework 1.3.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: GyazMail version 1.3.1 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 15:08:59 -0000 On Mon, 3 Oct 2005 15:40:41 +0100, Neil Fraser wrote: > Am I the only one subscribed to this list? > Who else is here? I'm here. :) There are 80 subscribers on this list, though I know some of those are duplicate subs. Thanks for posting the MOO db browser, Neil. Looks quite useful; I've been meaning to try it out. There are often times when something's been deleted from my main MOO db and I'd like to recover from backup, but don't want to hassle with rebooting the backup db just to get the one or two deleted items. Anyone else here doing any cool new stuff with MOO? :) I've written a flash client for MOO (an example of which can be seen at http://www.harpers-tale.com/flash/), though it required rather a lot of in-MOO hacking to make it work (since the connection type is binary, and it's in XML). One of these days I'll get the code packaged up for download... I think MOO makes a great alternative to the flashcom server, for interactive flash apps. -- Jackie Hamilton kira@lightsphere.com From groucho7@operamail.com Mon Oct 3 20:32:14 2005 Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j941Vnj5020460 for ; Mon, 3 Oct 2005 20:31:50 -0500 Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 6DF201800297 for ; Tue, 4 Oct 2005 01:31:33 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 4 Oct 2005 01:31:33 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 3BA3423D1B; Tue, 4 Oct 2005 01:31:33 +0000 (GMT) Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Gary Foiles" To: "General MOO discussion." Date: Mon, 03 Oct 2005 20:31:33 -0500 Subject: Re: [Moo-cows] Ping? Received: from [71.50.20.89] by ws5-3.us4.outblaze.com with http for groucho7@operamail.com; Mon, 03 Oct 2005 20:31:33 -0500 X-Originating-Ip: 71.50.20.89 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20051004013133.3BA3423D1B@ws5-3.us4.outblaze.com> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id j941Vnj5020460 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 01:32:14 -0000 Yes! I'm subscribed! And I also appreciated the Moo DB browser information. Currently, I am doing absolutely nothing interesting whatsoever, but if I do, you'll be among the first several hundred to know. ;-> Gary Foiles Sekiji at Harper's Tale MOO Gary at Lambda MOO groucho7@operamail.com -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.opera.com Powered by Outblaze From dixiecountry@yahoo.com Mon Oct 3 21:55:59 2005 Received: from web32605.mail.mud.yahoo.com (web32605.mail.mud.yahoo.com [68.142.207.232]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id j942tvLI027687 for ; Mon, 3 Oct 2005 21:55:58 -0500 Received: (qmail 4632 invoked by uid 60001); 4 Oct 2005 02:55:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GzGSfm0FgLwIPSxqBppZM5Gd5g0SxU9fsJPRwCU+jVnbHas4WcDKsn4SZ8sI91tbMO35TwACs90ZFDiSCbT82dP0rnbJ4p6hgle1SZ4rAOneJkEwiUA7Xwmiy59TU9rX0E/XjzEMadpUDYO1QZN3DBoAyPSEN3nE4qPauFZucBA= ; Message-ID: <20051004025557.4630.qmail@web32605.mail.mud.yahoo.com> Received: from [207.69.139.134] by web32605.mail.mud.yahoo.com via HTTP; Mon, 03 Oct 2005 19:55:56 PDT Date: Mon, 3 Oct 2005 19:55:56 -0700 (PDT) From: Dixie Chick To: Moo-cows@moo-cows.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-375600191-1128394556=:4591" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new Cc: Subject: [Moo-cows] Re: Ping X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 02:56:00 -0000 --0-375600191-1128394556=:4591 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I am here as well. Luckily, there are quite a few around still. Glad to see a few old friends keeping in touch :) L.R. Thomas aka. Dixie-Chick Co-Arch of Phantasy World --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. --0-375600191-1128394556=:4591 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I am here as well. Luckily, there are quite a few around still.
 
Glad to see a few old friends keeping in touch :)
 
L.R. Thomas
     aka. Dixie-Chick
Co-Arch of Phantasy World
 


Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort. --0-375600191-1128394556=:4591-- From cobblers@pobox.com Mon Oct 3 22:14:53 2005 Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j943Ekp2029124 for ; Mon, 3 Oct 2005 22:14:46 -0500 Received: from [192.168.1.5] (c-24-16-32-124.hsd1.wa.comcast.net[24.16.32.124]) by comcast.net (sccrmhc14) with ESMTP id <2005100403143901400pttn3e>; Tue, 4 Oct 2005 03:14:45 +0000 Mime-Version: 1.0 X-Sender: schumakers5 Message-Id: In-Reply-To: <416401b00510030740l3742cd93t@mail.gmail.com> References: <416401b00510030740l3742cd93t@mail.gmail.com> Date: Mon, 3 Oct 2005 20:14:31 -0700 To: Neil Fraser From: Bob Schumaker Subject: Re: [Moo-cows] Ping? Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by amavisd-new Cc: moo-cows@moo-cows.com X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 03:14:54 -0000 Nope, you're not alone. Although it does echo in here a bit, sometimes :-) -bs -- ====================================================================== Think Different. Bob Schumaker This life is a test, it is only a test. If cobblers@[pobox].com this had been a real life, you would have http://www.cobblers.net/ been told where to go and what to do. PGP Fingerprint: A722 69D6 3C6A 6A1D 6715 99D6 599C 1904 73D1 DBC8 From compgeek13@gmail.com Fri Oct 28 18:49:23 2005 Received: from cluster1.bresnan.net (cluster1.bresnan.net [69.145.248.57]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j9SNnKVY031579 for ; Fri, 28 Oct 2005 18:49:21 -0500 Received: from [69.146.198.44] (HELO dataplus4puarg) by fe-3.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 95611874 for moo-cows@moo-cows.com; Fri, 28 Oct 2005 17:49:14 -0600 Message-ID: <003d01c5dc1a$34b64cb0$2cc69245@dataplus4puarg> From: "tyler" To: Date: Fri, 28 Oct 2005 16:49:15 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] help needed please! X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 23:49:24 -0000 Hay all, I am just starting MOO. As I already know a few object oriented languages, I was wondering if there was some example code that I could look at. Also, is there an up-to-date documentation? all I can find is like lambda 1.+ when I have like 4.0 or 4.1 not surw which. It would really make a difference. Also, can someone tell me how to do the following? Show obvious exits in and out of a room create doors that can be open and shut create human-like objects. e.g monsters and mobs. Thanks bunches, Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] From neil.fraser@gmail.com Sat Oct 29 10:48:12 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.192]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j9TFm1tQ001539 for ; Sat, 29 Oct 2005 10:48:05 -0500 Received: by nproxy.gmail.com with SMTP id x37so207811nfc for ; Sat, 29 Oct 2005 08:47:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OupIWq+D4m+J8H8skIbJWhODRbubpOmiuFKPIEjp90X2/W2fjrNEizReYm9qj57Wy8ryqStDRVBp96ktKrseiACsDBmGNZjs8fmqty7WYljORd5QKo0MSbi7YThqWl39ubY7JS30zOK9aFFH8wgT+SnE5/+9LNQp+S/yvlv00f0= Received: by 10.48.80.4 with SMTP id d4mr470773nfb; Sat, 29 Oct 2005 08:47:59 -0700 (PDT) Received: by 10.48.49.20 with HTTP; Sat, 29 Oct 2005 08:47:59 -0700 (PDT) Message-ID: <416401b00510290847o4070d69bm@mail.gmail.com> Date: Sat, 29 Oct 2005 16:47:59 +0100 From: Neil Fraser To: "General MOO discussion." Subject: Re: [Moo-cows] help needed please! In-Reply-To: <003d01c5dc1a$34b64cb0$2cc69245@dataplus4puarg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <003d01c5dc1a$34b64cb0$2cc69245@dataplus4puarg> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id j9TFm1tQ001539 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 15:48:14 -0000 On 29/10/05, tyler wrote: > I am just starting MOO. Welcome! > As I already know a few object oriented languages, I was wondering if there > was some example code that I could look at. There are lots of Moo programing tutorials out there. Check out http://dmoz.org/Games/Online/MUDs/MOOs/Programming/ > Also, is there an up-to-date > documentation? all I can find is like lambda 1.+ when I have like 4.0 or 4.1 > not surw which. It would really make a difference. Ok, I think there's a misunderstanding here. A Moo is composed of two parts: a server and a database. The server is the unchanging compiled C code that drives everything, it hasn't been updated in ten years, since version 1.8 or so. It is *extremely* well documented: ftp://ftp.lambda.moo.mud.org/pub/MOO/html/ProgrammersManual_toc.html The database can be one of any number of databases, LambdaCore, enCore, CanCore, Minimal, etc: http://dmoz.org/Games/Online/MUDs/MOOs/Core_Databases/ Each database has its own documentation, some better than others. I'm assuming that when you say "4.0 or 4.1" you are actually referring to somebody's database. > Also, can someone tell me how to do the following? > Show obvious exits in and out of a room > create doors that can be open and shut > create human-like objects. e.g monsters and mobs. This is independent of the low-level Moo server; it depends on whose database you are using. -- Neil Fraser, Scotland http://neil.fraser.name From compgeek13@gmail.com Sat Oct 29 11:04:30 2005 Received: from blowfish.brainstorminternet.net (blowfish.brainstorminternet.net [66.118.220.16]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id j9TG4OIC003515 for ; Sat, 29 Oct 2005 11:04:24 -0500 Received: from haw29338 (160.196.118.66.brainstorminternet.net [66.118.196.160]) by blowfish.brainstorminternet.net (Postfix) with SMTP id 74DBC7DB28 for ; Sat, 29 Oct 2005 10:04:23 -0600 (MDT) Message-ID: <00b801c5dca2$6ec53dc0$0300a8c0@mesa.k12.co.us> From: "Tyler Littlefield" To: "General MOO discussion." References: <003d01c5dc1a$34b64cb0$2cc69245@dataplus4puarg> <416401b00510290847o4070d69bm@mail.gmail.com> Subject: Re: [Moo-cows] help needed please! Date: Sat, 29 Oct 2005 10:04:24 -0600 Organization: dataplus Worldwide MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Tyler Littlefield , "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 16:04:33 -0000 Hello, Thanks for the help. I was speaking of the lambda database, as I assume its what has all the player: and all those functions in it. correct me if I am wrong... I can't seem to find any documentation with up-to-date lambda information. Tyler Littlefield. Visit my site, for custom software and webpage design. We handle all of your computer-related needs with experience, professionalism, and much more. http://tysplace.the-leetest.net ----- Original Message ----- From: "Neil Fraser" To: "General MOO discussion." Sent: Saturday, October 29, 2005 9:47 AM Subject: Re: [Moo-cows] help needed please! > On 29/10/05, tyler wrote: >> I am just starting MOO. > > Welcome! > >> As I already know a few object oriented languages, I was wondering if >> there >> was some example code that I could look at. > > There are lots of Moo programing tutorials out there. Check out > http://dmoz.org/Games/Online/MUDs/MOOs/Programming/ > >> Also, is there an up-to-date >> documentation? all I can find is like lambda 1.+ when I have like 4.0 or >> 4.1 >> not surw which. It would really make a difference. > > Ok, I think there's a misunderstanding here. A Moo is composed of two > parts: a server and a database. The server is the unchanging compiled > C code that drives everything, it hasn't been updated in ten years, > since version 1.8 or so. It is *extremely* well documented: > ftp://ftp.lambda.moo.mud.org/pub/MOO/html/ProgrammersManual_toc.html > The database can be one of any number of databases, LambdaCore, > enCore, CanCore, Minimal, etc: > http://dmoz.org/Games/Online/MUDs/MOOs/Core_Databases/ > Each database has its own documentation, some better than others. I'm > assuming that when you say "4.0 or 4.1" you are actually referring to > somebody's database. > >> Also, can someone tell me how to do the following? >> Show obvious exits in and out of a room >> create doors that can be open and shut >> create human-like objects. e.g monsters and mobs. > > This is independent of the low-level Moo server; it depends on whose > database you are using. > > -- > Neil Fraser, Scotland > http://neil.fraser.name > > _______________________________________________ > Moo-cows mailing list > Moo-cows@moo-cows.com > http://lists.cgi101.com/mailman/listinfo/moo-cows From kmelillo@dotheyknow.net Mon Oct 31 05:33:41 2005 Received: from mail12.opentransfer.com (mailout6.opentransfer.com [69.49.238.54]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id j9VBXc1Z022435 for ; Mon, 31 Oct 2005 05:33:38 -0600 Received: (qmail 13220 invoked by uid 399); 31 Oct 2005 11:33:01 -0000 Received: from unknown (HELO ?192.168.1.102?) (68.83.188.184) by mail.opentransfer.com with SMTP; 31 Oct 2005 11:33:01 -0000 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Mon, 31 Oct 2005 06:32:53 -0400 Subject: Re: [Moo-cows] help needed please! From: Kevin Melillo To: "General MOO discussion." Message-ID: In-Reply-To: <003d01c5dc1a$34b64cb0$2cc69245@dataplus4puarg> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 11:33:42 -0000 I have messed around with JHCore a bit, and it seems to be the one I like the most. For open/closed doors, I guess you could use a 'key' and just lock it, although that wouldn't allow you to stop people from looking through the door... I believe that all obvious exits are shown after the description is typed out. As for mobs, I don't know, I am not that advanced... On 10/28/05 7:49 PM, "tyler" wrote: > Hay all, > I am just starting MOO. > As I already know a few object oriented languages, I was wondering if there > was some example code that I could look at. Also, is there an up-to-date > documentation? all I can find is like lambda 1.+ when I have like 4.0 or 4.1 > not surw which. It would really make a difference. > Also, can someone tell me how to do the following? > Show obvious exits in and out of a room > create doors that can be open and shut > create human-like objects. e.g monsters and mobs. > Thanks bunches, > Tyler Littlefield. > Check out our website: > http://tysplace.the-leetest.net > check out my blog: > livejournal.com/~tylerrl > [my programs don't have bugs, just randomly added features] > > > _______________________________________________ > Moo-cows mailing list > Moo-cows@moo-cows.com > http://lists.cgi101.com/mailman/listinfo/moo-cows > From geocorona@yahoo.com Tue Nov 1 07:45:32 2005 Received: from web31801.mail.mud.yahoo.com (web31801.mail.mud.yahoo.com [68.142.207.64]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id jA1DjUxn026502 for ; Tue, 1 Nov 2005 07:45:30 -0600 Received: (qmail 6783 invoked by uid 60001); 1 Nov 2005 13:45:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jrBQNbgFW1IQHTCWINsQteQphW8jLfqAo6IV5p4Jgu0CmOzG1qveT2/hj+L1/I4F2dmZB25TqHxMx6ikoBYc+UT8VtbDG5CbGV5MywbNUF0hvHldMANZVSdPeh7WMpuSPnXB7Bs/NtOPR971Hbqo5LSvstSKbtEeGE0tbKlev0I= ; Message-ID: <20051101134529.6781.qmail@web31801.mail.mud.yahoo.com> Received: from [24.106.181.178] by web31801.mail.mud.yahoo.com via HTTP; Tue, 01 Nov 2005 05:45:29 PST Date: Tue, 1 Nov 2005 05:45:29 -0800 (PST) From: George Hager Subject: Re: [Moo-cows] help needed please! To: "General MOO discussion." In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 13:45:32 -0000 Most bots should be based on the "gendered object" or an ancestor of the "player object". Often, a "group of beings" can be created by making the bot gender "plural". --- Kevin Melillo wrote: > As for mobs, I don't know, I am not that > advanced... > > > On 10/28/05 7:49 PM, "tyler" > wrote: > > > Hay all, > > I am just starting MOO. __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com From compgeek13@gmail.com Tue Nov 1 11:57:26 2005 Received: from cluster1.bresnan.net (cluster1.bresnan.net [69.145.248.57]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA1HvNGx028734 for ; Tue, 1 Nov 2005 11:57:23 -0600 Received: from [69.146.198.44] (HELO dataplus4puarg) by fe-2.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 226500669 for moo-cows@moo-cows.com; Tue, 01 Nov 2005 10:57:22 -0700 Message-ID: <008c01c5df0d$b9edb760$2cc69245@dataplus4puarg> From: "tyler" To: "General MOO discussion." References: <20051101134529.6781.qmail@web31801.mail.mud.yahoo.com> Subject: Re: [Moo-cows] help needed please! Date: Tue, 1 Nov 2005 09:57:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 17:57:28 -0000 um... can you edxplain that a bit more? remember, I am just starting out. lol Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] ----- Original Message ----- From: "George Hager" To: "General MOO discussion." Sent: Tuesday, November 01, 2005 5:45 AM Subject: Re: [Moo-cows] help needed please! > Most bots should be based on the "gendered object" or > an ancestor of the "player object". Often, a "group of > beings" can be created by making the bot gender > "plural". > > --- Kevin Melillo wrote: > > > As for mobs, I don't know, I am not that > > advanced... > > > > > > On 10/28/05 7:49 PM, "tyler" > > wrote: > > > > > Hay all, > > > I am just starting MOO. > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > _______________________________________________ > Moo-cows mailing list > Moo-cows@moo-cows.com > http://lists.cgi101.com/mailman/listinfo/moo-cows From geocorona@yahoo.com Sat Nov 5 17:54:11 2005 Received: from web31808.mail.mud.yahoo.com (web31808.mail.mud.yahoo.com [68.142.207.71]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id jA5Ns8QN006504 for ; Sat, 5 Nov 2005 17:54:09 -0600 Received: (qmail 43174 invoked by uid 60001); 5 Nov 2005 23:54:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IrBDnweorxDzoGkrlmPXHj85IetpnGn4OYlObYqWo7vp7Ro+eBsp4DifT4eIgzIFn+yLZ8s6eBM2QwS6pevXB3P/2I7t9ODrdEsvcCFVZNTsiQPG3Hr3qECb08HYrKVPibhyme+l7WhunBcalsK71LEHGrA4G0VaAiNpvWW+dXE= ; Message-ID: <20051105235408.43172.qmail@web31808.mail.mud.yahoo.com> Received: from [24.211.233.85] by web31808.mail.mud.yahoo.com via HTTP; Sat, 05 Nov 2005 15:54:08 PST Date: Sat, 5 Nov 2005 15:54:08 -0800 (PST) From: George Hager Subject: Re: [Moo-cows] help needed please! To: "General MOO discussion." In-Reply-To: <008c01c5df0d$b9edb760$2cc69245@dataplus4puarg> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 23:54:12 -0000 Objects have properties. One of the properties that players and robots have is "gender". Properly written verbs will check the gender in order to conjugate the sentences you see on screen. So if a robot with a gender set to "female" attacks you, the message will read on screen as "She attacks you." If the gender is set to "plural", the message would appear as "They attack you." There is a lot to learn about in order to make this happen smoothly. It will take hours and hours of studying the MOO objects. --- tyler wrote: > um... can you edxplain that a bit more? remember, I > am just starting out. > lol > Tyler Littlefield. > features] > > ----- Original Message ----- > From: "George Hager" > > Most bots should be based on the "gendered object" > > or an ancestor of the "player object". Often, a > > "group ofbeings" can be created by making the bot > > gender "plural". __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From jung@uib.no Sat Nov 5 19:01:33 2005 Received: from beci.com (www.the-b.org [66.148.239.44]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA611R7d013839 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Sat, 5 Nov 2005 19:01:30 -0600 Received: from noralf.uib.no ([129.177.30.12] verified) by beci.com (CommuniGate Pro SMTP 4.3.7) with ESMTPS id 4290866 for moo-cows@the-b.org; Sat, 05 Nov 2005 19:01:25 -0600 Received-SPF: pass receiver=beci.com; client-ip=129.177.30.12; envelope-from=jung@uib.no Received: from alfred.uib.no (smtp.uib.no) [129.177.30.120] by noralf.uib.no with esmtp (Exim 4.34) id 1EYYuN-0006Lw-3E; Sun, 06 Nov 2005 02:01:20 +0100 Received: from 117.84-48-30.nextgentel.com ([10.24.104.19]) [84.48.30.117] by smtp.uib.no with esmtp (Exim 4.34) id 1EYYuM-0003Y0-N0; Sun, 06 Nov 2005 02:01:18 +0100 Message-ID: <436D5680.2070202@uib.no> Date: Sun, 06 Nov 2005 02:04:00 +0100 From: Daniel Jung User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Discussion related to the MOO platform." , encore Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-checked-clean: by exiscan on noralf X-Scanner: 0374ecae1783a49d6ba34d4462f6d201 http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: 0 hits, 8.0 required X-UiB-SpamReport: spamassassin found; X-Virus-Scanned: by amavisd-new Cc: Subject: [Moo-cows] unknown data type X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 01:01:34 -0000 Hi I have strings consisting of literal equivalents of value types. E.g., I get the string "INT" from somewhere, and I want to use that string in order to work on something else as INT. Now since I found no builtin `totype()' or anything else usefull (I may be blind though), I made a small verb to return the value. I only consider user-visible types. ------------------------------------- $string_utils:type_from_string() ------------------------------------- {string} = args; if (string == "INT") return INT; elseif (string == "OBJ") return OBJ; elseif (string == "STR") return STR; elseif (string == "ERR" || index(string, "E_")) return ERR; elseif (string == "LIST") return LIST; elseif (string == "FLOAT") return FLOAT; else return -1; endif ------------------------------------- I'm not really sure what to do in the ELSE statement. I want to return something when the argument is not in the range of known (or: permitted) types. Obviously, I don't want to return E_INVARG because of the test in line 8. I had "return #-1 ($nothing)" there first, but it broke tests like ;$string_utils:is_integer($string_utils:type_from_string()) and testing ;$string_utils:is_integer(tostr($string_utils:type_from_string())) was too bone head for my taste. So I decided to return -1 and rather test it with ;$string_utils:type_from_string() >= 0 That works. But is it pretty? And is it consistent with existing code and convention? I'm not really sure. I see that the server panics (or writes to errlog()) in a few cases where unknown values are encountered, but I cannot see how I could use that. On the other hand, slot 4 in function_info() returns -1 for "any type" and (as far as I can see) -2 for "I don't bother telling you". I definitely don't want to mix "any type" and "unknown type". Isn't there a convention for returning "no known type"? Some !TYPE_ANY or anything? I'm just a little confused. - Daniel From compgeek13@gmail.com Sat Nov 5 23:57:49 2005 Received: from starfish.brainstorminternet.net (starfish.brainstorminternet.net [66.118.220.14]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA65vjKV009097 for ; Sat, 5 Nov 2005 23:57:46 -0600 Received: from haw29338 (2.199.118.66.brainstorminternet.net [66.118.199.2]) by starfish.brainstorminternet.net (Postfix) with SMTP id 9997D14BFBB for ; Sat, 5 Nov 2005 22:57:45 -0700 (MST) Message-ID: <007b01c5e297$0370cb70$1200a8c0@mesa.k12.co.us> From: "Tyler Littlefield" To: "General MOO discussion." References: <20051105235408.43172.qmail@web31808.mail.mud.yahoo.com> Subject: Re: [Moo-cows] help needed please! Date: Sat, 5 Nov 2005 22:57:47 -0700 Organization: dataplus Worldwide MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Tyler Littlefield , "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 05:57:49 -0000 yes, I am willing to do all of that. just as long as I can get it down. Tyler Littlefield. Visit my site, for custom software and webpage design. We handle all of your computer-related needs with experience, professionalism, and much more. http://tysplace.the-leetest.net ----- Original Message ----- From: "George Hager" To: "General MOO discussion." Sent: Saturday, November 05, 2005 4:54 PM Subject: Re: [Moo-cows] help needed please! > Objects have properties. One of the properties that > players and robots have is "gender". Properly written > verbs will check the gender in order to conjugate the > sentences you see on screen. > > So if a robot with a gender set to "female" attacks > you, the message will read on screen as "She attacks > you." > > If the gender is set to "plural", the message would > appear as "They attack you." > > There is a lot to learn about in order to make this > happen smoothly. It will take hours and hours of > studying the MOO objects. > > --- tyler wrote: > >> um... can you edxplain that a bit more? remember, I >> am just starting out. >> lol >> Tyler Littlefield. >> features] >> >> ----- Original Message ----- >> From: "George Hager" > >> > Most bots should be based on the "gendered object" >> > or an ancestor of the "player object". Often, a >> > "group ofbeings" can be created by making the bot >> > gender "plural". > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > _______________________________________________ > Moo-cows mailing list > Moo-cows@moo-cows.com > http://lists.cgi101.com/mailman/listinfo/moo-cows From neil.fraser@gmail.com Sun Nov 6 16:16:15 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.205]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA6MGAJj014663 for ; Sun, 6 Nov 2005 16:16:10 -0600 Received: by nproxy.gmail.com with SMTP id x37so60860nfc for ; Sun, 06 Nov 2005 14:16:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j/FLD1BEMvg7Lja+0GptSvk6KffQD++JA25owkOUm45KtUJKHNaz0y+WX2IGwJOlSr/H9n4XWaI+AyUtIOY/+W2IDi+Bd1o5sflHxk8PMUbYyLtYnAmu5E6Tr1zEOVI3DnkUD645Z0/CAG1xDOFTiE/6mCwV+RtDYiRH04Mdf/c= Received: by 10.48.49.8 with SMTP id w8mr567099nfw; Sun, 06 Nov 2005 14:16:09 -0800 (PST) Received: by 10.48.49.7 with HTTP; Sun, 6 Nov 2005 14:16:09 -0800 (PST) Message-ID: <416401b00511061416l687caabey@mail.gmail.com> Date: Sun, 6 Nov 2005 17:16:09 -0500 From: Neil Fraser To: "General MOO discussion." Subject: Re: [Moo-cows] unknown data type In-Reply-To: <436D5680.2070202@uib.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <436D5680.2070202@uib.no> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id jA6MGAJj014663 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 22:16:16 -0000 On 05/11/05, Daniel Jung wrote: > {string} = args; > if (string == "INT") > return INT; > elseif (string == "OBJ") > return OBJ; > elseif (string == "STR") > return STR; > elseif (string == "ERR" || index(string, "E_")) > return ERR; > elseif (string == "LIST") > return LIST; > elseif (string == "FLOAT") > return FLOAT; > else > return -1; > endif I'll assume that you are intentionally forgetting about the obsolete 'NUM' type; same as 'INT'. The above code is simple, clear and perfectly good. If I were programming it, I might increase my job security and use the following: {string} = args; if ( index(string, "E_") == 1) return ERR; endif matrix = {{"INT", INT}, {"OBJ", OBJ}, {"STR", STR}, {"ERR", ERR}, {"LIST", LIST}, {"FLOAT", FLOAT}}; match = $list_utils:assoc(string, matrix); if (match) return match[2]; else return -1; endif Or, if security wasn't an issue: {string} = args; if ( index(string, "E_") == 1) return ERR; endif try return eval("return "+string+";")[2]; except (ANY) return -1; endtry Frankly, I think your code is better than either of these, but I'm just spitting out other options. > I'm not really sure what to do in the ELSE statement. I want to return > something when the argument is not in the range of known (or: permitted) > types. Obviously, I don't want to return E_INVARG because of the test in > line 8. I had "return #-1 ($nothing)" there first, but it broke tests like Another strategy is to use: raise(E_INVARG, "Invalid type", string); Then use try/catch to recover from these errors. This is the Java way of doing things. > On the other hand, slot 4 in function_info() returns -1 for "any > type" and (as far as I can see) -2 for "I don't bother telling you". I > definitely don't want to mix "any type" and "unknown type". > > Isn't there a convention for returning "no known type"? Some !TYPE_ANY > or anything? The whole magic-global variable thing with INT/OBJ/LIST/etc is very C-like and was added by Pavel right at the beginning of the Moo server development. In retrospect a far better approach would have been to simply define #0.STR to be 2, thus $STR would be used in place of STR. That's the Moo way of doing things. After all, server-side command matching doesn't get compared with AMBIGUOUS_MATCH, it returns something which equals $ambiguous_match. That would have been the right way to do type identification. -- Neil Fraser, Programmer & Wizard http://neil.fraser.name From jung@uib.no Sun Nov 6 17:21:30 2005 Received: from noralf.uib.no (noralf.uib.no [129.177.30.12]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA6NLPZw021539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 6 Nov 2005 17:21:26 -0600 Received: from alfred.uib.no (smtp.uib.no) [129.177.30.120] by noralf.uib.no with esmtp (Exim 4.34) id 1EYtp5-0005uR-CC; Mon, 07 Nov 2005 00:21:16 +0100 Received: from 117.84-48-30.nextgentel.com ([10.24.104.19]) [84.48.30.117] by smtp.uib.no for moo-cows@moo-cows.com with esmtp (Exim 4.34) id 1EYtp5-0002SW-2B; Mon, 07 Nov 2005 00:21:15 +0100 Message-ID: <436E908D.6000009@uib.no> Date: Mon, 07 Nov 2005 00:23:57 +0100 From: Daniel Jung User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "General MOO discussion." Subject: Re: [Moo-cows] unknown data type References: <436D5680.2070202@uib.no> <416401b00511061416l687caabey@mail.gmail.com> In-Reply-To: <416401b00511061416l687caabey@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-checked-clean: by exiscan on noralf X-Scanner: 00618c18527bf67a36be953bd3f8499f http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: 0 hits, 8.0 required X-UiB-SpamReport: spamassassin found; X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 23:21:31 -0000 Hi Neil, and thanks for your answer. Neil Fraser wrote: > I'll assume that you are intentionally forgetting about the obsolete > 'NUM' type; same as 'INT'. True. I don't use it; but it wouldn't harm to specify ("INT" || "NUM"). > {string} = args; maybe if (typeof(string) != STR) return -1; raise (E_INVARG, "Invalid argument", string); endif to prevent the index() from throwing an error... I had that, but cut down the code for clarity before posting it. > if ( index(string, "E_") == 1) > return ERR; > endif or if (is_member(string, $code_utils.error_names)) return ERR; endif to prevent "E_BOGUS" etc. from returning ERR. We should have something like $code_utils.type_names with sorted entries ;$code_utils.type_names[1] => "INT" ;$code_utils.type_names[2] => "OBJ" (and insert clear, none, catch, finally, to get FLOAT's position right) but then the global pain in the behind is the discrepancy between 1-based db lists (moo) and 0-based server lists (c). Would have been sweet to return just the list's entry position, or 'false' or -1 or whatever when not found. I'm still dreaming of a tenth value type, an "associated label/value list" value, which, in this case, could look like << "INT" => INT; "OBJ" => OBJ >> etc. and then return $code_utils.type_names[string] | -1; without having to go through :assoc etc. > return eval("return "+string+";")[2]; Thank you very much for that line, Neil. I learned something here. As for security, task_perms would have to be non-wiz, but the verb should demand wiz perms to be initiated, or something. Or am I missing something here? > except (ANY) > return -1; > endtry So I reckon you're not opposed to just pick -1 as a type_not_found equivalent? > Another strategy is to use: > raise(E_INVARG, "Invalid type", string); > Then use try/catch to recover from these errors. This is the Java way > of doing things. I had an error raise there before, but removed it... :) It didn't seem right to let the server do something the verb could do (sorry for sounding naïve; I hope you get what I'm trying to say here). And I am reluctant to use try/except to handle errors I actually expect or force myself... but maybe the better way to do it. I should work on my Java skills. > In retrospect a far better approach would have been to > simply define #0.STR to be 2, thus $STR would be used in place of STR. Agree. And, IMHO, it would have been better to not use #0 as the system object, and 0 as the INT equivalent. Again, thanks for your valuable input. (pun intended) - Daniel From jung@uib.no Sun Nov 6 18:57:44 2005 Received: from beci.com (www.the-b.org [66.148.239.44]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA70vct1001563 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 6 Nov 2005 18:57:39 -0600 Received: from noralf.uib.no ([129.177.30.12] verified) by beci.com (CommuniGate Pro SMTP 4.3.7) with ESMTPS id 4292912 for moo-cows@the-b.org; Sun, 06 Nov 2005 18:57:38 -0600 Received-SPF: pass receiver=beci.com; client-ip=129.177.30.12; envelope-from=jung@uib.no Received: from alfred.uib.no (smtp.uib.no) [129.177.30.120] by noralf.uib.no with esmtp (Exim 4.34) id 1EYvKJ-0004Yg-7X; Mon, 07 Nov 2005 01:57:36 +0100 Received: from 117.84-48-30.nextgentel.com ([10.24.104.19]) [84.48.30.117] by smtp.uib.no for moo-cows@the-b.org with esmtp (Exim 4.34) id 1EYvKI-0002oW-O0; Mon, 07 Nov 2005 01:57:34 +0100 Message-ID: <436EA721.30907@uib.no> Date: Mon, 07 Nov 2005 02:00:17 +0100 From: Daniel Jung User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Discussion related to the MOO platform." Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-checked-clean: by exiscan on noralf X-Scanner: 9d3c7cba7065ff196a5217a1b334436d http://tjinfo.uib.no/virus.html X-UiB-SpamFlag: NO UIB: 0 hits, 8.0 required X-UiB-SpamReport: spamassassin found; X-Virus-Scanned: by amavisd-new Cc: Subject: [Moo-cows] default value type X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 00:57:45 -0000 Hi A collegue of mine once set the email addresses on the $network object through a web formular. Somehow, CRLF was send along, and the value was not coerced into a STR, but left (and set) as a one-element LIST. This messed up the MOO entirely; no passwords were sent anymore etc., because the calling verbs in the $mail_agent expect STR and don't catch errors. My collegue works almost entirely in web, and had no idea what was going on. If he had been given a warning like You just set the property to being a LIST, while the MOO expects a STR. Please check if you are sure about that. he would have understood though, and would have been able to change it. So I looked into this automatic warning. When setting a property (apart from .description, which is a known "type shifter", and which I have thus filtered out), I check if the parent's (ancestors') properties are of the same type. If there is a discrepancy, I warn the user and say, e.g., This property's type (LIST) is not what the parent's property's is (STR). This may cause conflicts in verbs where this property is called. Please check if this is correct. Works. But what do I do with native properties, when there are no parents to compare to, like the $network email addresses? So I'm looking for a default/expected value type from somewhere. But there isn't. It would have been nice to have this implemented in the server; ;property_info(OBJ , STR ) => {owner, perms, default_type} but it isn't. And yes, I see all the problems. It's not going to happen. So I wondered if I could use the :init_for_core and grep the verb body. E.g., when it says $network:init_for_core ---------------------- 4: this.reply_address = "moomailreplyto@yourhost"; 5: this.errors_to_address = "moomailerrors@yourhost"; one could easily extract the information that the value on the right hand of the equation is a STR. I thought I had it. But then I checked the other init_for_core verbs, and ran into two problems. PROBLEM I What to do with loops like these (making them up for the sake of the argument) for p in ({"foo", "bar", "baz"}) this.(p) = ""; endfor or for p in (properties(this)) this.(p) = ""; endfor or, put another way, this.first_connect_time = this.last_connect_time = $maxint; PROBLEM II Say a player wants to set his .home property via web. In order to warn him, I want to know what the .home property type should be, and check the ancestor path, ending up at $player. I'm then grepping the verb body for a line beginning with "this.(name) = ", and eval the coerced type of the rest of the line. $player:init_for_core --------------------- 9: if ($code_utils:verb_location() != this) 10: if (this in {$no_one, $hacker}) 11: this.home = $nothing; 12: else 13: clear_property(this, "home"); 14: endif 24: else 26: this.home = $player_start; 53: endif OK, this.home is OBJ both in line 11 and 26. But how do I know which line applies to the case at hand? I mean, I can read and understand the code allright, but automatically? Consider that another property could be more complicated, and be something like if ($code_utils:verb_location() != this) if (this in {$no_one, $hacker}) this.foo = ""; elseif (this == $locker_gnome) this.foo = 0; else clear_property(this, "foo"); endif else this.foo = {}; endif (highly unlikely, but you get the picture) Is it just too obfuscated to grep and automatically extract a default value type from the init_for_core verbs? Other ideas? Thanks! - Daniel From neil.fraser@gmail.com Sun Nov 6 23:17:21 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA75HIRb030326 for ; Sun, 6 Nov 2005 23:17:19 -0600 Received: by nproxy.gmail.com with SMTP id x37so68201nfc for ; Sun, 06 Nov 2005 21:17:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sNSKxb3J0pr8CVpciZJpAT+X60j3ep/iqHOM05vE6iERZe3ersAMzQteHsDjXm5XG9gtWRDlbrqPlc3+lyc95oQtKURDkQBDmIsbtBMJNnbwNGYFEMDJQm/oLnrDY0ntGjIdwkmf8LQovT2PaTa8L5+TWKahuKi8MKKHJV0d7vw= Received: by 10.48.157.3 with SMTP id f3mr629600nfe; Sun, 06 Nov 2005 21:17:18 -0800 (PST) Received: by 10.48.49.7 with HTTP; Sun, 6 Nov 2005 21:17:18 -0800 (PST) Message-ID: <416401b00511062117t670db00x@mail.gmail.com> Date: Mon, 7 Nov 2005 00:17:18 -0500 From: Neil Fraser To: "General MOO discussion." Subject: Re: [Moo-cows] unknown data type In-Reply-To: <436E908D.6000009@uib.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <436D5680.2070202@uib.no> <416401b00511061416l687caabey@mail.gmail.com> <436E908D.6000009@uib.no> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id jA75HIRb030326 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 05:17:22 -0000 On 06/11/05, Daniel Jung wrote: > if (is_member(string, $code_utils.error_names)) > return ERR; > endif > > to prevent "E_BOGUS" etc. from returning ERR. We should have something > like $code_utils.type_names with sorted entries Minor nit: use 'in' not 'is_member()' since you don't need case-sensitivity. The rest of your checks aren't case sensitive. > > I'm still dreaming of a tenth value type, an "associated label/value > list" value, which, in this case, could look like > > << "INT" => INT; "OBJ" => OBJ >> > > etc. and then > > return $code_utils.type_names[string] | -1; > > without having to go through :assoc etc. > Agreed, that's one thing that PHP did right. You can index into lists with numbers, strings, or almost anything else you want. All lists are hashes. > As for security, task_perms would have to be non-wiz, but the verb > should demand wiz perms to be initiated, or something. Or am I missing > something here? Well, if you execute it as $everyman's perms (or whatever your database uses for that kind of thing) then you are safe incase someone passes "#1234.wizard = 1" to it. But you can still get into trouble with a denial of service attack. As we all know, any Moo can be crashed stone dead with the following: x={}; while(1) x={x,x}; endwhile In your case you could just check for the presence of non-alpha characters (plus underscore). > So I reckon you're not opposed to just pick -1 as a type_not_found > equivalent? It makes sense. 0 would be my first choice, but in this case you are uniquely colliding between the Moo server's 0-based lists and the Moo's 1-based list. > I had an error raise there before, but removed it... :) It didn't seem > right to let the server do something the verb could do (sorry for > sounding naïve; I hope you get what I'm trying to say here). And I am > reluctant to use try/except to handle errors I actually expect or force > myself... but maybe the better way to do it. I should work on my Java > skills. I'd don't like to encourage people to use try/except. It definitely has its uses, but I've seen too many people use it as a crutch for sloppy programming. Weird error? Don't bother debugging, just trap it. > > In retrospect a far better approach would have been to > > simply define #0.STR to be 2, thus $STR would be used in place of STR. > > Agree. And, IMHO, it would have been better to not use #0 as the system > object, and 0 as the INT equivalent. Note that (so long as you are wizard) there's nothing stoping you from defining $INT, $OBJ, $LIST etc yourself and using them instead of the magic globals. That's precisely what Moo Canada has done. We intend to switch off those pesky globals variables in the near future. -- Neil Fraser, Programmer & Wizard http://neil.fraser.name From neil.fraser@gmail.com Sun Nov 6 23:32:49 2005 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.198]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA75WkiI032129 for ; Sun, 6 Nov 2005 23:32:47 -0600 Received: by nproxy.gmail.com with SMTP id x37so68380nfc for ; Sun, 06 Nov 2005 21:32:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uKLve2NX2JsuYlYK8uv14N4TfI/URpmOrCP6cGiSFYD9o8xSVFdkBtDNkjy8hFuvfOnNHbl0Gh6usT764reWPPqSE1tyuF7Y6X4dm6ZYx0RythubCeWmhxv65GLjQN4h2ejxWJ31oU7teEP6eJW96INT+6Hle+6tMiQHgmn44EM= Received: by 10.48.42.12 with SMTP id p12mr1342733nfp; Sun, 06 Nov 2005 21:32:46 -0800 (PST) Received: by 10.48.49.7 with HTTP; Sun, 6 Nov 2005 21:32:46 -0800 (PST) Message-ID: <416401b00511062132u2e118ff5o@mail.gmail.com> Date: Mon, 7 Nov 2005 00:32:46 -0500 From: Neil Fraser To: "General MOO discussion." Subject: Re: [Moo-cows] default value type In-Reply-To: <436EA721.30907@uib.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <436EA721.30907@uib.no> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id jA75WkiI032129 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 05:32:50 -0000 On 06/11/05, Daniel Jung wrote: > This property's type (LIST) is not what the parent's property's > is (STR). This may cause conflicts in verbs where this property > is called. Please check if this is correct. > [...] > Other ideas? One method would be to have shadow properties. So you'd have: #123.victim = #234 #123._victim_type = {OBJ} Your web editor would check for a _xxx_type property before allowing a new value. You could create and populate all these _xxx_type properties automatically based on the current values, then manually update the ones that need extra types. A completely different method would be to write a script which takes today's database and uses the command-line browser to inspect the property types and compare them with yesterday's database. Any type changes on core objects (or some other criteria) would be emailed to the admin. http://neil.fraser.name/software/moobrowser/command.html I'm not saying either of these are good ideas, just throwing out some thoughts which might point you in a direction you hadn't thought of. -- Neil Fraser, Programmer & Wizard http://neil.fraser.name From loufah2@yahoo.com Thu Nov 10 17:04:32 2005 Received: from web50707.mail.yahoo.com (web50707.mail.yahoo.com [206.190.38.105]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id jAAN4Ru1032568 for ; Thu, 10 Nov 2005 17:04:27 -0600 Received: (qmail 44090 invoked by uid 60001); 10 Nov 2005 23:04:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=om8IjOnpr0kg/z9fJRa7no5x76ZLwqHXW/hf6mw2cOt74xlKe0wCJiE+pRNuemPDJ3LpEi/uPz0d+zTENgNu7PsM/3fNEX4ugqt6wMZ2tf8o3+O1Z81lWt7zn5pVOfBdkPuYI1ATQN1I8NttCxMAU59ZkHQ92nAA/YSc2slwJMs= ; Message-ID: <20051110230427.44088.qmail@web50707.mail.yahoo.com> Received: from [135.207.22.213] by web50707.mail.yahoo.com via HTTP; Thu, 10 Nov 2005 15:04:26 PST Date: Thu, 10 Nov 2005 15:04:26 -0800 (PST) From: loufah loufah Subject: Re: [Moo-cows] default value type To: "General MOO discussion." In-Reply-To: <436EA721.30907@uib.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 23:04:40 -0000 You wouldn't always want to restrict a property's value's type to be the type it had in a brand-new core. .description can be a string or a list of strings. A mailing list's .is_usable_by property can be an integer or a list of object IDs. The only real solution is to manually inspect all the properties that your users tend to set, and write :set_xxxx verbs that will do the appropriate type checking and will then set the property value. Tell people to call these verbs rather than setting properties directly. There's already a number of these verbs, such as :set_name and :set_description, and the note editor will try to call them if they exist(I wish @set would call them, too). __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com From compgeek13@gmail.com Sun Nov 13 12:28:20 2005 Received: from blowfish.brainstorminternet.net (blowfish.brainstorminternet.net [66.118.220.16]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jADISHhx010598 for ; Sun, 13 Nov 2005 12:28:17 -0600 Received: from haw29338 (47.196.118.66.brainstorminternet.net [66.118.196.47]) by blowfish.brainstorminternet.net (Postfix) with SMTP id 9133A7D468 for ; Sun, 13 Nov 2005 11:28:16 -0700 (MST) Message-ID: <000c01c5e880$04782dd0$1200a8c0@mesa.k12.co.us> From: "Tyler Littlefield" To: "General MOO discussion." Date: Sun, 13 Nov 2005 11:28:17 -0700 Organization: dataplus Worldwide MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0009_01C5E845.57A9CB20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] help with some inheritance questions? X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Tyler Littlefield , "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 18:28:20 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C5E845.57A9CB20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hay all, I have a few questions. I am using lambda btw. How do I inherit a player to make it a mob? How would I make the mob = move around at random with out having to activate a verb, and generate = random mobs? Also, if I do this, is there a way to keep them out of = places? And, for the last question. Is there a way to inherit a verb to another? I am making emotes, and if = I can make it work like it is supposed to, I can just write the verbs = out, and then just inherit the origenal to it. Tyler Littlefield. Visit my site, for custom software and webpage design. We handle all of = your computer-related needs with experience, professionalism, and much = more. http://tysplace.the-leetest.net ------=_NextPart_000_0009_01C5E845.57A9CB20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hay all,
I have a few questions.
I am using lambda btw.
How do I inherit a player to make it a = mob? How=20 would I make the mob move around at random with out having to activate a = verb,=20 and generate random mobs? Also, if I do this, is there a way to keep = them out of=20 places?
And, for the last = question.
Is there a way to inherit a verb to = another? I am=20 making emotes, and if I can make it work like it is supposed to, I can = just=20 write the verbs out, and then just inherit the origenal to = it.
Tyler Littlefield.
Visit my site, = for custom=20 software and webpage design. We handle all of your computer-related = needs with=20 experience, professionalism, and much more.
http://tysplace.the-leetest.net<= /A>
------=_NextPart_000_0009_01C5E845.57A9CB20-- From compgeek13@gmail.com Sun Nov 13 12:37:01 2005 Received: from blowfish.brainstorminternet.net (blowfish.brainstorminternet.net [66.118.220.16]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jADIax94011803 for ; Sun, 13 Nov 2005 12:36:59 -0600 Received: from haw29338 (47.196.118.66.brainstorminternet.net [66.118.196.47]) by blowfish.brainstorminternet.net (Postfix) with SMTP id 7ED0B7DBB6 for ; Sun, 13 Nov 2005 11:36:57 -0700 (MST) Message-ID: <000f01c5e881$3b0b7900$1200a8c0@mesa.k12.co.us> From: "Tyler Littlefield" To: "General MOO discussion." Date: Sun, 13 Nov 2005 11:36:57 -0700 Organization: dataplus Worldwide MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C5E846.8D920940" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] where to put objects? X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Tyler Littlefield , "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 18:37:01 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C5E846.8D920940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hay, I notice that there are objects like $thing, $container, and others. If I want to make another object, where might I put it? Also, how would I show obvious exits? I am not sure if I have asked that one before. Is there an event that fires when someone enters a room? I want the list of players in the room to also show up in the = description, and I also want it to say when a player enters the room Thanks, Tyler Littlefield. Visit my site, for custom software and webpage design. We handle all of = your computer-related needs with experience, professionalism, and much = more. http://tysplace.the-leetest.net ------=_NextPart_000_000C_01C5E846.8D920940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hay,
I notice that there are objects like = $thing,=20 $container, and others.
If I want to make another object, where = might I put=20 it?
Also, how would I show obvious = exits?
I am not sure if I have asked that one=20 before.
Is there an event that fires when = someone enters a=20 room?
I want the list of players in the room = to also show=20 up in the description, and I also want it to say when a player enters = the=20 room
Thanks,
Tyler Littlefield.
Visit my site, = for custom=20 software and webpage design. We handle all of your computer-related = needs with=20 experience, professionalism, and much more.
http://tysplace.the-leetest.net<= /A>
------=_NextPart_000_000C_01C5E846.8D920940-- From groucho7@operamail.com Sun Nov 13 20:44:02 2005 Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAE2hwBR028526 for ; Sun, 13 Nov 2005 20:43:58 -0600 Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id E7B001800402 for ; Mon, 14 Nov 2005 02:43:57 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 14 Nov 2005 02:43:57 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id D15E923D25; Mon, 14 Nov 2005 02:43:57 +0000 (GMT) Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Gary Foiles" To: "Tyler Littlefield" , "General MOO discussion." Date: Sun, 13 Nov 2005 21:43:57 -0500 Subject: Re: [Moo-cows] where to put objects? Received: from [71.50.20.89] by ws5-3.us4.outblaze.com with http for groucho7@operamail.com; Sun, 13 Nov 2005 21:43:57 -0500 X-Originating-Ip: 71.50.20.89 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20051114024357.D15E923D25@ws5-3.us4.outblaze.com> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id jAE2hwBR028526 Cc: X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 02:44:03 -0000 Tyler Littlefield asked: > I notice that there are objects like $thing, $container, and others. > If I want to make another object, where might I put it? To which I humbly try to respond: "Where" as in the location of the object? That wouldn't matter at all. Are you asking how to make some new object something that can be referred to by using the dollar-sign naming form? This is from the Lambda MOO Programmer's Guide: The LambdaCore database uses several properties on #0, the system object, for various special purposes. For example, the value of #0.room is the "generic room" object, #0.exit is the "generic exit" object, etc. This allows MOO programs to refer to these useful objects more easily (and more readably) than using their object numbers directly. To make this usage even easier and more readable, the expression $name (where name obeys the rules for variable names) is an abbreviation for #0.name Thus, for example, the value $nothing mentioned earlier is really #-1, the value of #0.nothing. Tyler Littlefield further inquired: > Also, how would I show obvious exits? My two and a half cents on this subject is: There are two parts to this: (1) collecting the information on the obvious exits in a room, and (2) displaying it to players. (1) $room has a verb called :obvious_exits which returns a list of objects representing the $exit objects that are deemed to be exits from that room. So once you get that, you'll want to use that to make some kind of string, or list of strings, representation of information that will be more helpful to your players, like the name of each exit, maybe the shortest alias, maybe the name of the room the exit leads to, etc. Until finally, you have a string or list of strings ready to be displayed for your players. (2) OK, let's see what's there already. When a player enters a room or looks at a room, that calls $room's own :look_self verb. NAME. That verb in turn calls $room's :title verb to display the name of the room. DESCRIPTION. Then it passes control briefly up to the :look_self verb on the $room's parent object, Root Class (#1), that in turn calls the :description verb to give the description of the room (Wait, we're almost done). CONTENTS. Then $room's :look_self verb calls $room's own :tell_contents verb. This verb will give different results based on whether it is "dark" in the room and on how the room owner wants the contents to be displayed ("ctype"). There is more than one way you could attach your exit info to the room's displayed info, but one way would be to insert some lines into the room's :tell_contents verb, that calls a new verb called :tell_obvious_exits. Your :tell_obvious_exits verb could take the info from (1) above and call the player's :tell_lines verb to display that info. And yet more from Tyler Littlefield: > Is there an event that fires when someone enters a room? And I say: Yes, the primitive (or built-in) verb move() is what changes an object's location from one place to another. move() always calls the :enterfunc verb on the new location. > I want the list of players in the room to also show up in the > description, I reply: See the code already in the $room:tell_contents verb and pay close attention to the "ctype" stuff and how it changes the output. Tyler goes on: > and I also want it to say when a player enters the room I respond: See the :enterfunc stuff above. Tyler politely finishes with: > Thanks, > Tyler Littlefield. And I sum up: You are very welcome. I only hope I have been helpful in some small way. I worry that I might have dwelt too much on small stuff, but I'm never sure what MOO experience the questioner has. Enjoy! Gary Foiles groucho7@operamail.com Sekiji at Harper's Tale MOO Gary at Lambda MOO -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.opera.com Powered by Outblaze From mduhan@fringenet.net Sun Nov 13 22:26:38 2005 Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id jAE4QYNA006819 for ; Sun, 13 Nov 2005 22:26:34 -0600 Received: (qmail 30799 invoked from network); 14 Nov 2005 04:26:34 -0000 Received: from unknown (HELO ?172.16.1.33?) (cjfringe@69.219.33.211 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 14 Nov 2005 04:26:33 -0000 In-Reply-To: <000f01c5e881$3b0b7900$1200a8c0@mesa.k12.co.us> References: <000f01c5e881$3b0b7900$1200a8c0@mesa.k12.co.us> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 Content-Type: multipart/alternative; boundary=Apple-Mail-1--983629788 Message-Id: <6D5DE2B1-A108-4B67-B5CC-27C4518D21CC@fringenet.net> From: mduhan@fringenet.net Subject: Re: [Moo-cows] where to put objects? Date: Sun, 13 Nov 2005 22:26:32 -0600 To: Tyler Littlefield , "General MOO discussion." X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new Cc: X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 04:26:38 -0000 --Apple-Mail-1--983629788 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed A lot of this information should already in several of the basic guides out there. I recommend reading them first to gain a better understanding of MOO programming. There's a good collection at: http://www.fringenet.net/moo Things like rooms listing players/objects present and announcing their arrival should be built into almost all MOO cores (with the exception of the minimal.db, which I don't recommend starting with). For adding a list of obvious exits to rooms, here's a little snippet of code that I use: @prop $room."tell_exits" 1 rc @verb $room:"tell_exits" this none this rdx @program $room:tell_exits "Copyright (c) 1996-2005 Matthew Duhan."; "Unauthorized use, duplication, or porting is strictly forbidden"; "without express written permission from Matthew Duhan."; exits = {}; for xit in (this:obvious_exits()) exits = {@exits, (xit.name + " (to " + xit.dest.name + ")")}; endfor player:tell("Obvious exits: ", this.exits ? $string_utils:english_list (exits) | "None", "."); "Added by Matthew Duhan 5/22/97 to allow exits to be shown."; . Finally, edit $room:look_self and add these 3 lines to the end of the verb: if (this.tell_exits) this:tell_exits(); endif HTH, Matt On Nov 13, 2005, at 12:36, Tyler Littlefield wrote: > Hay, > I notice that there are objects like $thing, $container, and others. > If I want to make another object, where might I put it? > Also, how would I show obvious exits? > I am not sure if I have asked that one before. > Is there an event that fires when someone enters a room? > I want the list of players in the room to also show up in the > description, and I also want it to say when a player enters the room > Thanks, > Tyler Littlefield. > Visit my site, for custom software and webpage design. We handle > all of your computer-related needs with experience, > professionalism, and much more. > http://tysplace.the-leetest.net --Apple-Mail-1--983629788 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
A lot of this information = should already in several of the basic guides out there. I recommend = reading them first to gain a better understanding of MOO programming. = There's a good collection at:
http://www.fringenet.net/moo

Things like = rooms listing players/objects present and announcing their arrival = should be built into almost all MOO cores (with the exception of the = minimal.db, which I don't recommend starting with). For adding a list of = obvious exits to rooms, here's a little snippet of code that I = use:

@prop = $room."tell_exits" 1 rc

@verb $room:"tell_exits" = this none this rdx
@program = $room:tell_exits
"Copyright (c) 1996-2005 Matthew = Duhan.";
"Unauthorized use, duplication, or porting is = strictly forbidden";
"without express written permission from = Matthew Duhan.";
exits =3D {};
for xit in = (this:obvious_exits())
=A0 exits =3D {@exits, (xit.name + " = (to " + xit.dest.name + = ")")};
endfor
player:tell("Obvious exits: ", = this.exits ? $string_utils:english_list(exits) | "None", = ".");
"Added by Matthew Duhan 5/22/97 to allow exits to be = shown.";
.

Finally, edit = $room:look_self and add these 3 lines to the end of the = verb:
=A0 if (this.tell_exits)
=A0 =A0 = this:tell_exits();
=A0 endif


HTH,
Matt


On Nov 13, = 2005, at 12:36, Tyler Littlefield wrote:
=
Hay,
I notice that there are objects like $thing, = $container, and others.
If I want to make another object, where might I put = it?
Also, how would I = show obvious exits?
I = am not sure if I have asked that one before.
Is there an event that fires when someone = enters a room?
I want = the list of players in the room to also show up in the description, and = I also want it to say when a player enters the room
=
Thanks,
Tyler Littlefield.
Visit my site, for = custom software and webpage design. We handle all of your = computer-related needs with experience, professionalism, and much = more.
http://tysplace.the-leetest.net
= --Apple-Mail-1--983629788-- From compgeek13@gmail.com Mon Nov 14 22:35:45 2005 Received: from blowfish.brainstorminternet.net (blowfish.brainstorminternet.net [66.118.220.16]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAF4Zg8p020456 for ; Mon, 14 Nov 2005 22:35:42 -0600 Received: from haw29338 (47.196.118.66.brainstorminternet.net [66.118.196.47]) by blowfish.brainstorminternet.net (Postfix) with SMTP id 9B82B7DEAE for ; Mon, 14 Nov 2005 21:35:41 -0700 (MST) Message-ID: <000801c5e99e$0eba4480$1200a8c0@mesa.k12.co.us> From: "Tyler Littlefield" To: "General MOO discussion." Date: Mon, 14 Nov 2005 21:35:50 -0700 Organization: dataplus Worldwide MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C5E963.61DB18F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] problem with obvious exits code X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: Tyler Littlefield , "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 04:35:46 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C5E963.61DB18F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hay, When I put in your code, I see the following information. #3:tell_exits (this =3D=3D #62), line 2: Variable not found graphic 158 = ... called from #3:look_self (this =3D=3D #62), line 8 ... called from #3:l*ook (this =3D=3D #62), line 2 graphic 650=20 (End of traceback) graphic 859 sorry for all the graphic stuff, its just randomly inserted non-needed = comments from the screen reader @recycle $screenreader lol Later, Tyler Littlefield. Visit my site, for custom software and webpage design. We handle all of = your computer-related needs with experience, professionalism, and much = more. http://tysplace.the-leetest.net ------=_NextPart_000_0005_01C5E963.61DB18F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hay, When I put in your code, I see the = following=20 information.
#3:tell_exits (this =3D=3D #62), line = 2:  Variable=20 not found graphic 158 ... called from #3:look_self (this =3D=3D #62), = line 8
...=20 called from #3:l*ook (this =3D=3D #62), line 2 graphic 650
(End of = traceback)=20 graphic 859
sorry for all the graphic stuff, its = just randomly=20 inserted non-needed comments from the screen reader
@recycle $screenreader
lol
Later,
Tyler Littlefield.
Visit my site, = for custom=20 software and webpage design. We handle all of your computer-related = needs with=20 experience, professionalism, and much more.
http://tysplace.the-leetest.net<= /A>
------=_NextPart_000_0005_01C5E963.61DB18F0-- From mduhan@fringenet.net Mon Nov 14 23:27:23 2005 Received: from smtp114.sbc.mail.re2.yahoo.com (smtp114.sbc.mail.re2.yahoo.com [68.142.229.91]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with SMTP id jAF5RGwj026056 for ; Mon, 14 Nov 2005 23:27:16 -0600 Received: (qmail 10781 invoked from network); 15 Nov 2005 05:27:16 -0000 Received: from unknown (HELO ?172.16.1.33?) (cjfringe@69.219.33.211 with plain) by smtp114.sbc.mail.re2.yahoo.com with SMTP; 15 Nov 2005 05:27:15 -0000 In-Reply-To: <000801c5e99e$0eba4480$1200a8c0@mesa.k12.co.us> References: <000801c5e99e$0eba4480$1200a8c0@mesa.k12.co.us> Mime-Version: 1.0 (Apple Message framework v746.2) X-Priority: 3 Content-Type: multipart/alternative; boundary=Apple-Mail-2--893583923 Message-Id: <2AD4F385-F4F4-4D0E-96AE-B2223F4D61B4@fringenet.net> From: mduhan@fringenet.net Subject: Re: [Moo-cows] problem with obvious exits code Date: Mon, 14 Nov 2005 23:27:18 -0600 To: Tyler Littlefield , "General MOO discussion." X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new Cc: X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 05:27:28 -0000 --Apple-Mail-2--893583923 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed A little more information would be helpful. Did you add the property before appending the verb? What core are you using? What client are you using? Line 2 of the tell_exits verb is a comment, so it should not be failing there unless you did not use proper comment style. I suggest taking this discussion off-list, so as to not spam everyone on the list. E-mail me or IM cjfringe. On Nov 14, 2005, at 22:35, Tyler Littlefield wrote: > hay, When I put in your code, I see the following information. > #3:tell_exits (this == #62), line 2: Variable not found graphic > 158 ... called from #3:look_self (this == #62), line 8 > ... called from #3:l*ook (this == #62), line 2 graphic 650 > (End of traceback) graphic 859 > sorry for all the graphic stuff, its just randomly inserted non- > needed comments from the screen reader > @recycle $screenreader > lol > Later, > Tyler Littlefield. > Visit my site, for custom software and webpage design. We handle > all of your computer-related needs with experience, > professionalism, and much more. > http://tysplace.the-leetest.net --Apple-Mail-2--893583923 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
A little more information = would be helpful.

Did you add the property before = appending the verb? What core are you using? What client are you using? = Line 2 of the tell_exits verb is a comment, so it should not be failing = there unless you did not use proper comment style.

I suggest taking this = discussion off-list, so as to not spam everyone on the list. E-mail me = or IM cjfringe.
= --Apple-Mail-2--893583923-- From bbrace@dslnorthwest.net Fri Nov 18 11:50:20 2005 Received: from iron.pdx.net (iron.pdx.net [207.149.241.18]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAIHoB7q010701 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 18 Nov 2005 11:50:13 -0600 Received: (qmail 16251 invoked from network); 18 Nov 2005 09:50:10 -0800 Received: from 069-064-229-114.pdx.net (HELO dslnorthwest.net) (69.64.229.114) by iron.pdx.net with SMTP; 18 Nov 2005 09:50:10 -0800 Date: Fri, 18 Nov 2005 09:49:54 -0800 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: { brad brace } To: moo-cows@moo-cows.com Content-Transfer-Encoding: 7bit In-Reply-To: <416401b0050914082178cfc804@mail.gmail.com> Message-Id: X-Mailer: Apple Mail (2.553) X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] MooMentor? X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 17:50:21 -0000 I've been interested Moos for a long time but quite frankly lack the programming facility to make one of my own. Wondering if there's anyone who might enjoy building an arts-related moo on my fast dsl server (a separate Mac OSX computer that you'd have remote access to), and letting me "look over your shoulder." (?) Thanks! /:b From compgeek13@gmail.com Fri Nov 18 22:34:50 2005 Received: from cluster1.bresnan.net (cluster1.bresnan.net [69.145.248.57]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAJ4YitF020810 for ; Fri, 18 Nov 2005 22:34:44 -0600 Received: from [69.146.198.44] (HELO dataplus4puarg) by fe-3.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 108025334 for moo-cows@moo-cows.com; Fri, 18 Nov 2005 21:34:44 -0700 Message-ID: <001501c5ecc2$980852a0$2cc69245@dataplus4puarg> From: "tyler" To: "General MOO discussion." Date: Fri, 18 Nov 2005 20:34:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new Subject: [Moo-cows] help with verb? X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 04:34:58 -0000 Hay, I have a question. I am looking at some verbs, and I see something like s*ay what is the * for? Thanks, Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] From groucho7@operamail.com Fri Nov 18 23:38:02 2005 Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAJ5bwFp027421 for ; Fri, 18 Nov 2005 23:37:58 -0600 Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 5CD991800137 for ; Sat, 19 Nov 2005 05:37:58 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 19 Nov 2005 05:37:58 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 533C423D2B; Sat, 19 Nov 2005 05:37:58 +0000 (GMT) Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Gary Foiles" To: "General MOO discussion." Date: Sat, 19 Nov 2005 00:37:58 -0500 Subject: Re: [Moo-cows] help with verb? Received: from [71.50.20.89] by ws5-3.us4.outblaze.com with http for groucho7@operamail.com; Sat, 19 Nov 2005 00:37:58 -0500 X-Originating-Ip: 71.50.20.89 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20051119053758.533C423D2B@ws5-3.us4.outblaze.com> X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by new.cgi101.com id jAJ5bwFp027421 X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 05:38:05 -0000 ----- Original Message ----- From: tyler To: "General MOO discussion." Subject: [Moo-cows] help with verb? Date: Fri, 18 Nov 2005 20:34:56 -0800 > > Hay, > I have a question. > I am looking at some verbs, and I see something like > s*ay > what is the * for? > Thanks, > Tyler Littlefield. >From the LambdaMOO Programmers' Manual: If the [verb] name contains a single star, however, then the name matches any prefix of itself that is at least as long as the part before the star. For example, the verb-name `foo*bar' matches any of the strings `foo', `foob', `fooba', or `foobar'; note that the star itself is not considered part of the name. If the verb name ends in a star, then it matches any string that begins with the part before the star. For example, the verb-name `foo*' matches any of the strings `foo', `foobar', `food', or `foogleman', among many others. As a special case, if the verb-name is `*' (i.e., a single star all by itself), then it matches anything at all. -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.opera.com Powered by Outblaze From compgeek13@gmail.com Fri Nov 18 23:48:19 2005 Received: from cluster1.bresnan.net (cluster1.bresnan.net [69.145.248.57]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAJ5mGdb028664 for ; Fri, 18 Nov 2005 23:48:16 -0600 Received: from [69.146.198.44] (HELO dataplus4puarg) by fe-2.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 237133998 for moo-cows@moo-cows.com; Fri, 18 Nov 2005 22:48:16 -0700 Message-ID: <000a01c5eccc$d67b5e60$2cc69245@dataplus4puarg> From: "tyler" To: "General MOO discussion." References: <20051119053758.533C423D2B@ws5-3.us4.outblaze.com> Subject: Re: [Moo-cows] help with verb? Date: Fri, 18 Nov 2005 21:48:16 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 05:48:20 -0000 so, it would be like an alias? Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] ----- Original Message ----- From: "Gary Foiles" To: "General MOO discussion." Sent: Friday, November 18, 2005 9:37 PM Subject: Re: [Moo-cows] help with verb? > > ----- Original Message ----- > From: tyler > To: "General MOO discussion." > Subject: [Moo-cows] help with verb? > Date: Fri, 18 Nov 2005 20:34:56 -0800 > > > > > Hay, > > I have a question. > > I am looking at some verbs, and I see something like > > s*ay > > what is the * for? > > Thanks, > > Tyler Littlefield. > > >From the LambdaMOO Programmers' Manual: > > If the [verb] name contains a single star, however, then the name matches any prefix of itself that is at least as long as the part before the star. For example, the verb-name `foo*bar' matches any of the strings `foo', `foob', `fooba', or `foobar'; note that the star itself is not considered part of the name. > > If the verb name ends in a star, then it matches any string that begins with the part before the star. For example, the verb-name `foo*' matches any of the strings `foo', `foobar', `food', or `foogleman', among many others. As a special case, if the verb-name is `*' (i.e., a single star all by itself), then it matches anything at all. > > > -- > _______________________________________________ > Surf the Web in a faster, safer and easier way: > Download Opera 8 at http://www.opera.com > > Powered by Outblaze > > _______________________________________________ > Moo-cows mailing list > Moo-cows@moo-cows.com > http://lists.cgi101.com/mailman/listinfo/moo-cows From moocows@cipri.com Sat Nov 19 02:41:57 2005 Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.21]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAJ8fpEq013019 for ; Sat, 19 Nov 2005 02:41:52 -0600 Received: from BorgCube.cipri.com ([62.163.46.209]) by amsfep14-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20051119084150.ULLR1774.amsfep14-int.chello.nl@BorgCube.cipri.com> for ; Sat, 19 Nov 2005 09:41:50 +0100 Received: from transwarp.cipri.com ([192.168.1.2] helo=transwarp) by BorgCube.cipri.com with smtp (Exim 3.35 #1 (Debian)) id 1EdOIA-00035V-00 for ; Sat, 19 Nov 2005 09:41:50 +0100 Message-ID: <00c501c5ece5$14862a10$0201a8c0@transwarp> From: "Cipriano Groenendal" To: "General MOO discussion." References: <20051119053758.533C423D2B@ws5-3.us4.outblaze.com> <000a01c5eccc$d67b5e60$2cc69245@dataplus4puarg> Subject: Re: [Moo-cows] help with verb? Date: Sat, 19 Nov 2005 09:41:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 08:41:58 -0000 Aliasses are different names. Using *'s can be for that, but also for making commands shorter. here are some "real life" examples: #1:"connect_msg disconnect_msg" is an alias. It can be called with both names. Inside the verb one can use the variable "verb" to see which one was used. #1:announce*_all_but is an abbreviated name, that can be called either with announce, announce_all, announce_all_but, and as announce_all_b if you wanted. Like above, the var "verb" contains the name of the verb used. #1:>* is also an abbreviated name. Any command that starts with a > will be caugh by this verb. This could be used, for example, to make a page verb. >Foo Hi could send the page "hi" to Foo. As above, "verb" contains the full string used to call this verb. This all works with typed commands, and with programmed verb calls, ofcourse. Cipri ----- Original Message ----- From: "tyler" To: "General MOO discussion." Sent: 19 November, 2005 06:48 Subject: Re: [Moo-cows] help with verb? > so, it would be like an alias? > Tyler Littlefield. > Check out our website: > http://tysplace.the-leetest.net > check out my blog: > livejournal.com/~tylerrl > [my programs don't have bugs, just randomly added features] > > ----- Original Message ----- > From: "Gary Foiles" > To: "General MOO discussion." > Sent: Friday, November 18, 2005 9:37 PM > Subject: Re: [Moo-cows] help with verb? > > >> >> ----- Original Message ----- >> From: tyler >> To: "General MOO discussion." >> Subject: [Moo-cows] help with verb? >> Date: Fri, 18 Nov 2005 20:34:56 -0800 >> >> > >> > Hay, >> > I have a question. >> > I am looking at some verbs, and I see something like >> > s*ay >> > what is the * for? >> > Thanks, >> > Tyler Littlefield. >> >> >From the LambdaMOO Programmers' Manual: >> >> If the [verb] name contains a single star, however, then the name matches > any prefix of itself that is at least as long as the part before the star. > For example, the verb-name `foo*bar' matches any of the strings `foo', > `foob', `fooba', or `foobar'; note that the star itself is not considered > part of the name. >> >> If the verb name ends in a star, then it matches any string that begins > with the part before the star. For example, the verb-name `foo*' matches > any > of the strings `foo', `foobar', `food', or `foogleman', among many others. > As a special case, if the verb-name is `*' (i.e., a single star all by > itself), then it matches anything at all. From compgeek13@gmail.com Sat Nov 19 12:29:15 2005 Received: from cluster1.bresnan.net (cluster1.bresnan.net [69.145.248.57]) by new.cgi101.com (8.13.4/8.13.4/Debian-3) with ESMTP id jAJIT81q009247 for ; Sat, 19 Nov 2005 12:29:09 -0600 Received: from [69.146.198.44] (HELO dataplus4puarg) by fe-3.cluster1.bresnan.net (CommuniGate Pro SMTP 4.3.7) with SMTP id 108305291 for moo-cows@moo-cows.com; Sat, 19 Nov 2005 11:29:08 -0700 Message-ID: <001701c5ed37$21a6a240$2cc69245@dataplus4puarg> From: "tyler" To: "General MOO discussion." References: <20051119053758.533C423D2B@ws5-3.us4.outblaze.com><000a01c5eccc$d67b5e60$2cc69245@dataplus4puarg> <00c501c5ece5$14862a10$0201a8c0@transwarp> Subject: Re: [Moo-cows] help with verb? Date: Sat, 19 Nov 2005 10:29:08 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new X-BeenThere: moo-cows@moo-cows.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: "General MOO discussion." List-Id: General MOO discussion. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 18:29:16 -0000 awesome. Thanks. Tyler Littlefield. Check out our website: http://tysplace.the-leetest.net check out my blog: livejournal.com/~tylerrl [my programs don't have bugs, just randomly added features] ----- Original Message ----- From: "Cipriano Groenendal" To: "General MOO discussion." Sent: Saturday, November 19, 2005 12:41 AM Subject: Re: [Moo-cows] help with verb? > Aliasses are different names. Using *'s can be for that, but also for making > commands shorter. here are some "real life" examples: > #1:"connect_msg disconnect_msg" is an alias. It can be called with both > names. Inside the verb one can use the variable "verb" to see which one was > used. > #1:announce*_all_but is an abbreviated name, that can be called either with > announce, announce_all, announce_all_but, and as announce_all_b if you > wanted. Like above, the var "verb" contains the name of the verb used. > #1:>* is also an abbreviated name. Any command that starts with a > will be > caugh by this verb. This could be used, for example, to make a page verb. > >Foo Hi could send the page "hi" to Foo. As above, "verb" contains the full > string used to call this verb. > > This all works with typed commands, and with programmed verb calls, > ofcourse. > > Cipri > > ----- Original Message ----- > From: "tyler" > To: "General MOO discussion." > Sent: 19 November, 2005 06:48 > Subject: Re: [Moo-cows] help with verb? > > > > so, it would be like an alias? > > Tyler Littlefield. > > Check out our website: > > http://tysplace.the-leetest.net > > check out my blog: > > livejournal.com/~tylerrl > > [my programs don't have bugs, just randomly added features] > > > > ----- Original Message ----- > > From: "Gary Foiles" > > To: "General MOO discussion." > > Sent: Friday, November 18, 2005 9:37 PM > > Subject: Re: [Moo-cows] help with verb? > > > > > >> > >> ----- Original Message ----- > >> From: tyler > >> To: "General MOO discussion." > >> Subject: [Moo-cows] help with verb? > >> Date: Fri, 18 Nov 2005 20:34:56 -0800 > >> > >> > > >> > Hay, > >> > I have a question. > >> > I am looking at some verbs, and I see something like > >> > s*ay > >> > what is the * for? > >> > Thanks, > >> > Tyler Littlefield. > >> > >> >From the LambdaMOO Programmers' Manual: > >> > >> If the [verb] name contains a single star, however, then the name matches > > any prefix of itself that is at least as long as the part before the star. > > For example, the verb-name `foo*bar' matches any of the strings `foo', > > `foob', `fooba', or `foobar'; note that the star itself is not considered > > part of the name. > >> > >> If the verb name ends in a star, then it matches any string that begins > > with the part before the star. For example, the verb-name `foo*' matches > > any > > of the strings `foo', `foobar', `food', or `foogleman', among many others. > > As a special case, if the verb-name is `*' (i.e., a single star all by > > itself), then it matches anything at all. > > _______________________________________________ > Moo-cows mailing list > M