MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] CORBA, RMI, threads
On Mon, 26 Jan 1998, Marc Eyrignoux wrote:
> I would like to know what ColdC exactly does. Is it a better alternative
> to lua (I mean: can I write some scripts for some objects or monsters,
> these scripts being able to interact with other datas or objects in
> memory or in the database, store them in the database, and execute
> them?)
Umm, I'm not fully sure what you are asking, but I think the answer is:
yes
Perhaps you could clarify?
> > Hash table of instances, an instance is a collection of references to a
> > client-side database coupled with a server-side physical model and behavior
> > model. You won't find better than a well implemented hash table, believe me
> > I tried. Dynamic trees are the next best thing.
>
> In the case of a Hashtable, how can you store 2 identical monsters? I
> think that 2 orks have the same server-side models. Is the difference
> made at the client-side refernces? (I take the case where 2 orks are at
> the same location, have the same number of lifepoints...)
Go to the store and buy the set of books 'Datastructures and Algorithms'
(or something like this) by Donald Knuth--read the section on hash tables.
It addresses collisions in the table and many other things. It just might
be the best purchase you ever make, in computer books.
But to explain--when you have a collision in your hash table there are
many ways you can deal with it. The only useful (imho) ways are chaining
from that point on. Essentially, you drop a binary tree at each point
in the hash table, and just expand from there out--or simply a linear
linked list also works. This is where the 'deep' reference comes into
play--where 'wide' is the width of the hash table and 'deep' is how deep
you want it to handle collisions. Usually after you go so deep you
rebuild the table with a wider setting.
-Brandon Gillespie
- Thread context:
- Re: [MUD-Dev] CORBA, RMI, threads, (continued)
- Re: [MUD-Dev] CORBA, RMI, threads,
Nathan Yospe yospe#hawaii,edu, Fri 23 Jan 1998, 18:58 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
Marc Eyrignoux Marc.Eyrignoux#efrei,fr, Mon 26 Jan 1998, 16:40 GMT
- CORBA, RMI, threads,
s001gmu s001gmu#nova,wright.edu, Mon 26 Jan 1998, 20:37 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
Brandon Gillespie brandon#roguetrader,com, Tue 27 Jan 1998, 21:26 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
Marc Eyrignoux Marc.Eyrignoux#efrei,fr, Wed 28 Jan 1998, 10:09 GMT
- CORBA, RMI, threads,
s001gmu s001gmu#nova,wright.edu, Thu 29 Jan 1998, 14:46 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
coder coder#ibm,net, Sun 15 Feb 1998, 13:38 GMT
- CORBA, RMI, threads,
s001gmu s001gmu#nova,wright.edu, Mon 16 Feb 1998, 01:53 GMT
[ Other Periods
| Other mailing lists
| Search
]