Greetings. :)
Jon A. Lambert
jlsysinc at ix.netcom.com
Tue Apr 8 23:45:13 CEST 1997
> From: Shawn Halpenny <malachai at iname.com>
> On Apr 6, 8:23am, coder at ibm.net wrote:
> > Objects have Unique IDs.
>
> I've been kicking this unique ID/object around as well, and was
> wondering about how you generate them? I haven't been able to find
<snip>
> Any magical algorithms? :)
Well, I use an static double integer (64 bit). I simply increment it every time I created
an object. On boot up, I save the highest object number loaded.
I've seen servers which recalculate all the object numbers at a reboot to recover
the holes. I don't do this as of yet.
BTW Does anyone know how to create a "magic number" from any given size
block of memory?
More information about the mud-dev-archive
mailing list