MOO-cows Mailing List Archive

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

Re: Impossibilities...



On Thu, 11 Jan 1996, Chuck Adams wrote:

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

I was actually using that as an example of what would cause a wizpermed 
verb to return E_PERM...

> > ;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
> 
> 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")

I was really confused about this, because I forgot that the 
set_task_perms() would have failed under hacker's perms...

- Kipp

---- I sent the following message to MOO-cows yesterday, but it never 
seemed to get though, some error about MOO-cows-announce was not a user.
If you did get the message, you can ignore this:

This error happened in the middle of running, and whenever I restart, it 
does it when I 'connect'...  This IS 1.8.0alpha5 If anyone wants a copy 
of the 280K DB, just ask.

Jan 11 04:33:43: ACCEPT: #-62 on port 14400 from xxx.xxx.xxx, port 3438
Jan 11 04:33:49: CONNECTED: Rone (#214) on port 14400 from xxx.xxx.xxx, port 3438
Jan 11 04:33:49: *** PANIC: Illegal operand for EOP_LENGTH!
Jan 11 04:33:49: #50:set_edit (this == #214), line 6:  server panic
Jan 11 04:33:49: ... called from #0:user_connected user_created, line 5
Jan 11 04:33:49: (End of traceback)
Jan 11 04:33:49: PANIC-DUMPING on M.db.new.PANIC ...
Jan 11 04:33:49: PANIC-DUMPING: Writing 233 objects...
Jan 11 04:33:50: PANIC-DUMPING: Done writing 233 objects...
Jan 11 04:33:50: PANIC-DUMPING: Writing 294 MOO verb programs...
Jan 11 04:33:51: PANIC-DUMPING: Done writing 294 verb programs...
Jan 11 04:33:51: PANIC-DUMPING: Writing forked and suspended tasks...
Jan 11 04:33:51: PANIC-DUMPING: Writing list of formerly active connections...
Jan 11 04:33:51: PANIC-DUMPING on M.db.new.PANIC finished

#50:set_edit:
if (args[1] && this:_editing() == 0)
  this.editing = {};
elseif (!args[1])
  t = this:_editing();
  this.editing = 0;
  if (this:_ansi())
    t[1] = $esc + "[33m" + t[1];
    t[$] = t[$] + $esc + "[m";
  endif
  this:notify_lines(t || "");
endif 

- Kipp



References:

Home | Subject Index | Thread Index