[DGD] Problem with Rooms objects

Noah Gibbs angelbob at monkeyspeak.com
Mon Mar 4 05:37:08 CET 2002


  Some people have already suggested things.  I'll mention what they did
and then a couple more.

  They said:  make sure your functions have the right names or it'll just
return nil/0.  Yup.  They said: make sure your functions are public (not
static, not private) or the same thing'll happen.  Yup.
  Other things:  add a log message or printf or whatever to the function
that you sent code from to make sure it's happening.  Then add a log or
printf to set_long.  Then get the value after you set it to make sure the
getter function is working right.  Make sure to include a log or printf
there to make sure it gets called.
  Now you know what function the problem is in so you can help us debug
more specifically.
  For optional extra credit:  make your MUDLib publically downloadable and
tell us what file and line causes the problem :-P

-- 
angelbob at monkeyspeak.com
See my page of DGD documentation at
"http://www.angelbob.com/projects/DGD_Page.html"
If you post to the DGD list, you may see yourself there!

On Fri, 2 Mar 2001, Lord Lerkista wrote:

> I have:
> 
> room=clone_object("/room/room.c");
> room->set_short("blablabla");
> room->set_long("blablabla\n");
> room->set_anything("XXX");
> 
> But when i check the room all variables are 0 =/
> Why is that??
> 
> _________________________________________________________________
> List config page:  http://list.imaginary.com/mailman/listinfo/dgd
> 

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list