[DGD]restriction for wizards
Lord Lerkista
lerkista at planetatierra.net
Sun Apr 29 04:14:21 CEST 2001
Hi, i noticed that when a wizard do a clone_object(), or move_object()
in some object made by them, he can access objects in all the mud!!
for example:
clone_object("/obj/something,c");
or
this_player()->move_object("X#/room/some.c");
i want to quit that, i want that when a wizard try to do that with some
object that he don't have access that do nothing!! without giving an
error!!
where can i put the code??
i already have the functions to check the permissions but don't know
where to put them!!
i try in path_object() in driver.c and in clone_object() in simfun.c and
don't work!!
in clone_object() it has to return a valid object or gives an error!! =/
Help!!
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list