msg00579.html
1999Q1/msg00579.html · 7.9 KB
From the archive 1999Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Naming and Directories? -->
<!--X-From-R13: [nex Uevggre <znexNreqbf.Egnasbeq.SRG> -->
<!--X-Date: Sat, 13 Mar 1999 15:26:40 -0800 -->
<!--X-Message-Id: 199903140718.XAA20005#erdos,Stanford.EDU -->
<!--X-Content-Type: text -->
<!--X-Reference: 199903131800.LAA01388@ami-cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Naming and Directories?</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:mark#erdos,Stanford.EDU">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00572.html">Previous</a>
| <a href="msg00580.html">Next</a>
]
Thread:
[ <a href="msg00572.html">Previous</a>
| <a href="msg00577.html">Next</a>
]
Index:
[ <A HREF="author.html#00579">Author</A>
| <A HREF="#00579">Date</A>
| <A HREF="thread.html#00579">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Naming and Directories?</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Naming and Directories?</LI>
<LI><em>From</em>: Mark Gritter <<A HREF="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</A>></LI>
<LI><em>Date</em>: Sat, 13 Mar 1999 23:18:32 -0800 (PST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Chris Gray writes:
[description snipped]
>
> I tend to use the tables much like scopes in programming languages. For
> example, some of the more basic symbols needed in the scenario are put
> into table "t_base". There are also "t_util", "t_fight", "t_icons",
> "t_graphics", "t_build". When an "area" (no formal definition) is
> built, I tend to put all of the symbols (room-names, local function
> names, special object names, etc.) into that table.
>
Very interesting! This goes farther than I was thinking of, since it looks
like many different sorts of objects (both "in-game" objects like
a shovel or "background" objects like properties) are combined in the
same namespace.
Do you allow aliasing? Could I set up a private directory which contained
name->object mappings for objects which I did not "own", or is the mapping
more strictly scope-like?
> This scheme works reasonably well, but has the expected problem of
> not knowing where to look for a symbol when you get a large number of
> symbols. When I do things like tracebacks on run-time errors, I look
> in all "in use" tables for definitions for symbols encountered (e.g. as
> function parameter values) during the traceback. This is most useful
> when a programmer is testing code and has all the needed table "in use".
> However, I had to add a SysAdmin-only builtin that searches all tables
> in the system (doing a recursive search) for all names for a given
> value. This allows SysAdmin to find out who owns something, or to find
> his own stuff that he has forgotten about. It puts a fairly heavy load
> on the server, however, which is why only SysAdmin can use it.
>
It sounds like even this more limited ability was useful, though. It doesn't
seem possible in your system to "lose" an object or have anonymous objects---
which I think are useful properties to have for debugging.
Mark Gritter
mgritter#cs,stanford.edu
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
<A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00567" HREF="msg00567.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
<UL><LI><EM>From:</EM> Chris Gray <cg#ami-cg,GraySage.Edmonton.AB.CA></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00572.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00580.html">Re: [MUD-Dev] Elder Games</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00572.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00577.html">Re: [MUD-Dev] Naming and Directories?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00579"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00579"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Naming and Directories?</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00660" HREF="msg00660.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Fri 19 Mar 1999, 11:38 GMT
<LI><strong><A NAME="00664" HREF="msg00664.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Sat 20 Mar 1999, 16:16 GMT
</LI>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00571" HREF="msg00571.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 13 Mar 1999, 23:07 GMT
<UL>
<LI><strong><A NAME="00572" HREF="msg00572.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 13 Mar 1999, 23:20 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00579" HREF="msg00579.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Sat 13 Mar 1999, 23:26 GMT
</LI>
</ul>
<LI><strong><A NAME="00577" HREF="msg00577.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 13 Mar 1999, 22:50 GMT
<UL>
<LI><strong><A NAME="00608" HREF="msg00608.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 16 Mar 1999, 12:40 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00581" HREF="msg00581.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 14 Mar 1999, 09:31 GMT
</LI>
<LI><strong><A NAME="00622" HREF="msg00622.html">Re: [MUD-Dev] Naming and Directories?</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 16 Mar 1999, 22:15 GMT
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>