MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: Impossibilities...



Kipp the Kidd drew these hieroglyphs:
> 
> ;player
> => #1
> ;player.location=#-1
> => E_PERM
> ;caller_perms().wizard;
> => 1

.location can never be set directly, no matter what perms are used.
use move() instead.

> ;set_verb_info(#40,"look",{#1,"rx","look_self"})
> => E_PERM
> ;player:notify(set_verb_info(#40,"look",{#1,"rx","look_self"}))
> Permission denied
> => 0
> Is this a bug?  This is on my own non-lambda core, and my default eval is 
> !d... using something similar to $code_utils:eval_d();
> 
> The auxillary verb, (like $code_utils:1()) is owned by $hacker...

That's your problem.  It has to be wiz-permed.  I suggest copying
$code_utils:eval_d from LambdaCore.  (And I suggest instead of calling
the auxilliary verb "1", you call it "eval_tmp")


Follow-Ups: References:

Home | Subject Index | Thread Index