1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  CORBA, RMI, threads -->
<!--X-From-R13: Penaqba Uvyyrfcvr <oenaqbaNebthrgenqre.pbz> -->
<!--X-Date: Thu, 29 Jan 1998 15:53:15 +0000 -->
<!--X-Message-Id: Pine.BSF.3.96.980129084704.18533A&#45;100000#roguetrader,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 34CF03BA.167EB0E7#efrei,fr -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  CORBA, RMI, threads</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:brandon#roguetrader,com">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00341.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00343.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00471.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00012.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00342">Author</A>
&nbsp;|&nbsp;<A HREF="#00342">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00342">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  CORBA, RMI, threads</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  CORBA, RMI, threads</LI>
<LI><em>From</em>: Brandon Gillespie &lt;<A HREF="mailto:brandon#roguetrader,com">brandon#roguetrader,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 29 Jan 1998 08:53:14 -0700 (MST)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Wed, 28 Jan 1998, Marc Eyrignoux wrote:

&gt; In my C++ code, I have coded the Player Character class.  I have an
&gt; object in the world, for example a chest, which is special:  when you
&gt; open it, it exploses and you take damages. As I don't want to create a
&gt; class for each special object in the world, I just have a generic class
&gt; for Objects. So I need to store in the database something like the act
&gt; method of every object. For the chest, the act method will be like (in
&gt; the script language): 
&gt;
&gt; if (taken)
&gt; 	the_PC_who_has_taken_takes_damages();
&gt;
&gt; That's why I need a library that can read the script stored in the
&gt; database.
&gt;
&gt; The object chest was first created in C++. My code looks like (in C++):
&gt; 	object obj;
&gt; 	obj = getObjectFromDatabase();
&gt; 	obj.act();
&gt;
&gt; The act() method reads the script and executes it. So the script has to
&gt; get the values contained in the object, in order to know if the object
&gt; was taken, and it has to modify the values of other objects (in this
&gt; case, the life points of the PC). 

OK... I guess I'll explain ColdC a little more.  While ColdC allows you to
have native methods--its not designed with the same concepts as lua--that
being slapdash mixing of compiled and scripted code.  The ColdC language
was designed as a clean, safe, system for a server to be coded in. 
Because it strongly defines server and database roles, you generally have
a much more stable database (last time I remember a 'crash' on the Cold
Dark was over a year ago).  So basically, you can likely do what you
want--but I wouldn't suggest doing much driver hacking.  The driver is an
interpreter--not the game engine itself.  The game engine is written in
ColdC.  For a manual see:

       <A  HREF="http://ice.cold.org/bin/help?node=coldc">http://ice.cold.org/bin/help?node=coldc</A>

And make note when you are at that web server--*EVERYTHING* there is
written in ColdC, and is all running under the same server (that is, the
entire virtual environment, http server and many other things are all
written in ColdC).

-Brandon


</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="00334" HREF="msg00334.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></STRONG>
<UL><LI><EM>From:</EM> Marc Eyrignoux &lt;Marc.Eyrignoux#efrei,fr&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00341.html">Re: [MUD-Dev] Arctic's Project?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00343.html">Re: [MUD-Dev] Unique items (was: Graphic MUDS/Ultima Online)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00471.html">CORBA, RMI, threads</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00012.html">Re: [MUD-Dev] The impact of the web on muds</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00342"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00342"><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]  CORBA, RMI, threads</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00334" HREF="msg00334.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
Marc Eyrignoux <a href="mailto:Marc.Eyrignoux#efrei,fr">Marc.Eyrignoux#efrei,fr</a>, Wed 28 Jan 1998, 10:09 GMT
<UL>
<LI><strong><A NAME="00340" HREF="msg00340.html">CORBA, RMI, threads</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Thu 29 Jan 1998, 14:46 GMT
<LI><strong><A NAME="00468" HREF="msg00468.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 15 Feb 1998, 13:38 GMT
<LI><strong><A NAME="00471" HREF="msg00471.html">CORBA, RMI, threads</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Mon 16 Feb 1998, 01:53 GMT
</LI>
</LI>
</LI>
<LI><strong><A NAME="00342" HREF="msg00342.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Thu 29 Jan 1998, 15:53 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00012" HREF="msg00012.html">Re: [MUD-Dev] The impact of the web on muds</A></strong>, 
Mike Sellers <a href="mailto:mike#online-alchemy,com">mike#online-alchemy,com</a>, Fri 02 Jan 1998, 21:21 GMT
</LI>
<LI><strong><A NAME="00047" HREF="msg00047.html">Re: [MUD-Dev] The impact of the web on muds</A></strong>, 
JC Lawrence <a href="mailto:claw#under,Eng.Sun.COM">claw#under,Eng.Sun.COM</a>, Tue 06 Jan 1998, 02:44 GMT
<UL>
<LI><strong><A NAME="00048" HREF="msg00048.html">Re: [MUD-Dev] The impact of the web on muds</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Tue 06 Jan 1998, 04:52 GMT
</LI>
<LI><strong><A NAME="00049" HREF="msg00049.html">Re: [MUD-Dev] The impact of the web on muds</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Tue 06 Jan 1998, 04:59 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>