MOO-cows Mailing List Archive

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

Re: connection redirection



At 12:44 PM 2/23/96 PST, ThwartedEfforts wrote:
>-- I assume the parse() bf Kipp suggests also invokes the verb it finds.

Yes.

>-- redirect would be fine as long as:
>
>   redirect(fromobj, toobj)
>   redirect(#-10, $owner)
>   => 0
>   redirect(#10, $owner)
>   => E_INVARG

No, now I'm only speaking for my own core...  On muds, many people have
several characters...  Wouldn't it be easier to switch characters without
having to leave the MOO?

-- $player:login --
redirect(player,who=$network:find_unused_connection());
#0:new_incoming_connection(who);
----

...:find_unused_connection() would return a negative object number that does
not have a net connection.

>-- I don't see what :new_incoming_connection and :new_outgoing_connection
>would be useful (but only those names were provided; I can only guess at
>their use)

OBJ:new_incoming_connection(user)  -- A connection has been made into the MOO.
OBJ:new_outgoing_connection(user) -- A connection has been made out of the
MOO via open_network_connection()...  this code can normally be left
blank... or maybe it isn't even needed. *shrug*

>-- It will most likely be much easier to implment than it would be to clean
>out the old way... keep in mind that you'll need to remove the 'make sure
>it's the server calling' checks in the verbs on $sys! :)

Or reprogram $sys to have a more flexible login.

- Kipp
-----BEGIN GEEK CODE BLOCK-----
GCS/CC d- s+:- a16 C++ UL++++ P+ L++ E-? W+ !N--@ !o-- K->K++++++
w++(--) O- M-- V--? PS++(+) PE(--) Y+ PGP-? t+ 5(+) X++ R+++(*)
!tv b+ DI++++ D++++ G e* h!()(*) r+ !y+
------END GEEK CODE BLOCK------
-----BEGIN NOT SO GEEKY BLOCK-----
MOO projects:
  RPG Minimal.db:  paradigm.microwave.com 5000
  MOO2000:         moo.microwave.com 2000
  MundoHispano:    europa.syr.edu 8888
------END NOT SO GEEKY BLOCK------




Home | Subject Index | Thread Index