[DGD]Installing Binary Manager
Lorrimar
lorrimar at treko.net.au
Sat Apr 22 01:33:46 CEST 2000
I have the kernel library for DGD 1.1.75. I want to expand the library for
my own project so I looked in /doc/kernel/overview and followed the
instructions to "9. Extending the kernel library", except that I'm using
binary connections instead of telnet connections.
I have created a user object in /usr/System/obj/ called user.c and a binary
manager object /usr/System/binary_manager to the specifications of
/doc/kernel/hook/userd.
I then create /usr/System/initd.c but I'm puzzled on how to install the
binary manager. I've tried this:
object binary_manager;
static create()
{
binary_manager = find_object(USR + "/System/binary_manager");
"/kernel/sys/userd"->set_binary_manager(binary_manager);
}
I know that this function gets executed because if I plant an error in the
object I will get a complaint. But, when I login to the mud
"/usr/System/binary_manager"->query_banner() never gets called, leaving the
default banner to show.
I guess it is the line
"/kernel/sys/userd"->set_binary_manager(binary_manager);
that is my problem. How do I properly install the binary manager?
Many thanks in advance,
/Rodney
Happy Easter :)
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list