1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  CORBA, RMI, threads -->
<!--X-From-R13: [nep Slevtabhk <[nep.SlevtabhkNrserv.se> -->
<!--X-Date: Wed, 28 Jan 1998 10:09:05 +0000 -->
<!--X-Message-Id: 34CF03BA.167EB0E7#efrei,fr -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.BSF.3.96.980127141954.10986A&#45;100000#roguetrader,com -->
<!--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:Marc.Eyrignoux#efrei,fr">
</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="msg00333.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00335.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00331.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00340.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00334">Author</A>
&nbsp;|&nbsp;<A HREF="#00334">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00334">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>: Marc Eyrignoux &lt;<A HREF="mailto:Marc.Eyrignoux#efrei,fr">Marc.Eyrignoux#efrei,fr</A>&gt;</LI>
<LI><em>Date</em>: Wed, 28 Jan 1998 11:08:58 +0100</LI>
<LI><em>Sender</em>: <A HREF="mailto:eyrignou#efrei,fr">eyrignou#efrei,fr</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Brandon Gillespie wrote:
&gt; 
&gt; On Mon, 26 Jan 1998, Marc Eyrignoux wrote:
&gt; 
&gt; &gt; I would like to know what ColdC exactly does. Is it a better alternative
&gt; &gt; to lua (I mean: can I write some scripts for some objects or monsters,
&gt; &gt; these scripts being able to interact with other datas or objects in
&gt; &gt; memory or in the database, store them in the database, and execute
&gt; &gt; them?)
&gt; 
&gt; Umm, I'm not fully sure what you are asking, but I think the answer is:
&gt; 
&gt;     yes
&gt; 
&gt; Perhaps you could clarify?
For example:
In my C++ code, I have coded the Player Character class.
I have an object in the world, for example a chest, which is special:
when you open it, it exploses and you take damages. As I don't want to
create
a class for each special object in the world, I just have a generic
class
for Objects. So I need to store in the database something like the act
method
of every object. For the chest, the act method will be like (in the
script
language):
if (taken)
	the_PC_who_has_taken_takes_damages();
That's why I need a library that can read the script stored in the
database.
The object chest was first created in C++. My code looks like (in C++):
	object obj;
	obj = getObjectFromDatabase();
	obj.act();
The act() method reads the script and executes it. So the script has to
get
the values contained in the object, in order to know if the object was
taken,
and it has to modify the values of other objects (in this case, the life
points
of the PC).

Now I have a question for Greg: you told me my code should look like:
&gt; event_diver.schedule(new event(real_to_game_time(t)));
But in this case, how do I know what the events refers?
In the constructor, I only store the delay, but not the method that has
to be 
executed when the delay will be attained?

Thanks in advance.
--

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00342" HREF="msg00342.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>
<ul compact><li><em>From:</em> Brandon Gillespie &lt;brandon#roguetrader,com&gt;</li></ul>
<li><strong><A NAME="00340" HREF="msg00340.html">CORBA, RMI, threads</A></strong>
<ul compact><li><em>From:</em> s001gmu#nova,wright.edu</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00331" HREF="msg00331.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></STRONG>
<UL><LI><EM>From:</EM> Brandon Gillespie &lt;brandon#roguetrader,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00333.html">Re: [MUD-Dev]	CORBA, RMI, threads</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00335.html">[MUD-Dev]  FAQ</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00331.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00340.html">CORBA, RMI, threads</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00334"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00334"><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>
<LI><strong><A NAME="00300" HREF="msg00300.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Fri 23 Jan 1998, 18:58 GMT
<UL>
<LI><strong><A NAME="00323" HREF="msg00323.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
Marc Eyrignoux <a href="mailto:Marc.Eyrignoux#efrei,fr">Marc.Eyrignoux#efrei,fr</a>, Mon 26 Jan 1998, 16:40 GMT
<UL>
<LI><strong><A NAME="00324" HREF="msg00324.html">CORBA, RMI, threads</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Mon 26 Jan 1998, 20:37 GMT
</LI>
<LI><strong><A NAME="00331" HREF="msg00331.html">Re: [MUD-Dev]  CORBA, RMI, threads</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Tue 27 Jan 1998, 21:26 GMT
<UL>
<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>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</ul>
</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>