MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: force_input() and $do_command()
-
Date: Thu, 4 Jul 1996 12:06:50 PDT
-
From: aq299@freenet.carleton.ca (Jefferson Dubrule)
-
Content-Type: text/plain; charset="us-ascii"
At 01:57 PM 7/2/96 PDT, Joe Shaw wrote:
>The in-db parsing for this is handled in $do_command(). I ran a few tests:
>I ran a command by myself, it worked just fine. I connected as a test
>character and evalled the force_input() line for the exact same command.
>It worked just fine. Now, I logged out as that character and tried again:
>No dice.
Here's a solution:
Log the guy in! Before trying to force_input() any of his commands,
call $network:open("127.0.0.1", $network.port, <player to log in>);
Then do force_input() on him, and it will work fine. When you are
finished, boot_player() him.
-manta
Home |
Subject Index |
Thread Index