[1297] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

[COLD] Minimal DB

daemon@ATHENA.MIT.EDU (Wed May 28 23:49:33 1997 )

Date: Wed, 28 May 1997 23:57:55 -0400
From: Dave Wallace <dwallace@dmv.com>
To: coldstuff@cold.org
CC: dwallace@dmv.com

I have started working with the minimal database since ColdCore is so
big and under-documented and does _much_ more than I need. Also just for
the experience of building up from almost nothing. Not that the minimal
DB doesn't take a bit of study to fully understand since it does so much
of the basic magic, or perhaps because I'm just dense... Anyhow I
uncovered a couple of things I'd like to point out since they caused me
a bit of trouble tracking them down:

In $root.spawn() second to last line 
==>     (> set_objname(name) <) 
changes the name of the PARENT not the child! 
==>     (> obj.set_objname(name) <)
seems to do the trick

In $connection_interface.match_command() : 
==>    match = ((commands[c])[1]).match_template(line);
appears to be using the input line as the template, reversing them helps
==>    match = line.match_template((commands[c])[1]);

Maybe no one is using the Minimal but if they do hopefully this will
save them some bug-chasing.
					--- Dave