MOO-cows Mailing List Archive

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

Re: Database editors



>> I still hold that if a db editor did exist, then it should only be able to do
>> two things:
>> 
>> 1.  set an object's wizard bit
>> 2.  program #0:server_started
>> 
<my  code deleted :) >

>There's a problem with this.  #2 now has no wizard bit.  #2 ownes 
>#0:server_started.  #0:server_started does not have wizard permissions now.
<rearranged>
>So the database editor must have the ability to set a wizard flag.

No shit, that's why I pointed out that the db editor should be able to set a
 wizard bit!  I'm of the opinion that those are the only two things you should
 be messing with the db file with other than through the server.

>Oh, and you're forgetting one more line in there, 
>$player_db:insert(#2.name, #2);  (did I get the args in the right order?)

This is not necessary.  co #2 <password> will work just fine.  The wizard
 then can, once logging in, can then @untoad 'emself.  How else do people
 login while the $player_db is being reloaded?  Of course, if you don't know
 the archwizard's object number.... :)

>Did I ever say that I like your signature? :-)

Thanks. 
  ______                              __
    /   /  Andy Bakun     _/_      / /  `  /)  /)       _/_
 --/   /_  , , , __.  __  /  _  __/ /--   //  //  __,_  /  _
(_/   / /_(_(_/_(_/|_/ (_<__</_(_/ (___, //__//__(_) (_<__/_)_
  How much head could a bonehead bone   />  />
    if a bonehead could bone head?     //  //
  http://tecfa.unige.ch:4243/~tef/    </  </  




Home | Subject Index | Thread Index